fix: guard orchestrator Coder assignment spawn

This commit is contained in:
2026-08-13 17:50:27 +09:00
parent fe373b5656
commit 8d061a8734
4 changed files with 482 additions and 58 deletions
+3
View File
@@ -1574,6 +1574,9 @@ mod tests {
let prompt = include_str!("../../../resources/prompts/role/orchestrator.md");
assert!(prompt.contains("assigned Coder owns its review/fix loop"));
assert!(prompt.contains("spawn the implementation Coder with `WorkerSpawn.ticket_id`"));
assert!(prompt.contains("verify its current assignment names that Coder"));
assert!(prompt.contains("never route implementation to an unassigned Coder"));
assert!(prompt.contains(
"Do not spawn, restore, assign, or route work to Backend/Runtime Reviewer Workers"
));