JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 512
  • Score
    100M100P100Q88761F
  • License MIT

Safe Commit for Autonomous Systems

Package Exports

  • @lyhna/bind
  • @lyhna/bind/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lyhna/bind) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@lyhna/bind

Safe Commit for Autonomous Systems

Agents can reason freely. They cannot bind reality without authorization.

Install

npm install @lyhna/bind

Usage

import { bind, verifyReceipt } from '@lyhna/bind';

const receipt = await bind({ action_type: 'deploy', payload_hash: 'abc123...', authority_tier: 'TIER_3', intent: 'deploy_v1', });

if (receipt.outcome === 'APPROVED') { // Safe to execute — receipt is your proof }

if (receipt.outcome === 'ESCALATED') { // Halt — insufficient authority console.log(receipt.outcome_reason); console.log(receipt.escalate_to); }

// Verify offline — no network, no credentials const valid = await verifyReceipt(receipt);

CLI

lyhna verify receipt.json

What It Does

bind() sits at the irreversible commit boundary. Before an agent deploys, approves a payout, or commits state — it calls bind().

No license, no execution. Fail-closed.

Every call produces an Ed25519-signed receipt proving what was authorized, under what authority, at what time.