Q135: remove the thread replay that only digested events and reconstructed nothing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 21:47:48 -04:00
1 parent 403c57785c
commit f8f852c326
21 files changed
+17 -288

No files matched your search

@@ -0,0 +1,7 @@
// Thread "replays" only digested audit events and could not reconstruct a run's context, tool calls or outside state.
export const dropAuditReplaysSchema = `
drop table if exists audit_replay_runs;
insert into schema_migrations(version, name, applied_at)
values (98, 'drop_audit_replays', datetime('now'));
`;
+2
View File
@@ -96,6 +96,7 @@ import { dropConfigCountEvalsSchema } from "./migrations/094-drop-config-count-e
import { dropPrBotGatesSchema } from "./migrations/095-drop-pr-bot-gates";
import { dropChaosDrillsSchema } from "./migrations/096-drop-chaos-drills";
import { dropDrillOnlySloSchema } from "./migrations/097-drop-drill-only-slo";
import { dropAuditReplaysSchema } from "./migrations/098-drop-audit-replays";
interface Migration {
version: number;
@@ -201,6 +202,7 @@ const MIGRATIONS: Migration[] = [
{ version: 95, name: "drop_pr_bot_gates", sql: dropPrBotGatesSchema },
{ version: 96, name: "drop_chaos_drills", sql: dropChaosDrillsSchema },
{ version: 97, name: "drop_drill_only_slo", sql: dropDrillOnlySloSchema },
{ version: 98, name: "drop_audit_replays", sql: dropAuditReplaysSchema },
];
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;