feat(50c): Crimson Leaf company factory — agents, templates, RAG, pipeline

Agents: Peter (CEO), David (CTO), Sarah (Market Intel), Elena (Ops Architect)
Templates: market_research, company_design, design_review, design_roundtable, design_polish, bootstrap_company
RAG: business_plan.md, core_directives.md (5 immutable directives)
Pipeline: 6-phase incubation protocol with dependency chain and kill conditions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-03-01 00:55:39 -05:00
parent 83a3fce3cb
commit 172ce3a0e1
21 changed files with 784 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
name: design_roundtable
description: >
The Crimson Leaf board debates their independent design reviews in 23
structured rounds, reaching consensus on required changes before polish.
participants:
- Peter
- David
- Sarah
- Elena
iteration_limit: 3
convergence_signal: "CONSENSUS REACHED"
steps:
- type: boardroom
loop:
max_iterations: 3
condition: until_consensus
hint: |
You are {agent.name}.
{agent.identity}
You have the Company Design Specification and all independent reviews above.
COMPANY DESIGN UNDER REVIEW: {task.message}
YOUR REVIEW:
{this_agent_review}
OTHER REVIEWS:
[Peter] {peter_review}
[David] {david_review}
[Sarah] {sarah_review}
[Elena] {elena_review}
Round {task.iteration} of the design review debate.
Respond to the other board members' most critical points:
- Where you agree, say so clearly and move on.
- Where you disagree, argue your position with specific evidence.
- If you've changed your mind based on someone's argument, say so.
Focus on ACTIONABLE changes. The output of this roundtable will be used
to polish the design specification before bootstrap.
The group must converge on:
1. Final verdict: GO (proceed to polish) or KILL (abandon this company)
2. If GO: the exact list of changes to make during polish
3. Any unresolved risks that must be accepted or mitigated
When the group has reached sufficient consensus for the polish step,
end your response with: CONSENSUS REACHED
- type: package
schema:
consensus_critique: string
design_verdict: string
peter_final: string
david_final: string
sarah_final: string
elena_final: string
key_changes: list
spawn:
- task_type: design_polish
task_name: "Polish Design: {task.message}"
agent_name: Elena
context:
design_spec: "{design_spec}"
consensus_critique: "{consensus_critique}"
key_changes: "{key_changes}"
design_verdict: "{design_verdict}"
peter_final: "{peter_final}"
david_final: "{david_final}"
sarah_final: "{sarah_final}"
elena_final: "{elena_final}"