@pshkv/sintctl
v0.1.0
Published
SINT operator CLI for token, approval, ledger, and intercept workflows
Downloads
24
Readme
@sint/sintctl
Operator CLI for SINT gateway workflows:
- capability token issue/revoke
- approval queue list/resolve
- ledger querying
- intercept policy test requests
- standalone conformance certification runs
Usage
pnpm --filter @sint/sintctl build
node apps/sintctl/dist/cli.js --helpQuickstart
# 1) Generate a root keypair
sintctl keypair create
# 2) Issue a token
sintctl token issue \
--issuer <issuer-public-key> \
--subject <agent-public-key> \
--resource ros2:///cmd_vel \
--actions publish \
--private-key <issuer-private-key> \
--constraints-json '{"maxVelocityMps":0.5}'
# 3) List pending approvals
sintctl approvals list
# 4) Resolve an approval
sintctl approvals resolve --request-id <id> --status approved --by operator@warehouse
# 5) Query ledger
sintctl ledger query --agent-id <agent-public-key> --limit 20
# 6) Run standalone certification fixture suite
sintctl certify run --output docs/reports/standalone-conformance-certification.jsonGlobal Options
--gateway: defaults tohttp://localhost:3100--api-key: optional x-api-key header
Standalone Certification Tool
sintctl certify run executes the canonical conformance fixture suite:
pnpm --filter @sint/sintctl build
node apps/sintctl/dist/cli.js certify runBy default it writes a machine-readable summary artifact to:
docs/reports/standalone-conformance-certification.json
Override output path with --output <path>.
