JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q73424F
  • License Apache-2.0

Command-line interface for Krynix: policy evaluation, trace verification, replay, and compliance reporting

Package Exports

  • @krynix/cli

Readme

@krynix/cli

Command-line interface for Krynix — policy evaluation, trace verification, behavioral diff, and compliance reporting.

Install

npm install -g @krynix/cli

Commands

# Evaluate a trace against policies (CI gate)
krynix evaluate --trace run.jsonl --policy security.policy.yaml

# Compare two traces for behavioral drift
krynix diff --baseline golden.jsonl --candidate new.jsonl

# Verify trace integrity
krynix replay --trace run.jsonl --verify

# Sign a trace with Ed25519
krynix sign --trace run.jsonl --private-key key.pem

# Generate a signing keypair
krynix keygen --output ./keys

# Validate policy file syntax
krynix validate --policy security.policy.yaml

# Compute trace analytics
krynix stats --trace run.jsonl

# Export to OpenTelemetry format
krynix export --trace run.jsonl --format otlp-json

Exit Codes

Code Meaning
0 Success / all policies pass
1 Policy violation (error) or runtime error
2 Policy violation (critical)
3 Requires approval

License

Apache 2.0