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:
@@ -59,18 +59,35 @@ steps:
|
||||
- type: document
|
||||
filename: "company-design-final-{{task_name_slug}}"
|
||||
|
||||
- type: reply
|
||||
target: discussion
|
||||
style: |
|
||||
Present the FINAL company design to the operator. This is the last gate before
|
||||
a real company is created. Summarize: company name, agent count, template count,
|
||||
revenue model, and the board's GO verdict. End with: "This will create a live
|
||||
company with agents and templates. Reply 'approved' to proceed with bootstrap."
|
||||
|
||||
- type: package
|
||||
hint: |
|
||||
The polished design is complete. Spawn the bootstrap task to create the company.
|
||||
The polished design is complete and presented to the operator.
|
||||
Spawn a human approval gate — bootstrap will NOT execute until
|
||||
the operator explicitly greenlights the company creation.
|
||||
schema:
|
||||
design_approved: boolean
|
||||
spawn:
|
||||
- task_type: human_action
|
||||
task_name: "Operator Approval: Green Light Bootstrap — {task.message}"
|
||||
agent_name: Peter
|
||||
priority: 9
|
||||
context:
|
||||
gate_purpose: "Final approval before company creation — this spawns real infrastructure"
|
||||
|
||||
- task_type: bootstrap_company
|
||||
task_name: "Bootstrap: {task.message}"
|
||||
agent_name: David
|
||||
priority: 8
|
||||
depends_on:
|
||||
- "Polish Design: {task.message}"
|
||||
- "Operator Approval: Green Light Bootstrap — {task.message}"
|
||||
|
||||
- type: close
|
||||
rag_update: true
|
||||
|
||||
Reference in New Issue
Block a user