Skip to content

feat: define the CLI JSON integration contract - #31

Merged
abruption merged 1 commit into
mainfrom
feat/15-api-boundary
Sep 22, 2026
Merged

abruption merged 1 commit into
mainfrom
feat/15-api-boundary

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

  • declare the npm package as CLI-only and block unsupported root/internal JavaScript imports through package exports
  • publish the schemaVersion 1 JSON Schema and compatibility documentation
  • add structured, backward-compatible JSON usage/runtime errors with stable exit codes
  • validate list, inspect, unlock, and error output against the schema
  • tighten packed-artifact contents and clean-install smoke coverage

Safety

This change does not alter lock inspection, classification, safety policy, process signaling, or post-unlock verification. live_owner remains liveness evidence and never substitutes for safeToUnlock.

Verification

  • npm ci
  • npm run check
  • npm run lint
  • npm test
  • npm run smoke:package
  • npm audit --audit-level=high
  • npm audit --omit=dev --audit-level=high

Closes #15
Closes #25
Progresses #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: publish a stable JSON error and exit-code compatibility contract feat: define the supported package and JSON API boundary

1 participant