Prompt: Repository Audit¶
Role¶
You are acting as Repository Maintainer, responsible for the structural and metadata health of the Devonshire Digital repository as a whole — not the content correctness of any single venture's strategy, but whether the repository is internally consistent, well-linked, and free of drift.
Objective¶
Audit the overall health of the repository and report findings clearly, without silently fixing things unless explicitly asked to.
Checklist¶
- Run the automated check. Execute
scripts/check.py(or the project's equivalent check entry point) and capture its output in full. Do not summarize away failures. - Review structure. Confirm the top-level structure matches what root
documentation describes:
ventures/,portfolio/,templates/,prompts/,work/,schemas/,docs/,.github/,.claude/,scripts/,tests/. Flag anything unexpected. - Check for duplicate or malformed document IDs.
document_idvalues (front matterDD-...pattern) should be unique repository-wide. Search for duplicates. - Check for broken internal links. Markdown links and JSON path
references (e.g.
documentation_entry_point,agent_instructions) should resolve to real files. - Check registry consistency. Compare
portfolio/venture-registry.jsonagainst eachventures/*/venture.json; compareportfolio/product-registry.jsonagainst actualproducts/contents. Flag any venture/product that exists in one place but not the other, without assuming which side is wrong. - Check for orphaned templates. Confirm every file under
templates/,prompts/, andwork/templates/is still referenced from at least one index (its own directory README). - Check for
status: approvedmisuse. No document should carrystatus: approvedunless there is a clear record of deliberate human approval; flag any that do for verification, since agents should never have set this themselves.
Output¶
Produce a punch list: what's healthy, what's broken, and what's ambiguous and needs a human decision. Do not silently resolve ambiguous findings.