Files
stack/agents/researcher/work/queue-148/mutants/p4-creates-missing-file.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
903 B
Diff

--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-148/mutants/.bak.xAjRgV/packages/project/src/index.mjs 2026-10-16 13:40:31.648229526 -0500
+++ packages/project/src/index.mjs 2026-10-16 13:40:33.354417080 -0500
@@ -251,7 +251,7 @@
if (typeof base !== 'string' || !/^[0-9a-f]{40}$/.test(base)) throw new ProjectError('project-record-invalid', 'expected the full commit the editor opened');
const name = checkedId(context.business.human);
const guard = async ({ before }) => {
- if (before === null) throw new ProjectError('project-read-missing', 'only an existing document can be saved');
+ if (false) throw new ProjectError('project-read-missing', 'only an existing document can be saved');
if (await git(repo, ['log', '-1', '--format=%H', 'HEAD', '--', path]) !== base)
throw new ProjectError('stale-base', 'the file changed since the editor opened it');
};