Files
crimson_leaf/templates/create_company.yml
David Baity 122edf2002 Add original_operator_prompt chain of custody to templates
- planning.yml: instructs LLM to include ORIGINAL REQUEST in child descriptions
- create_company.yml: references {original_operator_prompt} as hard constraint + ALIGNMENT CHECK
- create_company.yml: adds request_alignment criterion (weight 15) to adjudication
- hire_agent.yml: references {original_operator_prompt} for hiring context
- quick.yml: single-pass execution template
2026-03-10 15:59:36 -04:00

162 lines
6.5 KiB
YAML

name: create_company
description: "Genesis Protocol — evaluate a proposed opportunity, decide whether a new sovereign Tenant is justified, and package a create_company action."
debug: true
system: agent_prompt
requires:
- opportunity_description
agent_prompt:
- "= identity.md"
sections:
- agent
- project
- history
- rag
- roster
- deliverables
- message
- rejection_feedback
- instructions
steps:
- type: think
hint: |
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):
{original_operator_prompt}
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.
First, evaluate the opportunity using this decision order:
1. EXISTING TENANT CHECK
Determine whether the need can be solved by extending an existing Tenant
within its charter, services, and constitutional boundaries.
2. TOOL CHECK
Determine whether the need is better solved by a deterministic tool request
rather than a sovereign service business.
3. NEW COMPANY CHECK
Only if the need cannot be solved cleanly by an existing Tenant or a tool,
determine whether a new sovereign Tenant is justified.
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.
If a new company IS justified, design the complete Genesis package with ALL of the following:
1. Company Name
2. Company Slug (lowercase_underscore format)
3. Problem Statement
4. Target Customer
5. Why New Company
6. Why Not Existing Tenant
7. Why Not Tool
8. Business Plan
9. Value Thesis
10. Charter
11. Forbidden Activities
12. Non-Goals
13. Overlap Risk
14. Recursion Risk
15. Budget
16. Budget Justification
17. CEO Name
18. CEO Role
19. CEO Seed
CEO SEED REQUIREMENTS:
The CEO seed must be rich enough for downstream generation of identity.md, system.md,
and agent.yml. It must clearly define:
- executive mandate
- domain expertise
- temperament
- leadership style
- constitutional discipline
- capital stewardship posture
- hiring philosophy
- operating boundaries
CRITICAL RULES:
- You provision ONLY the charter, seed budget, and founding CEO.
- You do NOT design the full team.
- You do NOT create internal templates for the new company.
- Reject vague, generalist, duplicated, overlapping, or recursive company designs.
- 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 be economically or strategically justified.
- This proposal must be strong enough to pass a 95+ adjudication threshold.
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.
If your design drifts from the original request, the adjudicator will reject it.
- type: package
packet_type: IntakeResponse
hint: |
Convert the approved Genesis design into a strict JSON payload.
Output exactly ONE action object inside actions.
The action type must be create_company.
Be specific, constitutional, and directly executable.
Do not include prose outside the JSON structure.
schema:
actions:
- type: create_company
company_name: "string — formal company name"
company_slug: "string — lowercase_underscore slug"
problem_statement: "string — precise market or internal capability gap being solved"
target_customer: "string — the primary buyer, client, or internal requester"
why_new_company: "string — why a new sovereign Tenant is justified"
why_not_existing_tenant: "string — why existing Tenants cannot solve this cleanly within charter"
why_not_tool: "string — why a deterministic tool is insufficient"
business_plan: "string — the exact product or service model"
value_thesis: "string — how the company creates measurable value"
charter: "string — constitutional operating boundaries for the Tenant"
forbidden_activities: "string — activities explicitly prohibited to this company"
non_goals: "string — explicitly out-of-scope items"
overlap_risk: "string — duplication or cannibalization risk and mitigation"
recursion_risk: "string — circular delegation risk and why the design remains stable"
budget: "integer — seed capital in credits"
budget_justification: "string — why this funding level is appropriate"
ceo_name: "string — name of the founding CEO"
ceo_role: "string — formal title of the founding CEO"
ceo_seed: "string — detailed executive seed for downstream identity generation"
- type: close
rag_update: true
adjudication:
enabled: true
pass_threshold: 95
deliverable_type: coordination
criteria:
constitutional_alignment:
weight: 20
description: "Proposal stays within Crimson Leaf charter and governance boundaries"
request_alignment:
weight: 15
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."
niche_specificity:
weight: 20
description: "Company is sharply focused, non-generalist, and clearly differentiated"
strategic_justification:
weight: 10
description: "Strong case for why a new company should exist at all"
portfolio_coherence:
weight: 10
description: "Avoids overlap, cannibalization, and architectural sprawl"
financial_viability:
weight: 10
description: "Budget and value thesis are disciplined and credible"
ceo_alignment:
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"