feat(sprint83b): research paper quality for business plans

- Rewrite company_proposal.yml: 5-source research pipeline, research_synthesis
  step, anti-refusal agent_prompt, remove rag section, fix input_from bug,
  fix source_step by name, add bibliography structure
- Fix strategic_review.yml proposal_brief: remove 'incubation' anchor word,
  explicit CLO-first instruction to stop wrong-company hallucination

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Baity
2026-04-29 13:04:24 -04:00
parent a2fac827bf
commit 3cdde2d5ab
2 changed files with 291 additions and 216 deletions

View File

@@ -152,47 +152,42 @@ steps:
max_tokens: 800
output_key: proposal_brief
hint: |
The proposal decision is: {proposal_project_slug}
Gate: if {proposal_project_slug} is "none", output exactly: none
If {proposal_project_slug} is "none", output exactly: none
If the gate passes, you are writing a task brief for Crimson Leaf Operations (CLO).
This is the company brief that will be sent to the company_proposal pipeline.
Do NOT use anything from the board debate above -- that was about execution, not proposals.
Do NOT rename the company. Do NOT propose anything else.
STOP. Do not read the board debate above. Do not use anything from the
board debate in this brief. The board debate is about execution -- this
step is a separate, independent process.
Read ONLY the mission charter and prior proposals below.
=== MISSION CHARTER (authoritative) ===
=== MISSION CHARTER (authoritative source for company definition) ===
{mission_data}
=== PRIOR PROPOSALS (all rejected -- do NOT repeat) ===
=== PRIOR PROPOSALS (all rejected -- you must not repeat these) ===
{prior_proposals_index}
===
The mission charter identifies GAP 1 as the top priority:
Company: Crimson Leaf Operations (CLO)
Slug: crimson_leaf_operations
Mission: INTERNAL financial visibility for Crimson Leaf Holdings.
Edgar cannot see API costs or revenue. CLO fixes that.
This is NOT a client-facing company. NOT a storefront. NOT an author service.
It is an internal accounting and analytics subsidiary.
THE COMPANY TO PROPOSE: Crimson Leaf Operations (CLO)
This is a FIXED requirement -- not a suggestion. CLO is the only company
authorized as GAP 1 in the mission charter.
The prior proposals were ALL rejected because they proposed a client-facing
indie author DTC storefront. That is the wrong company entirely.
CLO is:
- An INTERNAL operations and accounting subsidiary
- Its purpose: give Edgar (and David) financial visibility into API costs,
revenue, and margins across all subsidiaries
- It generates weekly P&L reports, tracks cost-per-task, surfaces burn rate
- It does NOT interact with external clients, authors, or customers
- It is NOT a storefront, agency, or services business
Write the task brief for company_proposal. Include:
- Company: Crimson Leaf Operations (exact name, no renaming)
Write the task brief. Include:
- Company name: Crimson Leaf Operations
- Slug: crimson_leaf_operations
- Gap: Edgar has zero financial visibility (cannot see spend, revenue, or margins)
- What CLO does: tracks API costs per task/company, generates weekly P&L,
gives David real cost-per-chapter and margin data
- Why now: every strategic decision is made blind; 30 more days means 30 more
days of unknown burn rate
- 90-day success criteria: weekly P&L report delivered to #general,
cost-per-chapter tracked and visible in portfolio report
- What it is NOT: not a client agency, not a storefront, not author services
- The gap it fills: Edgar has zero financial visibility right now
- What CLO does specifically: cost tracking, P&L, margin visibility
- Why now: 30 more days of blind spending
- What it is NOT (to prevent the proposal template from going off-rails)
- 90-day success criteria: weekly P&L in #general, cost-per-chapter visible
Output ONLY the brief text. No labels. No preamble.
Output ONLY the brief text. No labels. No preamble. No "Here is the brief:".
- type: tool
action: enqueue_strategy