reconcile-dev-docs
Reconcile development docs by auditing roadmap, todo, history, phase archives, specs, git history, and code reality
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- reconcile-dev-docs
- type
- analysis
- version
- v0.2
- description
- Reconcile development docs by auditing roadmap, todo, history, phase archives, specs, git history, and code reality
- argument-hint
- [audit|fix] [tasks|specs|all]
- required_conventions
- [ "alignment-page" ]
02 资源文件 7
- 参考文档agents/distillate-compressor.md4.8 KB
- 参考文档agents/round-trip-reconstructor.md2.7 KB
- 参考文档resources/compression-rules.md2.6 KB
- 参考文档resources/distillate-format-reference.md11.7 KB
- 参考文档resources/splitting-strategy.md3.3 KB
- 脚本scripts/analyze_sources.py9.7 KB
- 脚本scripts/tests/test_analyze_sources.py7.5 KB
03 SKILL.md 正文
Reconcile Dev Docs
Invoke as $reconcile-dev-docs.
Audit or repair development documentation so the roadmap, current work, history, specs, and evidence from git/code all tell the same story.
Process
1. Determine Mode and Scope
Parse $ARGUMENTS:
- Mode:
audit(default, read-only) orfix(update development docs only) - Scope:
all(default),tasks, orspecs
Resolve the canonical development docs:
tasks/roadmap.mdtasks/todo.mdtasks/manual-todo.md(if it exists)tasks/record-todo.md(if it exists)tasks/recurring-todo.md(if it exists)tasks/history.mdtasks/phases/*.mdtasks/ideas.md(if it exists)specs/*.mdandspecs/*/*.mddocs/specifications/*.md(fallback specs location)
If no task docs exist, report that there is nothing to reconcile and recommend $roadmap or $plan-phase based on available specs.
2. Gather Evidence
Read the development docs and collect:
- Roadmap phases, milestone checkboxes, acceptance criteria, manual tasks, record tasks, recurring tasks, and deferred items
- Current todo phase, checked/unchecked steps, blockers, and review/results sections
- Manual task blockers and
_(blocks: ...)_/_(after: ...)_annotations - Record task conditions, non-blocking reasons, evidence paths, and promotion rules
- Recurring task cadence, last run, next due, evidence paths, and escalation conditions
- History entries with dates, completed phases/steps, commit SHAs, and claimed outcomes
- Phase archives and their completion summaries
- Spec titles, statuses, acceptance criteria, and major implementation claims
Read git/code evidence:
git status --shortgit log --oneline -50git log --name-only --since=<latest relevant doc date>when timestamps suggest docs may be stale- Targeted file existence and
rgchecks for claims marked complete
3. Reconcile Rules
Classify findings:
| Severity | Examples |
|---|---|
| Error | Docs contradict each other: roadmap marks a phase done while todo has unchecked required steps; history claims completion but no matching roadmap/todo/archive/git evidence exists |
| Warning | Likely drift: recent commits changed areas covered by specs but history/todo were not updated; completed phase has no archive; manual blockers remain for completed steps |
| Info | Cleanup opportunities: stale handoff notes, missing links between history entries and commits, specs that should be checked by $spec-drift |
Use these specific checks:
tasks/todo.mdchecked steps should be reflected intasks/history.mdafter shipping.- Completed roadmap phases should have corresponding
tasks/phases/phase-N.mdarchives. - The active
tasks/todo.mdphase should match the first incomplete roadmap phase. tasks/manual-todo.mdshould not contain unchecked blockers for completed todo steps unless the user explicitly overrode them.tasks/todo.mdshould not contain condition-gated baseline measurements or future records unless they are current execution work; move clear cases totasks/record-todo.md.tasks/manual-todo.mdshould not contain non-blocking records unless they require human-only external action tied to ablocksorafterstep; move clear cases totasks/record-todo.md.tasks/manual-todo.mdshould not contain agent-executable work such as repo edits, SDK wiring, generated assets, local commands, tests, audits, or authenticated CLI/API operations; move clear cases totasks/todo.md.tasks/recurring-todo.mddue items should remain advisory unless explicitly promoted intotasks/todo.md.- Recent commits that complete user-facing work should have a matching history entry.
- Specs whose described areas changed after their last modification date should be flagged for
$spec-drift. - Claimed completed work should have either git evidence, file evidence, test evidence, or an explicit note explaining why evidence is unavailable.
4. Fix Mode
In fix mode, apply only unambiguous development-doc changes:
- Append missing factual entries to
tasks/history.md. - Check roadmap milestones only when todo/archive/git evidence all support completion.
- Create missing
tasks/phases/phase-N.mdarchives from completedtasks/todo.mdcontent. - Move the next roadmap phase into
tasks/todo.mdonly when the current phase is clearly complete. - Move clearly misclassified non-blocking condition-gated records from
tasks/todo.mdortasks/manual-todo.mdintotasks/record-todo.md. - Move clearly misclassified cadence-based obligations from
tasks/todo.mdortasks/manual-todo.mdintotasks/recurring-todo.md. - Move clearly misclassified agent-executable work from
tasks/manual-todo.mdintotasks/todo.mdwith enough file/command detail for$exec. - Add unresolved contradictions to
tasks/todo.mdunder## Development Docs Reconciliation. - Archive existing
specs/ordocs/specifications/files before replacing or substantively rewriting them. - Write
tasks/reconciliation-report.mdwith resolved, deferred, and remaining findings.
Ask before applying any ambiguous change. If already in Plan mode and there are 2-3 concrete choices, prefer request_user_input; otherwise ask plainly in chat.
Output
Audit Mode
## Dev Docs Reconciliation
### Errors (N)
- **tasks/todo.md** - [problem]. Evidence: [roadmap/history/git reference].
### Warnings (N)
- **specs/foo.md** - [problem]. Recommended action: $spec-drift.
### Info (N)
- **tasks/history.md** - [cleanup opportunity].
### Summary
- Roadmap/todo alignment: [ok|issues]
- History coverage: [ok|issues]
- Phase archives: [ok|issues]
- Spec freshness: [ok|issues]
- Recommended next action: [specific skill or fix plan]
Fix Mode
Report the same sections plus:
### Fixed
- [x] [file] - [change made]
### Deferred
- [ ] [finding requiring user judgment]
Constraints
- Read-only by default.
- In
fixmode, modify only development docs undertasks/,specs/, ordocs/specifications/; archive existing spec documents before replacement per the Archive-First Replacement Policy. - Do not modify code, research docs, kanban cards, git history, or deployment state.
- Do not rewrite or delete old
tasks/history.mdentries; append corrections or superseding notes. - Do not uncheck completed work automatically. Report unsupported completion claims unless the user approves the correction.
- Treat
tasks/roadmap.mdas the strategic source of truth,tasks/todo.mdas the active execution contract,tasks/manual-todo.mdas human-only external step-linked work,tasks/record-todo.mdandtasks/recurring-todo.mdas advisory surfaces, andtasks/history.mdas append-only evidence.
Alignment Page
By default, this skill reports results inline and writes only its normal durable artifacts (for example tasks/*.md, reports, queues, benchmark notes, status docs, or other skill-specific files). Do not build an alignment page automatically. Create alignment/reconcile-dev-docs-{topic}.html only when the user explicitly requests an alignment page or when you explicitly identify a concrete clarification/review need that cannot be handled cleanly inline; when you create one, follow ALIGNMENT-PAGE.md in this skill's directory.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
04 同仓库更多 Skills
source-checkout-allowed
Valid source-checkout-only fixture.
deck-install-valid
Valid deck install fixture.
codex-pack-guard-valid
Valid Codex Pack Availability Guard fixture.
codex-missing-skill-valid
Valid Codex missing skill fallback fixture.
codex-base-skill-fallback-valid
Valid Codex base skill fallback fixture.
claude-pack-guard-valid
Valid Claude Pack Availability Guard fixture.