fix: clm dispatch gate -- use project_slug=none to skip, not content=none
This commit is contained in:
@@ -102,7 +102,7 @@ steps:
|
||||
Keep it actionable. David is one person -- prioritize ruthlessly.
|
||||
|
||||
PROPOSAL GATE ASSESSMENT:
|
||||
Check the strategic_log and last cycle entry below. Has CLO (or whichever gap-company)
|
||||
Check the strategic_log and last cycle entry. Has CLO (or whichever gap-company)
|
||||
been proposed in the last 30 days? If yes, state PROPOSAL_NEEDED: none.
|
||||
Only propose if: gap is materially blocking revenue AND cannot be solved by
|
||||
existing resources AND no proposal for this company appears in the log.
|
||||
@@ -110,8 +110,10 @@ steps:
|
||||
|
||||
MARKETING DISPATCH ASSESSMENT:
|
||||
A book "needs marketing" if crimson_leaf_marketing shows no active campaign for it.
|
||||
Only dispatch to CLM for books that EXIST in Crimson Leaf Publishing (Cypress Bend,
|
||||
Crimson Vows, or The Binding Thread). Do NOT dispatch for hallucinated book titles.
|
||||
At the end of your brief, include:
|
||||
CLM_DISPATCH: <book-project-slug if a completed book needs CLM campaign, or "none">
|
||||
CLM_DISPATCH: <book-project-slug if a real completed book needs CLM campaign, or "none">
|
||||
|
||||
=== STRATEGIC LOG ===
|
||||
{strategic_log_data}
|
||||
@@ -166,18 +168,24 @@ steps:
|
||||
output_key: clm_dispatch_slug
|
||||
hint: |
|
||||
Read the CLM_DISPATCH line from the strategic brief above.
|
||||
Extract the value after "CLM_DISPATCH: " and output it exactly, nothing else.
|
||||
Valid values: cypress-bend, crimson-vows, binding-thread, or none.
|
||||
Output ONLY the value. No explanation.
|
||||
Map the book slug to the CLM project slug as follows:
|
||||
cypress-bend -> book-marketing-agency
|
||||
crimson-vows -> book-marketing-agency
|
||||
binding-thread -> book-marketing-agency
|
||||
none -> none
|
||||
Output ONLY the mapped slug. No explanation. No extra text.
|
||||
|
||||
- type: think
|
||||
max_tokens: 600
|
||||
output_key: clm_dispatch_message
|
||||
hint: |
|
||||
If {clm_dispatch_slug} is "none", output exactly: none
|
||||
Read the CLM_DISPATCH line from the strategic brief above.
|
||||
The book identified is one of: cypress-bend, crimson-vows, binding-thread, or none.
|
||||
|
||||
Otherwise write a marketing campaign request for that book. Include:
|
||||
- Book title, genre, audience
|
||||
If the book is "none" or {clm_dispatch_slug} is "none", output exactly: none
|
||||
|
||||
Otherwise write a marketing campaign request. Include:
|
||||
- Book title and genre (use the CLM_DISPATCH value to identify it)
|
||||
- The manuscript is complete in Crimson Leaf Publishing Gitea repo
|
||||
- Request: full marketing campaign (strategy, social, email, press release, ad copy)
|
||||
- Urgency: book has no active campaign and needs revenue generation
|
||||
@@ -194,7 +202,7 @@ steps:
|
||||
optional: true
|
||||
params:
|
||||
company_slug: "crimson_leaf_marketing"
|
||||
project_slug: "book-marketing-agency"
|
||||
project_slug: "{clm_dispatch_slug}"
|
||||
task_type: "marketing_campaign"
|
||||
content: "{clm_dispatch_message}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user