Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(wave9): regenerate goldens and size ratchets after the lane merges

time-attack40abb523d040
diff --git a/scripts/module-size-limits.tsv b/scripts/module-size-limits.tsv
index cfd04eec1e..1b15a62e3f 100644
--- a/scripts/module-size-limits.tsv
+++ b/scripts/module-size-limits.tsv
@@ -42,3 +42,4 @@ src/core/oauth-provider.ts 1236 ratchet new row: crossed the 1500 unlisted cap a
src/core/ops/pages.ts 663 ratchet crossed the unlisted 1500 cap in the fix wave: pack-vocabulary enforcement on capture (#4721) + get_page alias follow (#4275) landed together; next growth should peel a pages-ops submodule; +3: alias hop reads the canonical in the owning source (ship-review); +5: explicit source_id liveness check in get_page/list_pages (#4620); +3: #4857 total-order slug sort + list_pages source_id parse; +5: #4620 explicit removed-source id fails loudly; master integration: +4: authenticated delegated private-write boundary and auto-link suppression; #5105: canonical page mutations peeled into persistence modules; +2 v0.50.5.0 purge parameter and shared preflight call; preparation composes through the persistence modules; +7: source-qualified deep-research fetch authorization and ambiguity refusal (codec lives in deep-research-id.ts); +1 #5567: remote get_page keeps materialized markers; +1 #5622: trusted local capture file parameter; +5 #5709: get_page include_timeline_entries (rows via get_timeline's read policy); +8 GBRA-36 security wave: required outputRedaction policy on each pages op; +1 #5154: list_pages passes listColumnsOnly; +17 #5641: list_pages exposes the updated_after_slug keyset cursor and updated_at_iso; +8 agent operator wave A2: every op declares mutating + idempotent (tags only); +7 F3b (#5954): list_pages pagination meta + listing_truncated notice for MCP callers (logic in ops/list-pages-pagination.ts); +4 #5988: get_page file_held (one indexed hold lookup; logic in persistence/held-reads.ts)
src/core/search/mode.ts 1594 ratchet +10 System One v1: decide.* snapshot subset in loadSearchModeConfig, append-only dec= knobsHash part; +5 #3617 follow-up: v27 same-knobs behavioral-change note (relaxed-row fusion demotion rides the bump); new row: crossed the 1500 unlisted cap in the 2026-08 eval fix wave — KNOBS_HASH v=27 adaptive-return fold (ar/arem/arom/armk/ari parts + KnobsHashContext.adaptiveReturn field + contamination rationale comments) | merged v0.48.1.0 (+#4787) true-up; +master v0.48 merge true-up (reranker succession: no_key preflight, reranker_skipped stage, readiness); ranker wave v0.48.4.0: four knobs (expansion_variant_budget, relational_rerank_pin, keyword_arm_confidence_floor, metadata_boost_gate) + v29 hash parts + doc receipts (+218); #4781 loadSearchModeConfig reads the config table once via loadConfigSnapshot (+6); +4 #4359: update loadSearchModeConfig docstring — the cached path now reads config once (threaded snapshot), not twice; retired provider integration removed; +12 fw3-search: search.source_boosts + search.alias_token_hop read in the mode snapshot; +10 #5691: KnobsHashContext.queryPrefix and its append-only qp= part; P7 relational_planner / relational_orient_onehop knobs (interface docs, bundles, overrides, config parse, hash parts); +18 P7 relational_chain_slots knob (interface doc, bundles, override, config parse, rcs= hash part)
src/commands/eval-longmemeval.ts 1518 ratchet new row: crossed the 1500 unlisted cap in fw3-search (#5092 benchmark-brain recycling: configureBrain split + recycler wiring + test seams; the recycler itself lives in src/eval/longmemeval/harness.ts)
+src/commands/doctor/checks/extraction-sync.ts 1503 ratchet new row: crossed the 1500 unlisted cap at the fix wave 9 merge: +7 lane W #5028 (extract_atoms freshness judged by the phase itself) and +3 lane F #5863 (extract_health dates a high halt rate by its last halt), each under the cap alone
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index b05f915b16..1b7d89af04 100644
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@ -2,8 +2,8 @@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 204371,
- "stdoutSha256": "8d33599cb8debc9c7e0151a455c12cb1a79d802b27456fbc85db6bd48a20aace",
+ "stdoutBytes": 204468,
+ "stdoutSha256": "97c5e339227556a50c8efb05f6740d793148ad1bb18e67172af71788595a563f",
"toolNames": [
"remember",
"entity",
@@ -6254,7 +6254,7 @@
"type": "number"
},
"max_cost_usd": {
- "description": "Default 5.00",
+ "description": "Default 5.00 (an unpriced model then warns and runs). When set, an unpriced model is refused with no_pricing.",
"type": "number"
},
"no_mutate": {
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index edab1ffdaf..322e5bf7f4 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -507,7 +507,7 @@
},
{
"category": "meta",
- "message": "Version 209 (latest: 209)",
+ "message": "Version 211 (latest: 211)",
"name": "schema_version",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index 20733091ed..73103ac286 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -510,7 +510,7 @@
},
{
"category": "meta",
- "message": "Version 209 (latest: 209)",
+ "message": "Version 211 (latest: 211)",
"name": "schema_version",
"status": "ok"
},
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index 53db9d19c1..997a865047 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -503,7 +503,7 @@
},
{
"category": "meta",
- "message": "Version 209 (latest: 209)",
+ "message": "Version 211 (latest: 211)",
"name": "schema_version",
"status": "ok"
},
diff --git a/test/fixtures/goldens/migrations/records.json b/test/fixtures/goldens/migrations/records.json
index dc947a2b50..49c579e994 100644
--- a/test/fixtures/goldens/migrations/records.json
+++ b/test/fixtures/goldens/migrations/records.json
@@ -1,6 +1,6 @@
{
"golden": {
- "count": 204,
+ "count": 206,
"gaps": [
17,
18,
@@ -14,9 +14,13 @@
"PERSISTENCE_DATABASE_PENDING_INDEX_SQL": "6e0f618be33d037454933ea4dea11438413d45aef35d3bd4f33e89624d6e199e",
"PERSISTENCE_EFFECT_PARKED_INDEX_SQL": "0107863883415378d7c0dce7a0cbd5311c2c5a59fc0f81917cc8b767fd235cf2",
"PERSISTENCE_SYNC_RUN_INDEXES": "e1b12613c5fd2facb850e6857b0bddcf49b2478ec258fa226fe15e71e55df9c1",
+ "TOKEN_TTL_MAX_SECONDS": "f4a45bec6ec0bacc859dc57732ceb76cec7eb72f242b5a6c89d47190d0525ab4",
+ "TOKEN_TTL_MIN_SECONDS": "441d8ce6bd21f753de90abd3013eaa9992a469ea60c590f1005533618199aa25",
"buildIndexOnline": "c3c076436d7a1d161b94862125cafb9d3ba14d06e296a6379d6149452610285c",
+ "clampOAuthTokenTtls": "092945a432b8d1885068cce483cb959a62fd00ccd459fe97481414e8b5615bb6",
"dropInvalidConcurrentIndex": "6864d844b7dfb2fbecdd0fb9c73e06248473376feb794b3fe58f036c70d2d44c",
"getFtsLanguage": "0d790b4c4af1f67a2a1bbd59470beb13f434917b381931baf8404a41c5d903db",
+ "grantFromRow": "2d0603bb0f964d7e45e04aa76bac54cd4f6f63c91a8d9f028b60b4792bc1695e",
"hnswMaxDimsForType": "a187cdcc520f813b7c39da97ce53da58509232ed9f851627ef41abfe1b68bd26",
"migrateConnectorCheckpoints": "e0403022a56559556c82a9fa1e90d928f36e1d09c7db570e1d788a87d2dc9521",
"migrateLegacyTokens": "6e4abe3670127e7a495b56ecbf9f5789edd3a7362d45704656c2210a85b27f4c",
@@ -27,9 +31,10 @@
"repairLegacyTimelineSourceRows": "405d4ae158482c020b029b93aff1ae4ac6854e6948cafaf82dbef473e6e5552e",
"seedConnectorDispatchAttempts": "2395a3995a6bf78776d37e72ce79b0dd15f6c6fa7f81c40612a744cb74ab01a5",
"slugifyPath": "401dbca23580865d8b168dd8d84db4a6c708c6610d7cb61abafc7d0ee9809063",
+ "sqlQueryForEngine": "71fb1ccec1b22cdc1662876dbd8c17ed81e9ab83485c6965cdf5caa4fc4a4ab5",
"verifyProjectionStatistics": "59d9ccfea1c53384d8607874a51209a9c2dfd51b2b85a2cb6269fa4120faf1f3"
},
- "latest": 209,
+ "latest": 211,
"records": [
{
"handler": {
@@ -2184,8 +2189,8 @@
"idempotent": true,
"name": "durable_fact_withdrawals",
"sql": {
- "length": 2953,
- "sha256": "8bd0ad30991b16d6d79bbad9d8029d6c820c3ea98e27c9d26912b97a5d2f45ec"
+ "length": 3221,
+ "sha256": "e9e527dac29fc5b4fe57f9aba168b5aab56726d725b25ec089794f5221d8b01e"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2210,8 +2215,8 @@
"idempotent": true,
"name": "canonical_page_revisions_and_guards",
"sql": {
- "length": 4650,
- "sha256": "37f44616fc2a02dfaf6888c456b0bb2fc5f1ca8474fc48e147e903d981ff3b88"
+ "length": 4724,
+ "sha256": "c04f8117c2e6c7b9d3c3328acd27f56aa0c2eeddcc32843bec7caf0fb5f9a29b"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2223,8 +2228,8 @@
"idempotent": true,
"name": "durable_concurrent_persistence",
"sql": {
- "length": 10148,
- "sha256": "ef80a3b5175372ceeceedaa599641e6313bb8998e28719372f9a1cb11e548abc"
+ "length": 10185,
+ "sha256": "5c29e2ba0eed52dbab814e8bb2e99eda48c9ccd26f4d97f2274adc5c1712a8b7"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2249,8 +2254,8 @@
"idempotent": true,
"name": "verified_text_projection_activation",
"sql": {
- "length": 2508,
- "sha256": "7c741ba1dc5f01d9db5d73fcbd6963eed0b2d834f76b68ff372421972b408120"
+ "length": 2545,
+ "sha256": "0ce686d328e43d51c806c62161ceafaf6724957fa1652a7b9855b3a4b9c0547f"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2262,8 +2267,8 @@
"idempotent": true,
"name": "preserve_sanitized_page_search_vectors",
"sql": {
- "length": 2072,
- "sha256": "dbb1c7a4af028676a924488f30377b18798421011d70d1f81fd75b86f1dd5e6f"
+ "length": 2109,
+ "sha256": "a03fa150bbe0f7a5414bbc15b644f4bc67ba1bbef1e16081f7b293de6f1968a4"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2288,8 +2293,8 @@
"idempotent": true,
"name": "managed_alias_and_source_checkpoint_guards",
"sql": {
- "length": 5299,
- "sha256": "dc17c52129cc4504c716a29e84ccb0dbbaaf973b2359e522b226a69e7e872baf"
+ "length": 5336,
+ "sha256": "0791cfc72706a9fad3c32e54842d1aa1238a57172425e552134517421223c675"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2397,8 +2402,8 @@
"idempotent": true,
"name": "derived_atom_page_scan_state",
"sql": {
- "length": 2972,
- "sha256": "c59f17705f05816558b945b3804e74d98b58651965f927762bd61ffebaafeb31"
+ "length": 3009,
+ "sha256": "e2bf98ab12a9b9cb899413a1fff66c3432d63875ac338845d7f5dc094fc00cc8"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2410,8 +2415,8 @@
"idempotent": true,
"name": "shared_brain_skills_and_membership",
"sql": {
- "length": 15695,
- "sha256": "3168321cdca10d59e24f4fc105e97b7f538683381b984d6a973685e8612ae4cb"
+ "length": 15917,
+ "sha256": "6d54ba001944603fd35abe6d6f355f106322a4e0dda206cfd93622fc1493e4aa"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2447,8 +2452,8 @@
"idempotent": true,
"name": "fact_embedding_identity",
"sql": {
- "length": 5444,
- "sha256": "afc6dc24ee5a44d7bc4629b9b02b7eb0193265c2d03456dce0590d28b9481ea3"
+ "length": 5481,
+ "sha256": "a9418ca9a8c10990b77eddc16e2e38eee1ba77d53e802936247c94eccadacff7"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2486,8 +2491,8 @@
"idempotent": true,
"name": "fact_withdrawal_subject",
"sql": {
- "length": 2925,
- "sha256": "2d559ed32643667b67951398b74ee218e8b5d98ed86f15a909dd13d2d56aa4db"
+ "length": 3193,
+ "sha256": "d6d5fdfcea9c4deae6debb67760cbf7c29b1747c62dce3ad721ea93e73972dc1"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2570,8 +2575,8 @@
"idempotent": true,
"name": "fact_withdrawal_normalized_fingerprint",
"sql": {
- "length": 3669,
- "sha256": "8f7b91c2274b3e5b5d6e387e3efd6bfb57635c184b16741cca4aba6a172d705c"
+ "length": 3937,
+ "sha256": "68db3dc02333d00847d9d8ce4c47d484b5a67cbbf5ce619eba8b6a263eb07663"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2846,8 +2851,8 @@
"idempotent": true,
"name": "take_embedding_identity",
"sql": {
- "length": 5444,
- "sha256": "ece0222a3769627f4da004eaea23104a715e1d19a702412d9c6fa2fb747656a5"
+ "length": 5481,
+ "sha256": "98409b6776bdc98d65db3bff2afce7adb9ecb34bab5ddf8bd364e528ee4f4eea"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2859,8 +2864,8 @@
"idempotent": true,
"name": "f1_write_attribution",
"sql": {
- "length": 14141,
- "sha256": "84a871cf72f406995b8596058c0943fa261db4532c0a0bc0cb10b443ce224bb9"
+ "length": 14289,
+ "sha256": "7ea729556506f9d73682f50fb7c26950a61cc3b60ab82d3d2fcbd4252956fb9f"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2903,8 +2908,8 @@
},
"sqlFor": {
"pglite": {
- "length": 3815,
- "sha256": "665c078e7bb26f924eb846aa0a737fba16239519ab0237cd8f5d948ce3af062b"
+ "length": 3852,
+ "sha256": "12712ae984d1cf181addbcaf34f60df16fc0dd8f09f886652c576105688f1bf2"
},
"postgres": "absent"
},
@@ -2917,8 +2922,8 @@
"idempotent": true,
"name": "managed_guard_null_source_fallback",
"sql": {
- "length": 4801,
- "sha256": "37663cf40c990e0d7c8f0b4a88f561b12b376df6c49a9dc073ef3f555fe459e8"
+ "length": 4838,
+ "sha256": "d42aecea4f34cc10bdc8201268a284c353d71e389d423c4891a4953a26eaf3c0"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2930,8 +2935,8 @@
"idempotent": true,
"name": "publication_failure_detail",
"sql": {
- "length": 4892,
- "sha256": "12aed519e77f91a5e04a0bbc00d425773178a5c1b84d46dca37509ee3adf26eb"
+ "length": 4929,
+ "sha256": "7eed76362cdf4a94019b53229c4fa56c88be9aea371db497d6614ea5eba3cd7a"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -2975,8 +2980,8 @@
"idempotent": true,
"name": "persistence_graduation",
"sql": {
- "length": 1498,
- "sha256": "79590a9d55a008e72d52b9b2482a4071b0b0736bac505bdfebf8d23a5ff7b098"
+ "length": 1535,
+ "sha256": "3ff1ed891459e532fd88d88b3f71b30d8bc24c1402608935108c6304899da997"
},
"sqlFor": "absent",
"transaction": "absent",
@@ -3085,7 +3090,7 @@
{
"handler": "absent",
"idempotent": true,
- "name": "w9_p_facts_reconcile",
+ "name": "page_facts_reconcile",
"sql": {
"length": 588,
"sha256": "f29640b05b0676eaa08c2bb65e8bfd1525021b8548848247761233d8b309b93a"
@@ -3094,6 +3099,44 @@
"transaction": "absent",
"verify": "absent",
"version": 209
+ },
+ {
+ "handler": {
+ "form": "identifier",
+ "helpers": [
+ "TOKEN_TTL_MAX_SECONDS",
+ "TOKEN_TTL_MIN_SECONDS",
+ "clampOAuthTokenTtls",
+ "grantFromRow",
+ "migrationNotice",
+ "quietMigrationNotices",
+ "sqlQueryForEngine"
+ ],
+ "sha256": "76aab609fde72769fdac91a4ae5cca12d693bcc4eda22ce76ce253b7439926bb"
+ },
+ "idempotent": true,
+ "name": "clamp_oauth_token_ttl",
+ "sql": {
+ "length": 0,
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 210
+ },
+ {
+ "handler": "absent",
+ "idempotent": true,
+ "name": "function_search_path",
+ "sql": {
+ "length": 1861,
+ "sha256": "5370a8f6ef1ca8787e677af523927605c2fa1de61674efd5b006a5673fbb1eca"
+ },
+ "sqlFor": "absent",
+ "transaction": "absent",
+ "verify": "absent",
+ "version": 211
}
],
"versions": [
@@ -3300,7 +3343,9 @@
206,
207,
208,
- 209
+ 209,
+ 210,
+ 211
]
},
"normalizer": "migrations-record-v1"