fix: create_company template -- use opportunity_description, add document step for adjudication

This commit is contained in:
2026-04-09 20:30:41 +00:00
parent ed53ec6088
commit f3c035e87f

View File

@@ -1,161 +1,165 @@
name: create_company name: create_company
description: "Genesis Protocol — evaluate a proposed opportunity, decide whether a new sovereign Tenant is justified, and package a create_company action." description: "Genesis Protocol — evaluate a proposed opportunity, decide whether a new sovereign Tenant is justified, and package a create_company action."
debug: true debug: true
system: agent_prompt system: agent_prompt
requires: requires:
- opportunity_description - opportunity_description
agent_prompt: agent_prompt:
- "= identity.md" - "= identity.md"
sections: sections:
- agent - agent
- project - project
- history - history
- rag - rag
- roster - roster
- deliverables - deliverables
- message - message
- rejection_feedback - rejection_feedback
- instructions - instructions
steps: steps:
- type: think - type: think
hint: | hint: |
You are {agent.name}, executing the Genesis Protocol for Crimson Leaf LLC. You are {agent.name}, executing the Genesis Protocol for Crimson Leaf LLC.
OPERATOR'S ORIGINAL REQUEST (this is what was actually asked for — your proposal MUST match this): OPPORTUNITY BRIEF (you MUST design the company described here -- do not invent a different one):
{original_operator_prompt} {opportunity_description}
This is a high-stakes constitutional act. Do NOT default to company creation. This is a high-stakes constitutional act. Do NOT default to company creation.
Crimson Leaf creates and governs companies; it does not perform commodity work. Crimson Leaf creates and governs companies; it does not perform commodity work.
First, evaluate the opportunity using this decision order: First, evaluate the opportunity using this decision order:
1. EXISTING TENANT CHECK 1. EXISTING TENANT CHECK
Determine whether the need can be solved by extending an existing Tenant Determine whether the need can be solved by extending an existing Tenant
within its charter, services, and constitutional boundaries. within its charter, services, and constitutional boundaries.
2. TOOL CHECK 2. TOOL CHECK
Determine whether the need is better solved by a deterministic tool request Determine whether the need is better solved by a deterministic tool request
rather than a sovereign service business. rather than a sovereign service business.
3. NEW COMPANY CHECK 3. NEW COMPANY CHECK
Only if the need cannot be solved cleanly by an existing Tenant or a tool, Only if the need cannot be solved cleanly by an existing Tenant or a tool,
determine whether a new sovereign Tenant is justified. determine whether a new sovereign Tenant is justified.
If a new company is NOT justified, still produce the best company-design analysis you can, If a new company is NOT justified, still produce the best company-design analysis you can,
but your packaged action must reflect the final create_company decision only when the case is strong. but your packaged action must reflect the final create_company decision only when the case is strong.
If a new company IS justified, design the complete Genesis package with ALL of the following: If a new company IS justified, design the complete Genesis package with ALL of the following:
1. Company Name 1. Company Name
2. Company Slug (lowercase_underscore format) 2. Company Slug (lowercase_underscore format)
3. Problem Statement 3. Problem Statement
4. Target Customer 4. Target Customer
5. Why New Company 5. Why New Company
6. Why Not Existing Tenant 6. Why Not Existing Tenant
7. Why Not Tool 7. Why Not Tool
8. Business Plan 8. Business Plan
9. Value Thesis 9. Value Thesis
10. Charter 10. Charter
11. Forbidden Activities 11. Forbidden Activities
12. Non-Goals 12. Non-Goals
13. Overlap Risk 13. Overlap Risk
14. Recursion Risk 14. Recursion Risk
15. Budget 15. Budget
16. Budget Justification 16. Budget Justification
17. CEO Name 17. CEO Name
18. CEO Role 18. CEO Role
19. CEO Seed 19. CEO Seed
CEO SEED REQUIREMENTS: CEO SEED REQUIREMENTS:
The CEO seed must be rich enough for downstream generation of identity.md, system.md, The CEO seed must be rich enough for downstream generation of identity.md, system.md,
and agent.yml. It must clearly define: and agent.yml. It must clearly define:
- executive mandate - executive mandate
- domain expertise - domain expertise
- temperament - temperament
- leadership style - leadership style
- constitutional discipline - constitutional discipline
- capital stewardship posture - capital stewardship posture
- hiring philosophy - hiring philosophy
- operating boundaries - operating boundaries
CRITICAL RULES: CRITICAL RULES:
- You provision ONLY the charter, seed budget, and founding CEO. - You provision ONLY the charter, seed budget, and founding CEO.
- You do NOT design the full team. - You do NOT design the full team.
- You do NOT create internal templates for the new company. - You do NOT create internal templates for the new company.
- Reject vague, generalist, duplicated, overlapping, or recursive company designs. - Reject vague, generalist, duplicated, overlapping, or recursive company designs.
- Every company must be hyper-specific, sovereign, and black-box in nature. - Every company must be hyper-specific, sovereign, and black-box in nature.
- Every company must have explicit forbidden activities and non-goals. - Every company must have explicit forbidden activities and non-goals.
- Every company must be economically or strategically justified. - Every company must be economically or strategically justified.
- This proposal must be strong enough to pass a 95+ adjudication threshold. - This proposal must be strong enough to pass a 95+ adjudication threshold.
ALIGNMENT CHECK: Before finalizing, re-read the OPERATOR'S ORIGINAL REQUEST above. ALIGNMENT CHECK: Before finalizing, re-read the OPERATOR'S ORIGINAL REQUEST above.
Your company charter, focus area, and CEO must directly serve what was requested. Your company charter, focus area, and CEO must directly serve what was requested.
If your design drifts from the original request, the adjudicator will reject it. If your design drifts from the original request, the adjudicator will reject it.
- type: package - type: document
packet_type: IntakeResponse filename: "{task.id}_genesis_proposal.md"
hint: | primary_deliverable: true
Convert the approved Genesis design into a strict JSON payload.
- type: package
Output exactly ONE action object inside actions. packet_type: IntakeResponse
The action type must be create_company. hint: |
Be specific, constitutional, and directly executable. Convert the approved Genesis design into a strict JSON payload.
Do not include prose outside the JSON structure.
schema: Output exactly ONE action object inside actions.
actions: The action type must be create_company.
- type: create_company Be specific, constitutional, and directly executable.
company_name: "string — formal company name" Do not include prose outside the JSON structure.
company_slug: "string — lowercase_underscore slug" schema:
problem_statement: "string — precise market or internal capability gap being solved" actions:
target_customer: "string — the primary buyer, client, or internal requester" - type: create_company
why_new_company: "string — why a new sovereign Tenant is justified" company_name: "string — formal company name"
why_not_existing_tenant: "string — why existing Tenants cannot solve this cleanly within charter" company_slug: "string — lowercase_underscore slug"
why_not_tool: "string — why a deterministic tool is insufficient" problem_statement: "string — precise market or internal capability gap being solved"
business_plan: "string — the exact product or service model" target_customer: "string — the primary buyer, client, or internal requester"
value_thesis: "string — how the company creates measurable value" why_new_company: "string — why a new sovereign Tenant is justified"
charter: "string — constitutional operating boundaries for the Tenant" why_not_existing_tenant: "string — why existing Tenants cannot solve this cleanly within charter"
forbidden_activities: "string — activities explicitly prohibited to this company" why_not_tool: "string — why a deterministic tool is insufficient"
non_goals: "string — explicitly out-of-scope items" business_plan: "string — the exact product or service model"
overlap_risk: "string — duplication or cannibalization risk and mitigation" value_thesis: "string — how the company creates measurable value"
recursion_risk: "string — circular delegation risk and why the design remains stable" charter: "string — constitutional operating boundaries for the Tenant"
budget: "integer — seed capital in credits" forbidden_activities: "string — activities explicitly prohibited to this company"
budget_justification: "string — why this funding level is appropriate" non_goals: "string — explicitly out-of-scope items"
ceo_name: "string — name of the founding CEO" overlap_risk: "string — duplication or cannibalization risk and mitigation"
ceo_role: "string — formal title of the founding CEO" recursion_risk: "string — circular delegation risk and why the design remains stable"
ceo_seed: "string — detailed executive seed for downstream identity generation" budget: "integer — seed capital in credits"
budget_justification: "string — why this funding level is appropriate"
- type: close ceo_name: "string — name of the founding CEO"
rag_update: true ceo_role: "string — formal title of the founding CEO"
ceo_seed: "string — detailed executive seed for downstream identity generation"
adjudication:
enabled: true - type: close
pass_threshold: 95 rag_update: true
deliverable_type: coordination
criteria: adjudication:
constitutional_alignment: enabled: true
weight: 20 pass_threshold: 95
description: "Proposal stays within Crimson Leaf charter and governance boundaries" deliverable_type: coordination
request_alignment: criteria:
weight: 15 constitutional_alignment:
description: "Company charter and focus directly match the ORIGINAL OPERATOR REQUEST. Score 0 if the company drifts into a different domain than what was requested." weight: 20
niche_specificity: description: "Proposal stays within Crimson Leaf charter and governance boundaries"
weight: 20 request_alignment:
description: "Company is sharply focused, non-generalist, and clearly differentiated" weight: 15
strategic_justification: description: "Company charter and focus directly match the ORIGINAL OPERATOR REQUEST. Score 0 if the company drifts into a different domain than what was requested."
weight: 10 niche_specificity:
description: "Strong case for why a new company should exist at all" weight: 20
portfolio_coherence: description: "Company is sharply focused, non-generalist, and clearly differentiated"
weight: 10 strategic_justification:
description: "Avoids overlap, cannibalization, and architectural sprawl" weight: 10
financial_viability: description: "Strong case for why a new company should exist at all"
weight: 10 portfolio_coherence:
description: "Budget and value thesis are disciplined and credible" weight: 10
ceo_alignment: description: "Avoids overlap, cannibalization, and architectural sprawl"
weight: 10 financial_viability:
description: "Founding CEO seed matches the company mandate and constitutional role" weight: 10
structural_safety: description: "Budget and value thesis are disciplined and credible"
weight: 5 ceo_alignment:
description: "Design avoids recursion, dependency loops, and unstable operating models" weight: 10
description: "Founding CEO seed matches the company mandate and constitutional role"
structural_safety:
weight: 5
description: "Design avoids recursion, dependency loops, and unstable operating models"