Commit Graph

36 Commits

Author SHA1 Message Date
9a6c34f2b4 Sprint 54: add depends_on sequencing — adjudicate_tenant waits for research, create_company waits for adjudication 2026-03-12 03:54:44 +00:00
David Baity
c30613383c feat: add budgeting.yml template for Vance (Sprint 53c) 2026-03-10 21:21:08 -04:00
David Baity
0e57a0e2a7 Sprint 53b: Fix gaps 1 and 4 — full task type coverage and charter amendment process
Gap 1 — planning.yml VALID TASK TYPES expanded:
  Added: write_charter, market_intelligence, portfolio_architectural_review,
         audit_tenant, charter_audit, financial_audit, capital_allocation_audit,
         retire_tenant, adjudicate_tenant
  All governance templates now reachable from board planning sessions.

Gap 4 — amend_charter template created (Valerius):
  Operator-only constitutional amendment process for the master CL charter.
  Enforces all 4 §12 criteria (identity preservation, anti-sprawl, clarity, authority).
  Pass threshold: 98 — highest in the system.
  Produces formal amendment proposal; operator must manually apply to charter.md.
  Agents cannot self-authorize charter changes.

Valerius agent.yml updated: added amend_charter to supported_templates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 19:09:48 -04:00
David Baity
2c1cf693d3 Sprint 53b: Charter alignment — repurpose Orion, fix agent template refs, consolidate charter templates
- Orion repurposed: Chief Creative Officer -> Director of Market Intelligence
  - New template: market_intelligence (4-lens niche/gap analysis)
  - Removed: brand_audit, design_brief (commodity execution, unconstitutional)
  - New identity/system files reflect research + structural analysis posture
- Vance: removed broken fund_tenant/allocate_resources refs; added financial_audit, retire_tenant
- Silas: added write_charter to supported_templates
- Sloane: added retire_tenant (DISSOLVE verdict execution)
- Aris: portfolio_architectural_review (already updated)
- New templates: market_intelligence, financial_audit, retire_tenant, write_charter, charter_audit, audit_tenant
- Deleted 5 orphan charter templates (consolidated into write_charter):
  sovereign_tenant_charter, tenant_charter_drafting, tenant_charter_formalization,
  tenant_charter_standardization, tenant_charter_synthesis

Charter domain coverage now complete:
  Market Intelligence -> Orion (market_intelligence)
  Corporate Architecture -> Aris + Silas
  Executive Recruitment -> Edgar (hire_agent)
  Capital Allocation -> Vance (capital_allocation_audit, financial_audit, retire_tenant)
  Portfolio Governance -> Sloane (audit_tenant, retire_tenant) + Valerius (charter_audit)
  Constitutional Enforcement -> Aris + Valerius (adjudicate_tenant, charter_audit)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 17:58:44 -04:00
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
PAE
abbe9f2cc2 Write template: tenant_charter_standardization by unknown (adj_score=100) 2026-03-10 19:27:40 +00:00
PAE
8ddd5c388a Write template: adjudicate_tenant by unknown (adj_score=100) 2026-03-10 19:07:39 +00:00
PAE
3f0ab83bdf Write template: adjudicate_tenant by unknown (adj_score=100) 2026-03-10 19:06:20 +00:00
PAE
3ce3a676be Write template: tenant_charter_synthesis by unknown (adj_score=100) 2026-03-10 19:05:49 +00:00
PAE
f0b1a6d218 Write template: adjudicate_tenant by unknown (adj_score=100) 2026-03-10 19:05:26 +00:00
PAE
43e87bd628 Write template: portfolio_architectural_review by unknown (adj_score=100) 2026-03-10 19:05:12 +00:00
PAE
83dbaa0e35 Write template: capital_allocation_audit by unknown (adj_score=100) 2026-03-10 19:05:05 +00:00
PAE
886071ec44 Write template: tenant_charter_synthesis by unknown (adj_score=100) 2026-03-10 18:29:44 +00:00
PAE
964779031d Write template: tenant_charter_formalization by unknown (adj_score=100) 2026-03-10 18:28:44 +00:00
PAE
d8c530c2ad Write template: sovereign_tenant_charter by unknown (adj_score=100) 2026-03-10 18:28:31 +00:00
PAE
5f5692825f Write template: sovereign_tenant_charter by unknown (adj_score=100) 2026-03-10 18:26:36 +00:00
PAE
edfdd80bd7 Write template: tenant_charter_standardization by unknown (adj_score=100) 2026-03-10 18:26:10 +00:00
PAE
e5460e55b2 Write template: tenant_charter_drafting by unknown (adj_score=100) 2026-03-10 18:25:14 +00:00
b3cf87a66a Add quick template for CL 2026-03-10 17:03:14 +00:00
David Baity
92c78473a7 trim: remove 7 redundant agents, add zero-overlap hiring rule
70% roster cut — all removed agents had identical capabilities (planning+boardroom only).
Kept: Edgar (CEO), Silas (Architect/write_template), Sterling (Talent/hire_agent),
Elias (Capital/boardroom), Lyra (intake, uncounted).

