Files
stack/agents/researcher/work/queue-148/mutants/w5-answer-path-unchecked.patch
jason.woltje 4ff4f44c98 lead: commit researcher's untracked evidence (1406 files: queue-101 queue-105 queue-128 queue-134 queue-143 queue-148 queue-183 queue-228)
Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
2026-11-02 15:05:14 -06:00

12 lines
1.1 KiB
Diff

--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-148/mutants/.bak.xAjRgV/packages/webui/src/serve.mjs 2026-10-16 13:40:36.061650619 -0500
+++ packages/webui/src/serve.mjs 2026-10-16 13:40:36.981471043 -0500
@@ -222,7 +222,7 @@
? refuse(busStatus(code), code, code === 'stale-base' ? 'not saved: the file changed since you opened it. Reload it, then make your edit again' : `not saved: the bus refused it (${code})`)
: refuse(503, 'outcome-unknown', 'the save may have been made; nothing was retried. Reload the file before saving again', 'unknown');
}
- if (!COMMIT.test(result?.commit) || result.path !== value.path) return refuse(503, 'outcome-unknown', 'the bus answered without the new commit; the save may have been made. Reload the file before saving again', 'unknown');
+ if (!COMMIT.test(result?.commit) ) return refuse(503, 'outcome-unknown', 'the bus answered without the new commit; the save may have been made. Reload the file before saving again', 'unknown');
line(`commit=${result.commit}`);
return json(res, 200, { path: result.path, commit: result.commit, at: new Date().toISOString() });
}