cross-artifact-analysis
// Perform cross-artifact consistency and coverage analysis across constitution, specification, plan, and task artifacts to detect gaps, conflicts, and misalignments before implementation.
Cross-Artifact Analysis
Overview
Analyze all pipeline artifacts (constitution, specification, plan, tasks) for consistency, coverage, and alignment. This is the pre-implementation quality gate that ensures all artifacts are coherent before code is written.
When to Use
- After task decomposition, before implementation
- When verifying that all specification requirements have corresponding tasks
- When checking for contradictions between constitution and plan
- When assessing readiness for the implementation phase
Key Principle
Every specification requirement must be traceable through the plan to at least one task. No artifact should contradict another. Coverage gaps and conflicts must be resolved before implementation.
Process
- Build traceability matrix - Map requirements -> plan components -> tasks
- Detect coverage gaps - Requirements without corresponding tasks
- Identify conflicts - Contradictory constraints or requirements across artifacts
- Verify constitution compliance - Plan and tasks comply with governance
- Check acceptance criteria - Task criteria match specification requirements
- Score consistency - Numeric score (0-100) across dimensions
- Determine readiness - Boolean assessment for implementation phase
- Human review - Approve analysis results before proceeding
Tool Use
Invoke via babysitter process: methodologies/spec-kit/spec-kit-planning (analysis phase)
Full pipeline: methodologies/spec-kit/spec-kit-orchestrator