2.4 KiB
description
| description |
|---|
| Perform a read-only consistency analysis across spec.md, plan.md, tasks.md, and ADR sources for the active Rust MCP feature. |
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Goal
Identify inconsistencies, ambiguities, coverage gaps, and decision-memory drift across the feature artifacts before implementation proceeds.
Operating Constraints
STRICTLY READ-ONLY: Do not modify files.
Constitution Authority: .specify/memory/constitution.md is the local constitutional baseline for this workflow. Conflicts with its must-level principles are CRITICAL.
Execution Steps
-
Run
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasksand derive absolute paths forspec.md,plan.md,tasks.md, and relevant ADR sources underdocs/adr/.- Analyze the active feature directory under
specs/<feature>/only.
- Analyze the active feature directory under
-
Load minimal necessary context from:
spec.mdplan.mdtasks.mdcontracts/modules.mdwhen presentREADME.mddocs/SEMANTIC_PROTOCOL_COMPLIANCE.md.specify/memory/constitution.md- relevant
docs/adr/*.md
-
Build internal inventories for:
- requirements
- user stories and acceptance criteria
- task coverage
- constitution principles
- ADR / decision-memory guardrails
-
Detect high-signal issues only:
- duplication
- ambiguity
- underspecification
- constitution conflicts
- coverage gaps
- terminology drift
- repository-structure mismatches
- decision-memory drift and rejected-path scheduling
-
Produce a compact Markdown report with:
- findings table
- coverage summary table
- decision-memory summary table
- constitution alignment issues
- unmapped tasks
- metrics
-
Provide next actions:
- CRITICAL/HIGH issues should be resolved before
speckit.implement - lower-severity issues may be deferred with explicit rationale
- CRITICAL/HIGH issues should be resolved before
Analysis Rules
- Treat stale Python/Svelte assumptions in plan/tasks as real defects for this repository.
- Treat missing ADR propagation as a real defect, not a documentation nit.
- Prefer repository-real expectations (
src/**/*.rs,tests/*.rs, task-shaped MCP tools/resources, belief runtime, static semantic verification). - Do not treat
.kilo/plans/*as feature artifacts for consistency analysis.