AuthorityLayer is a runtime-safety library. Keep changes explicit, testable, and easy to review.
- Install dependencies with
npm install. - Run
npm test. - Build the package with
npm run -w authority-layer build. - Run
npm run -w authority-layer typecheck. - Use
npm run exampleto verify the contributor-facing demo still works.
packages/core/src/: published library sourcedocs/: API and enforcement referenceexamples/: runnable examplestests/: workspace smoke testssrc/: top-level source map for contributors
- Keep halt behavior deterministic.
- Document new permissions, approval boundaries, or operator requirements.
- Add or update examples when the public API changes.
- Update docs when enforcement semantics change.