Description
The orchestration pipeline treats all external plans uniformly: when externalPlan: true, both architecture and planning phases are forced to run regardless of the plan's origin, freshness, or quality. This produces 3-4 minutes of redundant validation when a plan was just created by a trusted skill like design-and-plan or refine-plan.
Evidence from ticket #247 (run 20260310-071948Z):
- Architecture phase: 80 seconds, produced "low impact" with no corrections
- Planning phase: 123 seconds, adopted the plan with zero meaningful deviations
- Savings analysis finding C1 confirms the architecture phase "did not materially de-risk the implementation"
The solution adds provenance headers to plan artifacts (YAML frontmatter with skill, timestamp, baseSha, etc.) and trust-tiered phase skipping to the orchestration pipeline. Plans from known skills against an unchanged codebase skip architecture and planning entirely; plans with some divergence get lighter validation; unknown plans get full validation (current behavior).
Acceptance criteria
Must have
Should have
Nice to have
Description
The orchestration pipeline treats all external plans uniformly: when
externalPlan: true, both architecture and planning phases are forced to run regardless of the plan's origin, freshness, or quality. This produces 3-4 minutes of redundant validation when a plan was just created by a trusted skill likedesign-and-planorrefine-plan.Evidence from ticket #247 (run 20260310-071948Z):
The solution adds provenance headers to plan artifacts (YAML frontmatter with
skill,timestamp,baseSha, etc.) and trust-tiered phase skipping to the orchestration pipeline. Plans from known skills against an unchanged codebase skip architecture and planning entirely; plans with some divergence get lighter validation; unknown plans get full validation (current behavior).Acceptance criteria
Must have
design-and-planemits provenance headers in plan artifacts (skill,timestamp,baseSha,isInteractive)refine-planreads, updates, and writes provenance headers (preservesskill, incrementsiteration, updatesbaseSha)planTrustShould have
plan-orchestrable-stepsemits provenance headers{plan-md-path} is setconditional (notplanning phase ran) to handle high-trust skipNice to have
writing-plans(external superpowers plugin) emits provenance headers (requires coordinated plugin update)