feat: 3 operator approval gates (WaitingForHuman) in incubation pipeline

Gate 1: After market_research — operator selects business concept
Gate 2: After company_design — operator approves design before review cycle
Gate 3: After design_polish — operator green lights bootstrap (company creation)

Each gate is a human_action task (status: WaitingForHuman) that blocks
downstream tasks via depends_on. Operator resolves naturally via Discord.
Pipeline SOP updated with gate diagram and expanded kill conditions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-03-01 01:13:18 -05:00
parent 63e715d570
commit fc0260bba3
4 changed files with 101 additions and 15 deletions

View File

@@ -71,19 +71,37 @@ steps:
- type: document
filename: "market-pitch-{{task_name_slug}}"
- type: reply
target: discussion
style: |
Present the Market Opportunity Pitch to the operator. Summarize the 3 business
concepts clearly with their rankings. End with: "Which concept should we design?
Reply with your choice or feedback."
- type: package
hint: |
The market research is complete and documented. Now spawn the boardroom
where the full Crimson Leaf board will debate this pitch and design a company.
The market research is complete and presented to the operator.
Spawn a human approval gate — the boardroom will NOT start until
the operator reviews the pitch and selects a concept.
schema:
market_pitch: string
spawn:
- task_type: human_action
task_name: "Operator Review: Select Business Concept — {task.message}"
agent_name: Peter
priority: 8
context:
market_pitch: "{market_pitch}"
gate_purpose: "Review market pitch, select which concept to design"
- task_type: company_design
task_name: "Company Design Boardroom: {task.message}"
agent_name: Peter
priority: 7
context:
market_pitch: "{market_pitch}"
depends_on:
- "Operator Review: Select Business Concept — {task.message}"
- type: close
rag_update: true