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 54689d523c - Show all commits

View File

@ -642,7 +642,7 @@ async function main() {
console.error(`[observer] started — cycle=${CYCLE_SECS}s, gateway=${GATEWAY}, port=${OBSERVER_PORT}`); console.error(`[observer] started — cycle=${CYCLE_SECS}s, gateway=${GATEWAY}, port=${OBSERVER_PORT}`);
// Run a health check first // Run a health check first
const health = await fetch(`${GATEWAY}/health`).then(r => r.json()).catch(() => null); const health = await fetch(`${GATEWAY}/health`).then(r => r.ok ? r.text() : null).catch(() => null);
if (!health) { if (!health) {
console.error("[observer] gateway unreachable — exiting"); console.error("[observer] gateway unreachable — exiting");
process.exit(1); process.exit(1);