fix: roundtable early exit, iteration cap, and ghost-agent prevention
chapter_roundtable.yml: - Reduce max_iterations 9 → 5 (3 rounds of 3 editors is enough; 9 was burning credits in a retry loop after credit exhaustion) - Add explicit 'Once any participant outputs CONSENSUS REACHED, the debate is over' — prevents continuation into wasted rounds planning.yml: - Add ANTI-HALLUCINATION RULE FOR AGENTS block: explicitly names the known ghost agents (Worldbuilder, Prose Engine, Plot Architect, etc.) and forbids their use; maps task types to canonical CLP agents so planning LLM has unambiguous fallback assignments Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,7 @@ steps:
|
||||
- type: think
|
||||
rotate_participants: true
|
||||
loop:
|
||||
max_iterations: 9
|
||||
max_iterations: 5
|
||||
hint: |
|
||||
You are {agent.name}, an editor in the editorial roundtable for this chapter.
|
||||
{agent.identity}
|
||||
@@ -61,6 +61,9 @@ steps:
|
||||
- [Specific change 3 if needed]
|
||||
VERDICT: [PASS / REVISE / REWRITE]
|
||||
|
||||
Once any participant outputs CONSENSUS REACHED, the debate is over.
|
||||
Do NOT continue to another round after CONSENSUS REACHED has been written.
|
||||
|
||||
- type: package
|
||||
schema:
|
||||
consensus_critique: string
|
||||
|
||||
Reference in New Issue
Block a user