Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(core): an undo checks references once its rows are back [H21]
Corey Olsone3207621c665
diff --git a/src/relay-outbox-undo.js b/src/relay-outbox-undo.jsindex 703d6e60..31b808d1 100644--- a/src/relay-outbox-undo.js+++ b/src/relay-outbox-undo.js@@ -113,6 +113,8 @@ export function undoQueued(board, entries) {let conflict = null;try {atomic(board, () => {+ // A move's rows come back table by table; references between them are checked once all are back.+ db.exec('PRAGMA defer_foreign_keys = ON');const triggers = db.prepare("SELECT name FROM sqlite_master WHERE type = 'trigger' AND name LIKE 'machine_%'").all();for (const { name } of triggers) db.exec(`DROP TRIGGER "${name.replaceAll('"', '""')}"`);for (const entry of [...entries].reverse()) {