Candidate on 0bdd573ff + row 49 r1 (manifest 87ef1321...), 21 mutants killed,
targeted gate green. Nothing landed or pushed.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
32 lines
2.3 KiB
Diff
32 lines
2.3 KiB
Diff
--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-123/mutants/.bak.GBHIwo/packages/bus/schema.sql 2026-10-15 11:27:07.327315441 -0500
|
|
+++ packages/bus/schema.sql 2026-10-15 11:27:07.730516297 -0500
|
|
@@ -124,7 +124,7 @@
|
|
WHEN NEW.op = 'release' AND (SELECT holder_run FROM role_claims WHERE business = NEW.business AND role = NEW.role ORDER BY seq DESC LIMIT 1) <> NEW.holder_run
|
|
BEGIN SELECT RAISE(ABORT, 'only the holder releases; others revoke'); END;
|
|
CREATE TRIGGER role_revoke_needs_decision BEFORE INSERT ON role_claims
|
|
- WHEN NEW.op = 'revoke' AND NEW.decision IS NULL AND NEW.reason IS NULL
|
|
+ WHEN 0
|
|
BEGIN SELECT RAISE(ABORT, 'revoke needs a resolved decision or a reason'); END;
|
|
CREATE TRIGGER meta_no_update BEFORE UPDATE ON meta BEGIN SELECT RAISE(ABORT, 'meta is append-only'); END;
|
|
CREATE TRIGGER meta_no_delete BEFORE DELETE ON meta BEGIN SELECT RAISE(ABORT, 'meta is append-only'); END;
|
|
--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-123/mutants/.bak.GBHIwo/packages/bus/src/migrations/3c-3d.sql 2026-10-15 11:27:07.349924931 -0500
|
|
+++ packages/bus/src/migrations/3c-3d.sql 2026-10-15 11:27:07.751516503 -0500
|
|
@@ -1,5 +1,5 @@
|
|
-- Row 123 (#1617): a revoke needs a resolved decision or a reason (the chief of staff's role.end).
|
|
DROP TRIGGER role_revoke_needs_decision;
|
|
CREATE TRIGGER role_revoke_needs_decision BEFORE INSERT ON role_claims
|
|
- WHEN NEW.op = 'revoke' AND NEW.decision IS NULL AND NEW.reason IS NULL
|
|
+ WHEN 0
|
|
BEGIN SELECT RAISE(ABORT, 'revoke needs a resolved decision or a reason'); END;
|
|
--- /mnt/storage/src/mosaic-stack/agents/researcher/work/queue-123/mutants/.bak.GBHIwo/packages/bus/src/store.mjs 2026-10-15 11:27:07.371076466 -0500
|
|
+++ packages/bus/src/store.mjs 2026-10-15 11:27:07.775516739 -0500
|
|
@@ -13,7 +13,7 @@
|
|
import { createHash } from 'node:crypto';
|
|
|
|
const ddl = readFileSync(new URL('../schema.sql', import.meta.url), 'utf8');
|
|
-export const SCHEMA_SHA256 = 'e4f1de9e16d2fab5e051fd3810189b28cc76a670cfe573b752d9f53bf9ca39b5';
|
|
+export const SCHEMA_SHA256 = '93eba5f30b6e76c6c6aa2f76242cf08ffc8fd48789e8b315c8bcdb8cbccda699';
|
|
export const SCHEMA_VERSION = '3d';
|
|
// Ordered, named offline steps. New schema changes append a step and keep prior DDL pinned.
|
|
const legacyDDL = readFileSync(new URL('./migrations/3b.sql', import.meta.url), 'utf8');
|