Context Readiness Gate
Role
Prevent downstream implementation from starting without a minimal context.md.
When to use
executionPlane == product_project- Before
implementation-runner
Inputs
analysisContext.signals.executionPlaneanalysisContext.signals.contextReadyanalysisContext.artifacts.contextDocPath
Minimum Context Sections
GoalConstraintsAcceptance CriteriaOut of ScopeTarget FilesVerification Plan
Gate logic
- If
executionPlane != product_project, pass with note. - If
contextReady == true, pass. - Otherwise:
- keep the workflow in planning
- recommend or auto-insert
context-builder - record which minimum sections are missing
Output (patch)
notes:
- "context-readiness-gate: blocked -> run context-builder"
missingInfo:
- category: task-context
priority: HIGH
question: "Generate `{tasksRoot}/{feature-name}/context.md` with the minimum context schema."
decisions:
recommendedAgents:
- context-builder
Rules
- This gate is policy-only.
- Read
docs/public/guidelines/context-readiness-schema.mdfor the exact section contract.