reconcile
v1.0.0Reconcile implementation drift by surgically updating the feature's own spec, plan, and tasks.
Spec-Kit Reconcile
A Spec-Kit extension to reconcile documentation with implementation drift.
Overview
The speckit.reconcile.run command is a Post-Implementation Gap Closer. It analyzes a natural-language gap report, resolves paths, surgically updates the feature's spec.md and plan.md, and appends actionable remediation tasks to tasks.md.
This extension acts as the "Inner Loop" of the Double-Loop Parity framework: it ensures that during the PR phase, the feature artifacts are continuously aligned with the shipped code.
Features
- Gap Report Input: Accepts free-form natural language observations about what was missed or changed during implementation.
- Remediation Engine: Appends new tasks (
T###) totasks.mdwith auto-incremented IDs and exact file paths. - Enforced Verification: Automatically mandates integration test tasks for any discovered wiring or navigation gaps.
- Compliance Checks: Includes lightweight validations against the project's
constitution.mdto prevent violating core "MUSTs". - Actionable Reporting: Provides a conditional "Next Step" in the Sync Impact Report.
Installation
You can install this extension via the Spec-Kit CLI:
specify extension add reconcile --from https://github.com/stn1slv/spec-kit-reconcile/archive/refs/tags/v1.0.0.zip
(Note: Replace v1.0.0 with the latest release version)
Usage
Provide a plain-text gap report to the command describing the implementation drift:
/speckit.reconcile.run "Backend exists, but React screen is unreachable; need sidebar link and route"
You can optionally restrict the scope of the updates:
--spec-only— update onlyspec.md--plan-only— update onlyplan.md--tasks-only— update onlytasks.md
Workflow
- Parse the Gap Report to determine what drift occurred.
- Run the core Spec-Kit
check-prerequisites.shscript to identify target feature artifacts. - Normalize Gaps into categories (Wiring & Navigation, Contracts, Test Coverage, etc.).
- Surgically Edit the feature's specific
spec.md,plan.md, andtasks.md. - Output a Sync Impact Report detailing the created tasks and next steps (e.g., routing to
/speckit.implement).
Stats
Version
Install
Using the Specify CLI
specify extension add --from https://github.com/stn1slv/spec-kit-reconcile/archive/refs/tags/v1.0.0.zip