| summary | Contributing. | |
|---|---|---|
| read_when |
|
|
| type | reference |
This repository is the L0 source template for AI Society (L0 -> L1 -> L2).
- Create a feature branch.
- Keep changes scoped and contract-safe.
- Run full checks:
Optional fail-fast timeout per sub-check (default
bash ./scripts/check-l0.sh
300seconds):L0_CHECK_TIMEOUT_SECONDS=120 bash ./scripts/check-l0.sh
- Prefer deterministic wrappers over ad-hoc scripting:
Use
./scripts/rocs.sh --doctor ./scripts/rocs.sh --which ./scripts/ak.sh --doctor ./scripts/ak.sh --which
./scripts/ak.shwhen template work touches repo-local AK tasks or the task-scope snapshot contract. - Capture session notes in
./diary/(repo-local KES rule), then crystallize durable patterns intodocs/learnings/andtips/meta/. - Update docs when behavior changes.
- Open a PR with validation output.
- Do not introduce nested Copier runs inside template
_tasks. - Preserve recursion bounds (
L0 -> L1 -> L2, no reverse/cycle). - Keep
.copier-answers.ymlcommitted in generated repos. - Keep baseline folder skeleton aligned where intended (
docs/,examples/,external/,ontology/,policy/,src/,tests/) and document any intentional divergence. - Keep fixtures in sync when template outputs change:
bash ./scripts/sync-l0-fixtures.sh bash ./scripts/check-l0-fixtures.sh
- If you touch operator-facing helper scripts (
new-l1-from-copier.sh,preview-l1-diff.sh,migrate-l1-structure.sh,preflight-repo-census.sh, lane bootstrap flows), run the adversarial suite directly too:bash ./scripts/check-l0-adversarial.sh
This L0 now exposes optional profile toggles:
enable_community_pack(issue templates / PR template / CoC / support docs)enable_release_pack(release-please / release-check / publish + release docs/scripts)enable_vouch_gate(vouch trust-gate workflows +.github/VOUCHED.td)
Defaults stay false; enable per repository governance/risk profile.
Policy references:
docs/profile-governance-policy.mddocs/vouch-td-primer.mddocs/feature-matrix-l0-l1-l2-vs-pi-template.md