Added
- Workflow contract (
workflow.md): declarative execution config with YAML frontmatter for retry behavior, between-phase gates, progress enforcement, and Liquid-style prompt templates. - Handoff file (
handoff.md): fixed-size inter-agent communication file (<150 lines) that phase runners read on start and overwrite on finish. Carries architecture decisions, last phase summary, and workspace state. - Progress log (
progress-log.md): append-only session history with structured entries. Phase agents never read it; TLDR hook summarizes for humans. - Project type gate: Gate 1 now asks greenfield/brownfield/prototype.
- Continuation prompts: retry logic passes attempt number and previous failure reason so agents don't restart from scratch.
- Between-phase gates: configurable auto/manual/review modes in workflow.md.
- Progress enforcement: strict/warn/none modes that validate handoff.md was updated.
- Three new templates:
workflow-template.md,handoff-template.md,progress-log-template.md.
Inspired by OpenAI Symphony workflow contract pattern.
All changes backward compatible — existing plans without workflow.md work as before.