David Baity
6d251b558b
fix: replace hardcoded channel_id with channel_name routing in all templates; add response_channel to cl_schedules.json
2026-04-28 09:05:50 -04:00
David Baity
3d29870a22
fix: chapter_production -> channel, add project_index dispatch on book completion
2026-04-28 08:47:55 -04:00
3a0f1253c7
Fix chapter_production: use correct polished file pattern (staging/polished/chapter-ch-XX.md)
2026-04-18 00:31:44 +00:00
David Baity
20bf338e82
sprint 81: fix chapter filename interpolation, chapter_polish deadlock, Loop 2 CLM dispatch, project.yml data
...
- book_chapter.yml: add mini-package step after SELF-CHECK to extract chapter_number/chapter_ref
before document steps run. Without this every chapter was saved as Chapter_chapter-number_draft.md.
Also add source_step to both document steps so they read from correct prior step.
- DocumentStepHandler.cs (C#): add source_step support (template change depends on this).
- chapter_roundtable.yml: remove broken depends_on from chapter_polish spawn that caused deadlock
(Polish: {chapter_ref_prev} never exists for ch-01, blocking all polish tasks).
- project_index.yml: Loop 2 CLM dispatch -- when book is complete, enqueue marketing_campaign
to crimson_leaf_marketing/book-marketing-agency.
- project.yml files: fill in name, goal, genre, lead_author for all 3 CLP projects.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-17 19:45:29 -04:00
240cb60646
Sprint 81: update templates/chapter_production.yml
2026-04-17 20:37:30 +00:00
e8bd420f4e
Sprint 81: update templates/project_index.yml
2026-04-17 20:37:28 +00:00
b7e3439754
Sprint 81: update templates/chapter_roundtable.yml
2026-04-17 20:37:26 +00:00
David Baity
181a761d52
fix: add chapter_ref/chapter_number to package schema; drop requires block
...
- Package step schema now includes chapter_ref and chapter_number so the LLM
extracts them from the task name even when context vars are missing.
- Previously removed requires: block was the only guard; now the package step
itself self-heals by asking the LLM to derive these values.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-15 19:16:15 -04:00
David Baity
b850eb5338
fix: remove requires block from book_chapter -- context vars from package step are optional
2026-04-15 18:56:47 -04:00
David Baity
3163053f25
fix: make Tool_WebSearcher step optional for resilience
2026-04-15 18:18:20 -04:00
David Baity
c621c4a803
fix: genesis uses openai/gpt-4o-mini to avoid gemini-flash-preview timeout
2026-04-15 02:21:06 -04:00
David Baity
65f0b03ebf
fix: remove misplaced debug:true from genesis.yml schema, use nova agent
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-15 00:45:41 -04:00
David Baity
9263e92283
Fix adjudication template resolution -- add adjudication.yml
2026-04-11 12:28:14 -04:00
18fcd02a36
fix: remove Unicode chars from template
2026-04-09 23:03:49 +00:00
d642481f0a
fix: remove Unicode chars from template
2026-04-09 23:03:48 +00:00
83f5eddf16
fix: remove Unicode chars from template
2026-04-09 23:03:46 +00:00
3ec14c1cb5
fix: remove Unicode chars from template
2026-04-09 23:03:45 +00:00
1032e89deb
fix: remove Unicode chars from template
2026-04-09 23:03:44 +00:00
23b486cfca
fix: remove Unicode chars from template
2026-04-09 23:03:43 +00:00
3cdbd4768d
fix: remove Unicode chars from template
2026-04-09 23:03:41 +00:00
bbf47f1085
fix: remove Unicode chars from template
2026-04-09 23:03:40 +00:00
4b1c637939
fix: remove Unicode chars from template
2026-04-09 23:03:39 +00:00
1b8cb6684e
fix: remove Unicode chars from template
2026-04-09 23:03:37 +00:00
faa956befd
fix: remove Unicode chars from template
2026-04-09 23:03:36 +00:00
1b6b6c0397
fix: remove Unicode chars from template
2026-04-09 23:03:34 +00:00
c6671cb1fd
fix: remove Unicode chars from template
2026-04-09 23:03:33 +00:00
3394595572
fix: remove Unicode chars from template
2026-04-09 23:03:32 +00:00
18c9d13e69
fix: remove Unicode chars from template
2026-04-09 23:03:31 +00:00
a56394a6d3
fix: remove Unicode chars from template
2026-04-09 23:03:30 +00:00
aae9370c61
fix: remove Unicode chars from template
2026-04-09 23:03:29 +00:00
e110f598db
fix: remove Unicode chars from template
2026-04-09 23:03:28 +00:00
e15130d54b
fix: remove Unicode chars from template
2026-04-09 23:03:28 +00:00
1d76880b29
fix: remove Unicode chars from template
2026-04-09 23:03:26 +00:00
314bb6565a
fix: remove Unicode chars from template
2026-04-09 23:03:25 +00:00
39a14afa75
fix: remove Unicode chars from template
2026-04-09 23:03:23 +00:00
8a288c957c
fix: remove Unicode chars from template
2026-04-09 23:03:22 +00:00
David Baity
20112eac6a
feat: add debug:true to all templates; add LLM_LOG_DIR config
2026-04-09 14:38:11 -04:00
David Baity
99c4718baf
updating
2026-04-06 21:51:34 -04:00
David Baity
4a7318bc53
Sprint 66g: template architecture -- company templates only, starter_pack, rename to lower_case_with_underscores
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-01 22:43:31 -04:00
David Baity
9c362b92f8
Strengthen chapter review quality gates
...
- chapter_review.yml: mandatory PROSE EVIDENCE section (3-5 verbatim quotes)
- CHARACTER VOICE AUDIT with per-constraint checks and violation quoting
- Score anchors (95-100/85-94/70-84/<70) to break rubber-stamp clustering
- MUST-FIX items require ORIGINAL quote + PROBLEM + FIX rewrite
- Adjudication: prose_evidence(35) specificity(30) voice_audit(20) coverage(15)
- chapter_roundtable.yml: require quoted evidence, add character_profiles check
2026-04-01 22:33:55 -04:00
David Baity
682454bc7b
refactor: remove genre-specific chapter templates; all genres use book_chapter
2026-04-01 17:58:10 -04:00
David Baity
1675b87268
outline: populate bible/outline.md for crimson-vows and binding-thread
2026-04-01 16:53:28 -04:00
David Baity
15d8ac44d2
Reader Knows Rule: truncate outline at chapter N, character state from prev chapter
...
- book_chapter.yml PASS 0: Reader Knows Rule box, outline truncated at chapter_number_next,
character state priority chain (RAG first, then prev-chapter traits, not final-book state)
- drafting.yml PASS 0: same rule applied, voice-only character profiles
- chapter_pass0_bible.yml (included by scifi/ya/romance/cozy genre templates): same fix
All three reference {chapter_number_prev}, {chapter_number_next}, {chapter_ref_prev}
which are now injected by OutlineSyncService.CreateChapterTaskAsync
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-31 17:34:12 -04:00
David Baity
1836ffcd75
Sprint 61k — Template & Pipeline Correctness Audit
...
- Fix {task.prompt} → {task.message} in all marketing templates (6 files)
- Add author_bio.yml and ad_copy.yml templates for crimson_leaf_marketing
- Add author_bio task_type to marketing_campaign.yml package schema
- Fix book_outline.yml: remove {prose_style} literal, add anti-truncation rule, fix scifi routing
- Fix InputFromUser.yml: echo full operator message in think output
- Fix planning.yml: add agent:Nova top-level field to lock chair
- Fix publishing genesis.yml: fix {task.message} variable and hardcode Nova title
- Add professional_title to AgentContext and build_state_map
- Increase _DEFAULT_MAX_RAG_CHARS from 4000 to 8000
- Fix adj_pass_rate=0.0: thread adjudication criteria through C# and Python
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-30 10:35:51 -04:00
PAE
9b4ea8f403
Bootstrap: scaffold templates/
2026-03-30 07:05:01 +00:00
David Baity
b5ddd0506b
Cleaned up
2026-03-28 20:36:24 -04:00
David Baity
68d58d3caf
Cleaning up
2026-03-28 11:34:36 -04:00
David Baity
8734114885
fix: disable adjudication on roundtable (package step has no staging path, gets stuck at AdjudicationPending)
2026-03-28 03:52:45 -04:00
David Baity
d0305310bc
fix: book_chapter spawn context - use {character_profiles|} fallback to handle missing var
...
Tasks fail at step 7:package when character_profiles is not in context_vars because the
spawn context check incorrectly reports {character_profiles} as an unresolved placeholder.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-28 03:20:24 -04:00
David Baity
d042a47856
PASS 3 bucket model: clean dies-in-chapter vs carried-dead
2026-03-25 17:50:55 -04:00