Thanks for contributing to Agent Sandbox Policy (ASP).
- Install dependencies
pnpm install- Run repository quality gates
pnpm check:allpnpm lint- lint all workspacespnpm typecheck- typecheck all workspacespnpm test- run all test suitespnpm build- build all packagespnpm compat:node- verify Node runtime compatibilitypnpm compat:bun- verify Bun runtime compatibility
- Keep
@asp/coredeterministic and side-effect-light. - Do not duplicate policy logic in CLI or UI layers.
- Add tests with every behavior change.
- Keep commits logically scoped and descriptive.
- Lint, typecheck, tests, and build pass locally
- Added/updated tests for behavior changes
- Added ADR for architecture-impacting decisions
- Updated spec/plan/docs when changing public behavior
When reporting bugs, include:
- policy input (or minimal excerpt)
- event/trace/test payloads
- expected vs actual result
- environment info (
node -v,pnpm -v,bun -vif applicable)