Contributing Guide
Workflow
- Open a CMOS mission or pick one marked
Current/In Progressvia./cmos/cli.py mission status. - Read both
agents.mdfiles (root +cmos/agents.md). - Run pre-flight checks:
./cmos/cli.py validate health./cmos/cli.py db show current
- Create a branch, implement changes, and keep zero-dependency guarantees intact.
- Run
pnpm test+ targeted benchmarks when protocol code changes. - Update docs (this site) when new APIs or workflows ship.
Coding Standards
- Pure functions, immutable updates, no shared global state.
- Extensive inline JSDoc for public helpers.
- OWASP Top 10 compliance: no eval, escape untrusted input, prefer whitelist validation.
- Mission telemetry: log start/complete via CMOS scripts—never edit YAML mirrors manually.
Pull Requests
Include:
- Mission ID in the title.
- Summary of changes + verification steps (tests, benchmarks, docs build).
- Any telemetry or parity validation outputs in the PR body.
Communication
- Primary: CMOS missions + MASTER_CONTEXT updates.
- Secondary: GitHub Discussions for roadmap items.
- Emergency:
cmos/telemetry/events/*.jsonlfor debugging state drift.