Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(chronicle): classify judge window hashes in the deletion inventory; regenerate the upgrade-replay catalog golden
garrytan2ab2b5ac7dc8
diff --git a/src/core/deletion-inventory.ts b/src/core/deletion-inventory.tsindex 9a28847f38..6b29f10760 100644--- a/src/core/deletion-inventory.ts+++ b/src/core/deletion-inventory.ts@@ -54,7 +54,7 @@ const ROWS: readonly Row[] = [['calibration_profiles', 'out_of_scope', 'probed_reported', 'source_id holder wave_version domain_scorecards pattern_statements active_bias_tags model_id', 'pattern_statements domain_scorecards'],['chat_usage_log', 'out_of_scope', 'no_memory_text', 'model provider phase'],['chronicle_judge_reservations', 'out_of_scope', 'no_memory_text', 'source_id content_hash'],- ['chronicle_page_state', 'out_of_scope', 'no_memory_text', 'source_id content_hash slug state reason trigger principal_kind principal_id event_slugs event_hashes campaign_id pricing_policy'],+ ['chronicle_page_state', 'out_of_scope', 'no_memory_text', 'source_id content_hash slug state reason trigger principal_kind principal_id event_slugs event_hashes campaign_id pricing_policy judge_input_hash judge_window_hash'],['code_edges_chunk', 'out_of_scope', 'no_memory_text', 'from_symbol_qualified to_symbol_qualified edge_type edge_metadata source_id'],['code_edges_symbol', 'out_of_scope', 'no_memory_text', 'from_symbol_qualified to_symbol_qualified edge_type edge_metadata source_id'],['code_traversal_cache', 'out_of_scope', 'no_memory_text', 'symbol_qualified source_id response_json'],diff --git a/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.json b/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.jsonindex 10bacf4139..187b065383 100644--- a/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.json+++ b/test/fixtures/goldens/pglite-upgrade-replay/catalog-after-boot.json@@ -52,6 +52,7 @@"chat_usage_log.chat_usage_log_pkey": "p PRIMARY KEY (id)","chronicle_judge_reservations.chronicle_judge_reservations_pkey": "p PRIMARY KEY (id)","chronicle_page_state.chronicle_page_state_attempts_check": "c CHECK ((attempts >= 0))",+ "chronicle_page_state.chronicle_page_state_judge_window_chars_check": "c CHECK ((judge_window_chars >= 0))","chronicle_page_state.chronicle_page_state_max_attempts_check": "c CHECK ((max_attempts > 0))","chronicle_page_state.chronicle_page_state_page_id_fkey": "f FOREIGN KEY (page_id) REFERENCES pages(id) ON DELETE CASCADE","chronicle_page_state.chronicle_page_state_pkey": "p PRIMARY KEY (source_id, page_id, content_hash, extractor_version)",@@ -2042,7 +2043,10 @@"23 max_attempts integer/int4 NULL","24 pricing_policy text/text NULL","25 campaign_max_usd numeric/numeric NULL",- "26 cost_attempts ARRAY/_int4 NOT NULL DEFAULT '{}'::integer[]"+ "26 cost_attempts ARRAY/_int4 NOT NULL DEFAULT '{}'::integer[]",+ "27 judge_input_hash text/text NULL",+ "28 judge_window_chars integer/int4 NULL",+ "29 judge_window_hash text/text NULL"],"flags": "relkind=r rls=true force_rls=false"},