hire_agent template now enforces:
- Every new hire MUST have at least one unique supported_template
- Adjudication scores 0 on unique_capability if all templates overlap
- Prefer doers over deliberators

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 12:35:12 -04:00
David Baity
51dbf9f089 fix: remove recursive task types from planning template
Planning was spawning sub-planning and boardroom tasks which cascaded into dozens
of duplicate create_company attempts. Now only emits leaf tasks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 12:19:15 -04:00
David Baity
0079a0e3c8 fix: remove hint text from task_type schema field
Bouncer does exact match on task_type — parenthetical hint leaked into LLM output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 11:38:53 -04:00
David Baity
5ffa3cac33 Add InputFromUser intake template for Crimson Leaf (Sprint 53b)
Air-gapped model requires templates in company repo. Routes to Edgar as CEO.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 11:09:41 -04:00
David Baity
6cf7440726 Sprint 53a: Skills Loop + Executive Templates
- skills/skills.md: Root catalog/index of all skill guides
- skills/guides/PAETemplateGuide.md: How to write PAE-Lang YAML (distilled)
- skills/guides/PAEAgentGuide.md: agent.yml + identity.md schemas
- skills/guides/CorporateCharterGuide.md: Charter design reference
- templates/hire_agent.yml: CEO-authored agent provisioning with PAEAgentGuide injection
- templates/write_template.yml: CEO-authored template design with PAETemplateGuide injection
- templates/planning.yml: CL-specific boardroom→serialize→dispatch planning
- templates/boardroom.yml: CL-specific executive deliberation to consensus

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 09:06:20 -04:00
David Baity
df95e53a4a Sprint 53: Crimson Leaf genesis — charter, CEO Edgar, create_company template
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 23:45:14 -04:00
David Baity
a07a372093 Cleaned 2026-03-09 22:15:10 -04:00
David Baity
c3a4d2f6f9 V1.1: strip dead fields (route/condition) from design templates
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 17:08:02 -04:00
David Baity
85a9363cb3 Enable debug:true on all 6 CL templates for Sprint 50a testing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 09:25:52 -05:00
David Baity
30ba600e77 Fix: design_roundtable.yml uses invalid step type 'boardroom'
Changed type: boardroom to type: think with route: boardroom.
Also added synthesis think step before package so Victor summarizes
the boardroom debate into structured fields before Scribe serializes.

pipeline.py only recognizes: think, package, reply, close, document, pdf, tool, spawn
'boardroom' as a step type would silently fail (pipeline_unknown_step log).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 23:56:09 -05:00
David Baity
2562737944 Syncing 2026-03-02 23:16:57 -05:00
David Baity
24246f9cc3 rename: Peter→Victor (CEO), David→Nolan (CTO) — reserve human names for HITL operators
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 01:15:39 -05:00
David Baity
fc0260bba3 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>
2026-03-01 01:13:18 -05:00
David Baity
63e715d570 fix: agent template mappings + roundtable sections injection
Critical: Peter was missing design_review — spawned tasks would go unclaimed.
All 4 agents now have design_roundtable in supported_templates.
Removed design_polish from Peter (Elena does polish, not Peter).
Added sections block to design_roundtable for deliverables/RAG access.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 01:04:47 -05:00
David Baity
451c8ae89a fix: complete spawn chain — market_research→design, design→reviews+roundtable
Closes the two broken links in the incubation pipeline:
- market_research now spawns company_design (Phase 1→2)
- company_design now spawns 4 design_reviews + design_roundtable (Phase 2→3/4)

Also: cleaned up design_review to use identity-driven review instead of IF/ELSE blocks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 01:01:46 -05:00
David Baity
172ce3a0e1 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>
2026-03-01 00:55:39 -05:00
David Baity
83a3fce3cb scaffold: 50b tenant folder structure (agents, templates, pipelines, rag, docs, general)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 00:35:00 -05:00