원클릭으로
specrew-drift-check
Detect drift between the spec, plan, tasks, and implementation; record findings to drift-log.md before review concludes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Detect drift between the spec, plan, tasks, and implementation; record findings to drift-log.md before review concludes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run live continuous co-review or replay persisted reviewer evidence for an iteration.
Run live continuous co-review or replay persisted reviewer evidence for an iteration.
Run live continuous co-review or replay persisted reviewer evidence for an iteration.
Perform a Specrew human-verdict boundary stop on the Claude host. Renders the FULL Rule 46 six-section human re-entry packet AND the verdict options as one Markdown message, with the AskUserQuestion picker disabled so the packet cannot collapse into the picker's short header/option fields. Invoke at EVERY human-judgment boundary stop (specify, clarify, plan, tasks, before-implement, implement, review, retro, feature-closeout, lifecycle-end). Triggers: boundary stop, verdict, approve / redirect / send back, why I stopped, human re-entry packet, gate stop.
{what this skill teaches agents}
Run Specrew's per-lens design workshop and collaborative design-analysis. Use whenever you work the design lenses for a feature: at specify/intake (the lens workshop) and at the design-analysis stop (co-design the architecture), and RE-INVOKE at the start of EACH new lens (architecture, data, ui-ux, security, integration, devops, requirements/NFR, observability, component). Triggers: design, design lens, lens workshop, design-analysis, architecture, trade-offs, co-design, explore options, decompose, or moving from one lens to the next. Tells you to facilitate each lens as a discussion, surface diagrams the human can actually SEE (console ASCII inline; mermaid/html to a file with a clickable file:/// link), co-design components/responsibilities/flows WITH the human instead of handing over finished options, capture the agreements, and which per-lens md to load.
| name | specrew-drift-check |
| description | Detect drift between the spec, plan, tasks, and implementation; record findings to drift-log.md before review concludes. |
| domain | lifecycle-review |
| confidence | high |
| source | Specrew governance pillar — review/closeout ceremony helper |
Type: Analysis Skill
Schema: v1
Status: Active execution/review method
Detect specification drift by comparing delivered output against the cited requirement and return a review-ready drift decision with evidence.
| Input | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | Task identifier for the completed work (for example T-012) |
| task_output | string/path | Yes | The deliverable or output from the completed task |
| requirement_ref | string | Yes | Requirement identifier (for example FR-003) |
| requirement_text | string | Yes | Full text of the requirement from the spec |
| spec_path | path | Yes | Path to the authoritative spec file |
| drift_log_path | path | No | Path to iterations/NNN/drift-log.md when the result should be prepared for immediate logging |
| reviewer_notes | string/array | No | Existing reviewer concerns or context that should be tested against the requirement |
requirement_ref in spec_pathrequirement_text was copied inaccuratelytask_output:
gold-plating = unauthorized added behaviorincomplete = required behavior missing or only partially deliveredviolation = delivered behavior contradicts the requirement or accepted scope boundaryspec-updatedimplementation-reverteddeferredhuman-decisiondrift-log.mddrift_log_path points at a zero-drift placeholder log, note that the summary text must be updated when the first event is added| Output | Type | Description |
|---|---|---|
| verdict | enum: PASS, DRIFT | Whether drift was detected |
| evidence_summary | string | Concrete evidence used to justify the verdict |
| drift_events[] | array | List of detected drift events (empty if PASS) |
| drift_events[].type | enum: gold-plating, incomplete, violation | Type of drift |
| drift_events[].drift_id | string | Drift event identifier (for example DR-001) |
| drift_events[].detected_at | ISO datetime | When the drift was identified |
| drift_events[].task_ref | string | Task that triggered the check |
| drift_events[].requirement_ref | string | Requirement identifier for the violated or exceeded requirement |
| drift_events[].severity | enum: minor, moderate, critical | Severity level for review routing |
| drift_events[].description | string | What deviated and how |
| drift_events[].requirement_citation | string | Specific requirement text violated |
| drift_events[].resolution | enum: spec-updated, implementation-reverted, deferred, human-decision | Chosen resolution path |
| drift_events[].resolution_detail | string | What should happen next to resolve the drift |
| drift_events[].log_snippet | string | Markdown-ready snippet aligned to the drift-log contract |
| drift_log_update_note | string | Guidance for updating drift-log.md summary text when needed |
iterations/NNN/drift-log.mddrift-log.md must be replaced with the real event count and resolution statusspec_path is not found: return DRIFT with reason spec file missingrequirement_ref is not found in the spec: return DRIFT with reason requirement not in spectask_output is empty: return DRIFT with reason task output missing evidencerequirement_text disagrees with the spec: continue with the spec text and report stale requirement text suppliedThis skill is only complete when:
drift-log.md without reformatting