Session infrastructure: OpenRouter + tree-split reducer + observer→LLM Team + scrum_applier #11

Merged
profit merged 118 commits from scrum/auto-apply-19814 into main 2026-04-27 15:55:24 +00:00
Showing only changes of commit 4087dde780 - Show all commits

View File

@ -1547,8 +1547,15 @@ mod tests {
];
let p = build_executor_prompt(&req, &[], &log);
assert!(p.contains("CANDIDATES SURFACED SO FAR"));
assert!(p.contains("W-1 Alice Smith"));
assert!(p.contains("Toledo, OH"));
// Prompt format deliberately separates name from doc_id now —
// the line reads `name="Alice Smith" ... (vector doc_id=W-1)`
// so the executor prompt explicitly tells the model NOT to
// conflate doc_id with workers_500k.worker_id. Assertion was
// expecting the old concatenated format; update to match the
// semantic contract (both tokens present, any order).
assert!(p.contains("Alice Smith"));
assert!(p.contains("W-1"));
assert!(p.contains("Toledo"));
}
#[test]