Q132: remove PR bot gates that no task completion or goal close consulted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe45cd4d46
commit
e562444487
19 files changed
+35
-151
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// PR bot gates were switches that no task completion or goal close ever consulted, so turning one on blocked nothing.
|
||||
export const dropPrBotGatesSchema = `
|
||||
drop table if exists pr_bot_gates;
|
||||
|
||||
insert into schema_migrations(version, name, applied_at)
|
||||
values (95, 'drop_pr_bot_gates', datetime('now'));
|
||||
`;
|
||||
@@ -93,6 +93,7 @@ import { requestPurposeSchema } from "./migrations/091-request-purpose";
|
||||
import { runActionTargetsSchema } from "./migrations/092-run-action-targets";
|
||||
import { taskEnqueueErrorSchema } from "./migrations/093-task-enqueue-error";
|
||||
import { dropConfigCountEvalsSchema } from "./migrations/094-drop-config-count-evals";
|
||||
import { dropPrBotGatesSchema } from "./migrations/095-drop-pr-bot-gates";
|
||||
|
||||
interface Migration {
|
||||
version: number;
|
||||
@@ -195,6 +196,7 @@ const MIGRATIONS: Migration[] = [
|
||||
{ version: 92, name: "run_action_targets", sql: runActionTargetsSchema },
|
||||
{ version: 93, name: "task_enqueue_error", sql: taskEnqueueErrorSchema },
|
||||
{ version: 94, name: "drop_config_count_evals", sql: dropConfigCountEvalsSchema },
|
||||
{ version: 95, name: "drop_pr_bot_gates", sql: dropPrBotGatesSchema },
|
||||
];
|
||||
|
||||
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;
|
||||
|
||||
Reference in new issue
Block a user