Introduce the reconcile-docs skill to audit, reconcile, and author canonical repository documentation (README, ARCHITECTURE, ROADMAP, docs/adr/) across three temporal epistemic sources: - Past (Brain/history records): historical evidence and decision rationale. - Present (repository code and working tree): canonical technical truth. - Future (active plans): planned direction and proposals. Features: - Step 1-7 workflow with a mandatory Step 5 Human Checkpoint. - Epistemic authority rules and conflict typology (reconciliation-matrix.md). - Target documentation responsibilities and skeletons (doc-contracts.md). - Structured Reconciliation Report template (checkpoint-format.md). - Registered in install.sh active portable skills and README index.
2.4 KiB
2.4 KiB
Human Checkpoint Report Format
During Step 5 of reconcile-docs, the agent pauses before modifying or creating any files. Present this structured Reconciliation Report for explicit user review and approval.
Report Structure
# Documentation Reconciliation Report
## 1. Present State Summary
- Core components identified in codebase: [list verified components]
- Key boundaries and dependencies: [list verified boundaries]
- Existing docs audit: [e.g. README is obsolete, ARCHITECTURE missing]
## 2. Historical Discoveries
- Recovered decisions: [list decisions with date and context]
- Pivots and migrations: [list architectural changes confirmed by history]
- Identified constraints / incidents: [list discovered items]
## 3. Future Intent
- Active roadmap candidates: [list validated near/medium term items]
- Filtered out proposals: [list abandoned or superseded notes excluded from roadmap]
## 4. Conflict Log
| Conflict | Source Claim | Code Evidence | Proposed Resolution |
| :--- | :--- | :--- | :--- |
| Historical Contradiction | [e.g. Brain notes claim PostgreSQL] | [Code uses SQLite WAL] | [Supersede note, draft migration ADR] |
| Premature Promotion | [e.g. Plan states gRPC API ready] | [Only REST API exists] | [Move to ROADMAP near-term] |
| Zombie Documentation | [e.g. README mentions Worker daemon] | [Worker removed in commit abc1234] | [Remove from README/ARCHITECTURE] |
## 5. Proposed File Actions
| Target File | Action | Summary of Changes |
| :--- | :--- | :--- |
| `README.md` | Update | Align quick start, prune dead features, link architecture |
| `ARCHITECTURE.md` | Create | Document verified present component topology and boundaries |
| `docs/adr/0001-*.md` | Create | Record rationale for core architectural choices |
| `ROADMAP.md` | Update | Align future milestones with active plans |
## 6. Open Decisions for You
1. [Specific conflict or ADR candidate requiring user confirmation]
2. [Ambiguous rationale requiring engineer input]
Checkpoint Rules
- Hard Pause: Never start Step 6 (drafting/modifying files) until the user explicitly confirms the proposed actions.
- Surface Gaps Honestly: If an architectural component has no discovered rationale, highlight it in "Open Decisions for You" rather than inventing a backstory.
- Editable Options: Offer concrete options if there is ambiguity regarding whether an abandoned proposal should be documented in an ADR or omitted entirely.