The golden rule: edit in content/
The content/ directory is the single source of truth. Adapter files (.claude/, .cursor/, etc.) are generated outputs - never edit them directly.
content/
rules/ 3 rule files (module-manifest, code-standards, conventions)
references/ 41 reference docs (agent-team, base-branch-sync, skeptic-protocol,
qa-gate, capability-preflight, events-log, planning-artifacts, ...)
commands/ 27 command files (ds-implement-ticket, ds-init-project, ds-wrap, ds-brief, ...)
agents/ 18 agent definitions (architect, engineer, skeptic, qa-engineer, ...)
fragments/ shared wording kernels transcluded into multiple agents/*.md files
Build scripts regenerate adapter files from content/. The pre-commit hook stamps shared agent-check fragments (scripts/stamp-agent-fragments.sh), then runs all 11 adapter builds automatically when content/ files are staged. Slide .md sources have a separate slides-sync CI gate: after editing, run bash scripts/build-slides.sh and commit the regenerated .html.
Never edit generated files directly - the pre-commit hook or CI will overwrite them. Always edit the source in content/ (adapter files), docs/slides/ (slide sources), or content/fragments/ (never the interior of a <!-- shared:id --> span in an agent file).