Run the Framework Health Audit¶
Re-run the framework health audit: walk the charter-to-artifact map in
docs/framework-health.md, confirm every referenced file is present, current,
and correctly cross-linked, then refresh the snapshot. Use it on a regular
cadence and after any change that touches the framework's structure.
The charter-to-artifact map is the table in docs/framework-health.md that
ties each commitment the framework makes to the file that fulfills it; this audit
checks that the map still reflects reality. New to the project? See
How Brain Factory works for the five-minute
tour.
When to run¶
Run this audit on a recurring cadence and after meaningful framework changes.
Recommended triggers:
-
Monthly maintenance pass. The
framework-audit.ymlworkflow runs automatically on the first of each month and can be triggered at any time viaworkflow_dispatch— use it to run all automated framework checks before the manual walkthrough. -
After merges that change framework structure, governance, or core routing docs.
- When discoverability or continuity drift is reported.
Diagram¶
Procedure flow for running the framework health audit: walk every row of the charter-to-artifact map, branch on findings, then update the snapshot.
flowchart TD
A[Open framework-health.md] --> B[Walk charter-to-artifact map]
B --> C[Check each row:<br>file present? current?<br>cross-linked?]
C --> D{Findings?}
D -->|None| H[Update snapshot date<br>and next-audit-due]
D -->|Yes| E[File one issue<br>per finding]
E --> F[Open bounded PRs<br>one finding each]
F --> G[Merge to main]
G --> H
H --> I[Audit complete]
Walk the charter-to-artifact map and refresh the snapshot¶
Use docs/framework-health.md as the source checklist.
Capture a read-only structural baseline first with
scripts/framework-metrics.sh
(or the Framework metrics workflow via workflow_dispatch) — framework
version and artifact counts at a glance, written to the run summary.
- Open
framework-health.mdand walk each section in order. - Trigger the
framework-audit.ymlworkflow viaworkflow_dispatchto run all automated framework checks (index parity, security guardrails, handoff packet, mobile quick action). Review any failures before continuing. - Re-verify each charter-to-artifact row against the current repository state.
- Re-run the operational hygiene checks: CI status, stale branches, ADR index,
docs/README.mdindex parity, link paths, and security guardrail checks. - Confirm governance and routing references still point to valid files.
- Confirm cross-link discipline still holds.
- Refresh the
Snapshot (as of YYYY-MM-DD)date and statuses.
Audit completion checklist:
- [ ] Every checklist item in
framework-health.mdhas a current status. - [ ] Snapshot date is updated.
- [ ] Any changed facts are reflected in the snapshot section.
Capturing gaps as issues or PRs (no chat-only gaps)¶
Never leave a gap in a chat-only note. When you find one:
- Open an issue with an objective, context, and acceptance criteria.
- If the fix is immediate and bounded, open a PR linked to that issue.
- Record follow-up ownership if the gap cannot be fixed in the same pass.
Gap-handling checklist:
- [ ] Every identified gap has a durable GitHub artifact.
- [ ] Follow-up owner and next action are explicit.
Continuity principles behind this audit¶
For the continuity principles this audit protects, see
docs/framework-continuity-and-memory.md.
Mobile quick action¶
- Use when: you are doing a quick health-status sweep or confirming audit follow-ups from mobile.
- Do from mobile:
- Open
framework-health.mdand spot-check key rows for drift. - File one issue per confirmed gap.
- Leave an audit-status comment naming the next action and owner.
- Do not do from mobile:
- Perform full-table remediation edits in one pass.
- Treat a chat note as a substitute for an issue or PR artifact.
- Escalate to desktop/cloud when:
- Multiple findings require coordinated doc or workflow updates.
- Validation needs broad link checks or repository-wide checks.
- Primary artifact to update:
- The health-audit issue or pull request capturing the findings and their closure.
Related docs¶
- Operating model — how the framework runs day-to-day.
- Governance checklist — periodic audit items.
- Framework health — current snapshot and charter-to-artifact map.
- Framework reporting and review cadence — practical recurring rhythm for weekly/monthly/quarterly/event-driven reviews.
- Branching and cleanup — branch lifecycle and stale-branch handling.
- Other runbooks: Close Out a Multi-Agent Handoff, Handle a Dependabot PR, Promote an External AI Artifact, Respond to Support Intake, Start a Framework Change, Triage the stale-branch report.