Team onboarding
Each developer has local know-code state (.know-code/ is gitignored).
New developer checklist
- Clone repo
npm i -g @chtnnh/know-code(or use monoreponpm run know-code --)know-code init --agents cursor(or your IDE)know-code attest-init— per machine (passphrase seals)know-code skillsorknow-code skills --global- Align CI:
know-code init --workflowsetsrequireTrailer: true
Attest keys
- Private key:
~/.know-code/attest/<repoId>/(encrypted) - Never commit attest material
- Rotating:
know-code attest-init --forceinvalidates old seals
Branch protection
Use scripts/setup-branch-protection.mjs (see CI) to require the know-code workflow on PRs.
CI vs local
If CI fails but local push works, check requireTrailer — the GitHub Action defaults it to true when config is missing.
know-code config set requireTrailer true
know-code doctor