This file is the first entry point for an AI agent working in this repo: it tells you what to read, what to run, and which files are canonical.
ROUTER.md= startup order and canonical entry pointsGUIDING-PRINCIPLES.md= the north star; what the repo's goals and design tradeoffs answer toAGENTS.md= behavioral rules, decision quality, reversibility, blast radius, proofREADME.md= human-facing repo/product overviewROADMAP.md= pointer ledger for this repo's own maintenance workCHANGELOG.md= the end-of-iteration running log (first-class PDDA artifact; governed byPROJECT/PDDA.md)RELEASES.md= forward-looking release-planning ledger (first-class PDDA artifact; governed byPROJECT/PDDA.md)PROJECT/PDDA.md= the canonical PDDA contract and automation rulesutils/pdda/PDDA-INSTALL.md= the extraction/install manifest PDDA was installed fromutils/pdda/pdda.sh= the unified runnable surface (dispatcher + every deterministic check +run)utils/pdda/pdda-doc-ready.sh= the opt-in LLM readiness review;utils/pdda/pdda-lib.sh= shared helpers
- Read
ROUTER.mdto understand the repo's operating order and canonical files. -> expect one clear next file, not a repo-wide scavenger hunt. - Read
GUIDING-PRINCIPLES.mdfor the repo's north star. -> expect the goals and tradeoff lens that every design choice answers to. - Read
AGENTS.mdbefore making recommendations or edits. -> expect explicit assumptions, a reversibility read on consequential changes, and verified claims only. - Read
README.mdfor the repo's purpose and baseline usage. -> expect a short explanation of what is canonical here. - If the task is about the PDDA contract or enforcement model, read
PROJECT/PDDA.md. -> expect the source of truth for lifecycle, roadmap, changelog, and enforcement rules. - Read
ROADMAP.mdonly for repo-local maintenance state. -> expect a pointer ledger, not a copied plan body from another repo. - Before reporting success on repo changes, run
utils/pdda/pdda.sh runor the relevant single check (utils/pdda/pdda.sh <check>). -> expect deterministic findings first, then any LLM review. - If you are exploring an unknown system, proposing a new spike, or are blocked, search
PROJECT/3-COMPLETED/andCHANGELOG.mdfor past context first. -> expect to recover memory of past struggles, gotchas, or decisions.
- Do not put phase checklists, build steps, or deep execution notes in
ROADMAP.md. - Do not edit
utils/pdda/**in this repo. PDDA's runtime is installed here, not authored here; a local edit is overwritten the next time the runtime is synced from the canonical PDDA repo. Fix it upstream instead. PROJECT/PDDA-ACTIVITY.jsonlis runtime output, not source. It starts fresh in this repo and is gitignored.- Every active doc in
PROJECT/2-WORKING/must be reflected by a pointer inROADMAP.md— a one-line ledger entry that links it. A working doc that should not appear opts out withroadmap_exempt: truein its frontmatter. Enforced byutils/pdda/pdda.sh roadmap-coverage; governance lives inPROJECT/PDDA.md-> "ROADMAP.md contract". - Every captured GitHub issue doc in
PROJECT/1-INBOX/GH-*.mdmust also be parked inROADMAP.mdas a one-line queue entry immediately at intake, then promoted or removed later. Enforced byutils/pdda/pdda.sh roadmap-coverage; governance lives inPROJECT/PDDA.md-> "GitHub issue intake" + "ROADMAP.md contract". - The long-term canonical deterministic surface is
utils/pdda/pdda.sh; do not add wrapper commands unless a real external integration forces them. - Do not override deterministic PDDA findings with prose.
- Do not report a win you did not verify with the relevant script or test.
- Update
CHANGELOG.mdat the end of each iteration; its governance lives inPROJECT/PDDA.md— do not re-specify CHANGELOG rules inAGENTS.mdor elsewhere.
For baseline verification and document hygiene:
utils/pdda/pdda.sh runFor targeted PDDA debugging, run a single check by name:
utils/pdda/pdda.sh frontmatter
utils/pdda/pdda.sh status-table
utils/pdda/pdda.sh hardcoded-paths
utils/pdda/pdda.sh roadmap
utils/pdda/pdda.sh roadmap-coverage
utils/pdda/pdda.sh changelog
utils/pdda/pdda.sh stale
utils/pdda/pdda.sh quad-concepts # opt-in: a "## Quad Concepts" section of 1-4 bullets (lever: .pdda-quad / PDDA_QUAD)
utils/pdda/pdda.sh glance # read-only roll-up: title + Quad Concepts for each PROJECT/2-WORKING doc
utils/pdda/pdda.sh issue-doc-sync # flag GH-*.md docs drifted from their GitHub issue state (warn-only; gh-degrades to cache)
utils/pdda/pdda.sh releases # validate RELEASES.md blocks (never blocks, even in full mode)
utils/pdda/pdda.sh releases-current # read-only roll-up: RELEASES.md entries not marked Shipped
utils/pdda/pdda.sh governance # governance-doc cross-reference + doc/code drift (this file, AGENTS.md, CLAUDE.md, ...)
utils/pdda/pdda.sh gh-refresh # refresh the cached GitHub issue-state file issue-doc-sync reads offline (needs gh)
utils/pdda/pdda.sh doc-ready # LLM readiness review — set PDDA_LLM_BIN (codex/claude/agy) for recommendations, else it self-skips
utils/pdda/pdda.sh catchup # LLM repo triage and ROUTER.md recommendations — opt-in like doc-ready
utils/pdda/pdda.sh help # list every command- If the task is about document quality, active-doc lifecycle, roadmap sprawl, or automation policy, start in
PROJECT/PDDA.md. - If the task is about repo-local maintenance state, start in
ROADMAP.md. - If the task is about the changelog, provenance, or end-of-iteration logging, the governance is in
PROJECT/PDDA.md(the "CHANGELOG.md — end-of-iteration record" contract). - To re-run this startup sequence mid-session (task switch, resume, post-compact, context drift), invoke the
/pddaskill (.claude/skills/pdda/SKILL.md) instead of re-reading by hand.