Q129: a run with failed actions it never redid does not count as completed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6afd7bef2a
commit
271a83a7bc
7 files changed
+209
-23
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// What each journaled action acted on; rows from before stay null, meaning any later success of the same tool redoes them.
|
||||
export const runActionTargetsSchema = `
|
||||
alter table run_actions add column target text;
|
||||
|
||||
insert into schema_migrations(version, name, applied_at)
|
||||
values (92, 'run_action_targets', datetime('now'));
|
||||
`;
|
||||
@@ -90,6 +90,7 @@ import { hostAccessNoteSchema } from "./migrations/088-host-access-note";
|
||||
import { fileVersionsSchema } from "./migrations/089-file-versions";
|
||||
import { erasureReceiptsSchema } from "./migrations/090-erasure-receipts";
|
||||
import { requestPurposeSchema } from "./migrations/091-request-purpose";
|
||||
import { runActionTargetsSchema } from "./migrations/092-run-action-targets";
|
||||
|
||||
interface Migration {
|
||||
version: number;
|
||||
@@ -189,6 +190,7 @@ const MIGRATIONS: Migration[] = [
|
||||
{ version: 89, name: "file_versions", sql: fileVersionsSchema },
|
||||
{ version: 90, name: "erasure_receipts", sql: erasureReceiptsSchema },
|
||||
{ version: 91, name: "request_purpose", sql: requestPurposeSchema },
|
||||
{ version: 92, name: "run_action_targets", sql: runActionTargetsSchema },
|
||||
];
|
||||
|
||||
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;
|
||||
|
||||
Reference in new issue
Block a user