Files
stack/agents/researcher/work/queue-148/mutants/e5-refusal-drops-draft.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
846 B
Diff

--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-148/mutants/.bak.xAjRgV/packages/webui/src/public/bus.js 2026-10-16 13:40:39.487893799 -0500
+++ packages/webui/src/public/bus.js 2026-10-16 13:40:42.688555847 -0500
@@ -706,7 +706,7 @@
if (res?.type === 'opaqueredirect') s.status = 'Sign in again. Draft kept.';
else if (res?.ok && /^[0-9a-f]{40}$/.test(body?.commit ?? '') && body.path === s.path) {
s.commit = body.commit; s.original = sent.content; s.status = `Saved as commit ${body.commit.slice(0, 12)}.`;
- } else if (body?.sent === false) s.status = `${typeof body.message === 'string' && body.message ? body.message : 'Not saved.'} Draft kept.`;
+ } else if (body?.sent === false) { s.status = 'Not saved.'; s.text = s.original; }
else s.status = unknown;
s.saving = false;
paintDoc();