Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge fix lane A (published-manifest chunk guard, demotion-safe retire, staging text holds via v252, keep retired_generation) into capy/large-pages-segmented-reads; regenerate schema, migration and doctor goldens
garrytanb9787c6a91bf
diff --cc src/core/behavior-change-notice.tsindex 092420b907,ccfcf7c698..77b39ff41b--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@@ -660,12 -660,8 +660,13 @@@ export const BEHAVIOR_CHANGES: Readonly{ since: 'TBD', text: '`delete_page` (soft and `purge: true`), `restore_page`, `gbrain delete` and `gbrain restore` now work on a page over 24 MiB on a source backed by files: the file is compared with the page by digest, streamed, and a file edited on disk still refuses as before. Restoring such a page clears its deletion without re-importing it and writes its file back from the database; the 25 MiB pre-push scan cap on written files still applies, and a core page or an external_untrusted writer still refuses.' },{ since: 'TBD', text: 'A write that stores a page in segments says in its receipt whether search sees it: `searchable: true` when it commits (every new page up to 4 MiB and every rewrite), or `searchable: "pending"` for a larger new page while its chunks are built after commit, with `searchable_retry_after_ms` and a `searchable_fix` that reads the receipt again (`get_write_request`) until it says `searchable: true`. A new page up to 4 MiB was previously searchable only once a post-commit build finished.' },{ since: 'TBD', text: '`gbrain projections drain` now builds pages stored in segments whose post-commit build never ran or died, skipping one another process is still building (claim renewed within 60 s), so a brain with no resident writer can make a large new page searchable. A pending receipt\'s `searchable_fix` names it as the fallback after the re-read wait, and doctor `text_projection_readiness` counts such pages (`segmented_pending`) and points to it.' },+ { since: 'TBD', text: 'The maintenance sweep (`gbrain sweep`, the serve idle sweep) links a page stored in segments on its own after the inline pages, smallest first, and stops reading one at its time budget; a page that does not fit is skipped with reason `budget_deferred:segmented_page`, left for `gbrain extract --stale`, and later sweeps in the same process skip it (`segmented_page_deferred`) until it changes. Derived passes over a page stored in segments no longer refuse a page of short lines or dated bullets over 8 MiB with `page_body_segmented`.' },+ { since: 'TBD', text: 'Deleting and restoring a page over 24 MiB on a source backed by files is now lossless up to the page ceiling (`pages.max_bytes`). `restore_page` and `gbrain restore` write the file back byte for byte by streaming it from the stored segments into its staging file, including a file over the 25 MiB pre-push scan cap (the restore used to refuse with `request_too_large`, so the file a soft delete had removed could not be put back on disk). A delete or restore that replaces or removes a file over 24 MiB keeps the prior file as a staged copy beside it (a hidden `.<sha256>.tmp.before-<uuid>` file) until the write commits, named in its recovery record by path and SHA-256 instead of embedded in it: the record stays a few hundred bytes, the recovery reservation counts the file once (a 90 MiB delete used to need 283 MB against the 256 MiB `persistence.limits.worktree_recovery_bytes` budget and was refused), and a crash between removing the file and committing renames the copy back. A page whose file plus its staging does not fit that budget (a Postgres page near the 256 MiB ceiling) is still refused with `request_too_large` before anything is touched. `gbrain repair stuck-recovery` refuses such a recovery with `recovery_large_file_unsupported` (resolve it by hand; the resident writer finishes it).' },+ { since: 'TBD', text: 'A page purge (`delete_page` with `purge: true`, `gbrain delete --purge` and the 72-hour hard delete of soft-deleted pages) of a page stored in segments no longer breaks another page\'s write that is still being prepared with some of the same text: the purge keeps exactly the segment texts such a write staged, and still deletes every other text only the purged page used. `restore_page` of a page over 24 MiB whose old chunks were still waiting to be removed returns `projection: "pending"` and makes the page searchable once they are gone, instead of showing the old text in search.' },{ since: 'TBD', text: 'Chunks of a page stored in segments keep a Markdown heading with the text after it, so a section appended after a full last chunk re-embeds only its own chunk (was two). Inline pages chunk as before.' },+ { since: 'TBD', text: 'The pre-push secret scan (`gbrain sources push` and the automatic pushes) now scans a staged file over 25 MiB in bounded 8 Mi-character windows streamed from git, instead of refusing the push as `blocked_unscannable`: a clean large file pushes, and one holding a secret is refused as `blocked_secrets` naming its file and line. A staged file over 512 MiB still refuses as `blocked_unscannable`.' },+ { since: 'TBD', text: 'On Postgres, title search, the source-scoped vector scan, the chunk windows search reads around its hits and `get_page` now read the new `page_body_manifest` table for every page, inline ones included, whether or not `pages.segmented_storage` is on. A database role that neither owns the tables nor bypasses row level security needs `SELECT` on it, or those reads fail with `permission_denied` (42501). Row level security is on for the new segment tables (`page_segment_texts`, `page_body_manifest`, `page_body_stagings`, `page_body_staging_parts`, `page_view_digests`) and is re-enabled on every schema replay, as for `pages`, so a role without a policy reads none of their rows. Grant the table together with the source-scoped policies in docs/ENGINES.md ("Segmented page tables"), never with an open policy, or the role reads every source\'s segment text. A runtime role that owns the tables or bypasses row level security, the default setup, needs nothing.' },+ { since: 'TBD', text: 'MCP `get_page` of a page stored in segments no longer reports `size.body_bytes` or `size.body_lines` (the stored body) to a remote caller, and its `page_body_segmented` refusal names the size of the body that caller may read, as for an inline page; the difference told how much text privacy fences and withdrawals hide. A local `gbrain get` still reports both.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */diff --cc src/core/page-body/schema.tsindex 99e700a91e,220385c97f..4df12149e0--- a/src/core/page-body/schema.ts+++ b/src/core/page-body/schema.ts@@@ -133,29 -161,5 +161,30 @@@ CREATE TABLE IF NOT EXISTS page_body_stsha256 BYTEA NOT NULL,body BYTEA NOT NULL,PRIMARY KEY (staging_id, part_no)- );`;+ );+ ${PAGE_BODY_STAGING_TEXTS_SQL}`;++/**+ * The segment tables hold page text (`page_segment_texts`, `page_body_staging_parts`) or a page's shape and+ * headings (`page_body_manifest`, `page_body_stagings`, `page_view_digests`), so they get the posture of `pages`+ * and `content_chunks`: RLS on, re-asserted on every schema replay like the core list in src/schema.sql, so a brain+ * the auto-RLS event trigger (v35) missed, or one where it was dropped or disabled, never serves segment text to a+ * role `pages` returns no rows to. Only under a role that bypasses RLS (else the runtime role would lock itself out),+ * and only for a table still without it (ENABLE takes an ACCESS EXCLUSIVE lock even when RLS is on, #5227).+ * `page_view_digests` is absent while migration v248 runs. Postgres only: PGLite has no role system, and its+ * bootstrap enables RLS on no core table either. Source-scoped policies are operator SQL (docs/ENGINES.md).+ */- export const PAGE_BODY_RLS_TABLES = ['page_segment_texts', 'page_body_manifest', 'page_body_stagings', 'page_body_staging_parts', 'page_view_digests'] as const;++export const PAGE_BODY_RLS_TABLES = ['page_segment_texts', 'page_body_manifest', 'page_body_stagings', 'page_body_staging_parts', 'page_view_digests', 'page_body_staging_texts'] as const;+export const PAGE_BODY_RLS_SQL = `DO $rls$+DECLARE target TEXT;+BEGIN+ IF EXISTS (SELECT 1 FROM pg_roles r WHERE pg_has_role(current_user, r.oid, 'USAGE') AND (r.rolbypassrls OR r.rolsuper)) THEN+ FOREACH target IN ARRAY ARRAY[${PAGE_BODY_RLS_TABLES.map(t => `'${t}'`).join(',')}] LOOP+ IF EXISTS (SELECT 1 FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace+ WHERE n.nspname = current_schema() AND c.relname = target AND c.relkind = 'r' AND NOT c.relrowsecurity) THEN+ EXECUTE format('ALTER TABLE %I ENABLE ROW LEVEL SECURITY', target);+ END IF;+ END LOOP;+ END IF;+END $rls$;`;+diff --cc src/core/pglite-schema.generated.tsindex 638eaaf452,da04f6d909..1e0953025d--- a/src/core/pglite-schema.generated.ts+++ b/src/core/pglite-schema.generated.ts@@@ -1372,9 -1369,14 +1372,16 @@@ CREATE TABLE IF NOT EXISTS page_body_stbody BYTEA NOT NULL,PRIMARY KEY (staging_id, part_no));+ CREATE TABLE IF NOT EXISTS page_body_staging_texts (+ staging_id UUID NOT NULL REFERENCES page_body_stagings(id) ON DELETE CASCADE,+ source_id TEXT NOT NULL,+ sha256 BYTEA NOT NULL,+ PRIMARY KEY (staging_id, sha256)+ );+ CREATE INDEX IF NOT EXISTS page_body_staging_texts_text ON page_body_staging_texts (source_id, sha256);++-- Durable concurrent persistence (migration 151).CREATE TABLE IF NOT EXISTS persistence_brain (singleton integer PRIMARY KEY CHECK (singleton = 1),diff --cc src/core/schema-embedded.generated.tsindex f0cf036a58,a962e24291..f080963903--- a/src/core/schema-embedded.generated.ts+++ b/src/core/schema-embedded.generated.ts@@@ -2108,23 -2105,15 +2109,30 @@@ CREATE TABLE IF NOT EXISTS page_body_stbody BYTEA NOT NULL,PRIMARY KEY (staging_id, part_no));+ CREATE TABLE IF NOT EXISTS page_body_staging_texts (+ staging_id UUID NOT NULL REFERENCES page_body_stagings(id) ON DELETE CASCADE,+ source_id TEXT NOT NULL,+ sha256 BYTEA NOT NULL,+ PRIMARY KEY (staging_id, sha256)+ );+ CREATE INDEX IF NOT EXISTS page_body_staging_texts_text ON page_body_staging_texts (source_id, sha256);-- END GENERATED from src/core/page-body/schema.ts (PAGE_BODY_SCHEMA_SQL)+-- BEGIN GENERATED from src/core/page-body/schema.ts (PAGE_BODY_RLS_SQL). Edit that file, then run: bun run build:schema+DO \$rls\$+DECLARE target TEXT;+BEGIN+ IF EXISTS (SELECT 1 FROM pg_roles r WHERE pg_has_role(current_user, r.oid, 'USAGE') AND (r.rolbypassrls OR r.rolsuper)) THEN- FOREACH target IN ARRAY ARRAY['page_segment_texts','page_body_manifest','page_body_stagings','page_body_staging_parts','page_view_digests'] LOOP++ FOREACH target IN ARRAY ARRAY['page_segment_texts','page_body_manifest','page_body_stagings','page_body_staging_parts','page_view_digests','page_body_staging_texts'] LOOP+ IF EXISTS (SELECT 1 FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace+ WHERE n.nspname = current_schema() AND c.relname = target AND c.relkind = 'r' AND NOT c.relrowsecurity) THEN+ EXECUTE format('ALTER TABLE %I ENABLE ROW LEVEL SECURITY', target);+ END IF;+ END LOOP;+ END IF;+END \$rls\$;+-- END GENERATED from src/core/page-body/schema.ts (PAGE_BODY_RLS_SQL)+-- Durable concurrent persistence (migration 151).-- BEGIN GENERATED from src/core/persistence/schema.ts (PERSISTENCE_SCHEMA_STATEMENTS). Edit that file, then run: bun run build:schemaCREATE TABLE IF NOT EXISTS persistence_brain (diff --cc src/core/schema-migrations/registry.generated.tsindex 1299e62608,2ecce21c43..d636d11e67--- a/src/core/schema-migrations/registry.generated.ts+++ b/src/core/schema-migrations/registry.generated.ts@@@ -251,7 -251,7 +251,8 @@@ import { v247 } from './v247-page-extraimport { v248 } from './v248-segmented-page-storage.ts';import { v249 } from './v249-segmented-chunk-gc-index.ts';import { v250 } from './v250-page-view-digests.ts';+import { v251 } from './v251-segment-reader-marks.ts';+ import { v252 } from './v252-page-body-staging-texts.ts';// Array order is historical (see HISTORICAL_ARRAY_ORDER in the generator); the// runner sorts by version before applying.@@@ -501,5 -501,5 +502,6 @@@ export const MIGRATIONS: Migration[] =v248,v249,v250,+ v251,+ v252,];diff --cc src/schema.sqlindex c545aefd0c,f835495bf4..1dfa437bf2--- a/src/schema.sql+++ b/src/schema.sql@@@ -2104,23 -2101,15 +2105,30 @@@ CREATE TABLE IF NOT EXISTS page_body_stbody BYTEA NOT NULL,PRIMARY KEY (staging_id, part_no));+ CREATE TABLE IF NOT EXISTS page_body_staging_texts (+ staging_id UUID NOT NULL REFERENCES page_body_stagings(id) ON DELETE CASCADE,+ source_id TEXT NOT NULL,+ sha256 BYTEA NOT NULL,+ PRIMARY KEY (staging_id, sha256)+ );+ CREATE INDEX IF NOT EXISTS page_body_staging_texts_text ON page_body_staging_texts (source_id, sha256);-- END GENERATED from src/core/page-body/schema.ts (PAGE_BODY_SCHEMA_SQL)+-- BEGIN GENERATED from src/core/page-body/schema.ts (PAGE_BODY_RLS_SQL). Edit that file, then run: bun run build:schema+DO $rls$+DECLARE target TEXT;+BEGIN+ IF EXISTS (SELECT 1 FROM pg_roles r WHERE pg_has_role(current_user, r.oid, 'USAGE') AND (r.rolbypassrls OR r.rolsuper)) THEN- FOREACH target IN ARRAY ARRAY['page_segment_texts','page_body_manifest','page_body_stagings','page_body_staging_parts','page_view_digests'] LOOP++ FOREACH target IN ARRAY ARRAY['page_segment_texts','page_body_manifest','page_body_stagings','page_body_staging_parts','page_view_digests','page_body_staging_texts'] LOOP+ IF EXISTS (SELECT 1 FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace+ WHERE n.nspname = current_schema() AND c.relname = target AND c.relkind = 'r' AND NOT c.relrowsecurity) THEN+ EXECUTE format('ALTER TABLE %I ENABLE ROW LEVEL SECURITY', target);+ END IF;+ END LOOP;+ END IF;+END $rls$;+-- END GENERATED from src/core/page-body/schema.ts (PAGE_BODY_RLS_SQL)+-- Durable concurrent persistence (migration 151).-- BEGIN GENERATED from src/core/persistence/schema.ts (PERSISTENCE_SCHEMA_STATEMENTS). Edit that file, then run: bun run build:schemaCREATE TABLE IF NOT EXISTS persistence_brain (diff --cc test/fixtures/goldens/catalog/postgres-db-initschema.jsonindex b292ecc228,93af710e7d..52fd261b9b--- a/test/fixtures/goldens/catalog/postgres-db-initschema.json+++ b/test/fixtures/goldens/catalog/postgres-db-initschema.json@@@ -2024,8 -2028,16 +2031,16 @@@"5 sha256 bytea/bytea NOT NULL","6 body bytea/bytea NOT NULL"],- "flags": "relkind=r rls=false force_rls=false"+ "flags": "relkind=r rls=true force_rls=false"},+ "page_body_staging_texts": {+ "columns": [+ "1 staging_id uuid/uuid NOT NULL",+ "2 source_id text/text NOT NULL",+ "3 sha256 bytea/bytea NOT NULL"+ ],- "flags": "relkind=r rls=false force_rls=false"++ "flags": "relkind=r rls=true force_rls=false"+ },"page_body_stagings": {"columns": ["1 id uuid/uuid NOT NULL",diff --cc test/fixtures/goldens/doctor/content-pglite-human.jsonindex 71823831c6,aad2543902..2f77eeb326--- a/test/fixtures/goldens/doctor/content-pglite-human.json+++ b/test/fixtures/goldens/doctor/content-pglite-human.json@@@ -72,7 -72,7 +72,7 @@@" [OK] pglite_scale: PGLite at 5 pages — comfortable below the 1000-page threshold"," [OK] rls: Skipped (PGLite — no PostgREST exposure, RLS not applicable)"," [OK] schema_version: Version <latest> (latest: <latest>)",- " [OK] schema_columns: 1203 column(s) verified against live schema",- " [OK] schema_columns: 1202 column(s) verified against live schema",++ " [OK] schema_columns: 1206 column(s) verified against live schema"," [OK] rls_event_trigger: Skipped (PGLite — no event trigger support)"," [INFO] embeddings: Not applicable: embeddings are disabled on this brain (keyword search keeps working)."," [INFO] embedding_provider: Not probed: embeddings are disabled on this brain by choice (keyword search keeps working).",diff --cc test/fixtures/goldens/doctor/content-pglite-json.jsonindex 1a254c780b,9aaf121a0c..ef7a71c400--- a/test/fixtures/goldens/doctor/content-pglite-json.json+++ b/test/fixtures/goldens/doctor/content-pglite-json.json@@@ -914,7 -914,7 +914,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1203 column(s) verified against live schema",- "message": "1202 column(s) verified against live schema",++ "message": "1206 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/doctor/hot-checks-pglite-json.jsonindex fe76fa2121,5ad67a3e59..5de82097eb--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json@@@ -931,7 -931,7 +931,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1203 column(s) verified against live schema",- "message": "1202 column(s) verified against live schema",++ "message": "1206 column(s) verified against live schema","name": "schema_columns","status": "ok"},@@@ -4686,7 -4686,7 +4686,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1203 column(s) verified against live schema",- "message": "1202 column(s) verified against live schema",++ "message": "1206 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/doctor/hot-checks-postgres-json.jsonindex 662ed2a59a,0cb9488e75..82d379afca--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json@@@ -927,7 -927,7 +927,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1209 column(s) verified against live schema",- "message": "1208 column(s) verified against live schema",++ "message": "1212 column(s) verified against live schema","name": "schema_columns","status": "ok"},@@@ -4677,7 -4677,7 +4677,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1209 column(s) verified against live schema",- "message": "1208 column(s) verified against live schema",++ "message": "1212 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/doctor/json-pglite-degraded.jsonindex 10fea4b643,1c31aa9e99..e42dfba5ac--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json@@@ -838,7 -838,7 +838,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1203 column(s) verified against live schema",- "message": "1202 column(s) verified against live schema",++ "message": "1206 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/doctor/json-pglite-fresh.jsonindex 7d824a77d7,d5e58b11ec..ec24f0dae1--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json@@@ -885,7 -885,7 +885,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1203 column(s) verified against live schema",- "message": "1202 column(s) verified against live schema",++ "message": "1206 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/doctor/json-postgres-fresh.jsonindex 4e637731d1,86d476ec28..e47951e628--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json@@@ -881,7 -881,7 +881,7 @@@{"category": "meta","elapsed_ms": "<volatile>",- "message": "1209 column(s) verified against live schema",- "message": "1208 column(s) verified against live schema",++ "message": "1212 column(s) verified against live schema","name": "schema_columns","status": "ok"},diff --cc test/fixtures/goldens/migrations/records.jsonindex 5e33131054,26d419f6ba..e49e6744f4--- a/test/fixtures/goldens/migrations/records.json+++ b/test/fixtures/goldens/migrations/records.json@@@ -1,6 -1,6 +1,6 @@@{"golden": {-- "count": 246,++ "count": 247,"gaps": [17,18,@@@ -3836,28 -3836,18 +3836,41 @@@"verify": "absent","version": 250},+ {+ "handler": {+ "form": "arrow",+ "helpers": [+ "INGEST_LOG_UNMARKED_INDEX",+ "buildIndexOnline",+ "dropInvalidConcurrentIndex",+ "migrationNotice",+ "quietMigrationNotices"+ ],+ "sha256": "27ceabcd9bfa28c5d7a44c370130e228e786127d7770032bde890d2caa7e9b27"+ },+ "idempotent": true,+ "name": "segment_reader_marks",+ "sql": {+ "length": 509,+ "sha256": "04b3dadaac36924326a2137aed4b774bd38c045085813eec8a63e53cfdb63d8e"+ },+ "sqlFor": "absent",+ "transaction": false,+ "verify": "absent",+ "version": 251++ },+ {+ "handler": "absent",+ "idempotent": true,+ "name": "page_body_staging_texts",+ "sql": {+ "length": 424,+ "sha256": "8ab1b335cd497dba1d2a9840a846f704d39bb27924a6baac455d3801ac112788"+ },+ "sqlFor": "absent",+ "transaction": "absent",+ "verify": "absent",+ "version": 252}],"versions": [@@@ -4106,7 -4096,7 +4119,8 @@@248,249,250,- 251++ 251,+ 252]},"normalizer": "migrations-record-v1"diff --cc test/postgres-unit-arms.txtindex 645e8dc59f,23da9dd0f2..c988f9609f--- a/test/postgres-unit-arms.txt+++ b/test/postgres-unit-arms.txt@@@ -74,9 -73,9 +74,11 @@@ test/large-pages/managed-sync-segmentedtest/large-pages/managed-sync-streamed.test.tstest/large-pages/oversized-backfill-segmented.test.tstest/large-pages/page-purge-segments.test.ts+ test/large-pages/projection-demotion-race.test.tstest/large-pages/projection-parity.test.ts+ test/large-pages/purge-inflight-create.test.ts+test/large-pages/purge-segment-residue.test.ts+test/large-pages/purge-segmented-versions-batch.test.tstest/large-pages/purge-segments.test.tstest/large-pages/remote-get-page-privacy.test.tstest/large-pages/remote-window-privacy.test.ts@@@ -104,19 -99,17 +108,21 @@@ test/large-pages/segmented-forced-cuts.test/large-pages/segmented-get-cli.test.tstest/large-pages/segmented-get-page-parity.test.tstest/large-pages/segmented-leads.test.ts+ test/large-pages/segmented-loser-chunks.test.tstest/large-pages/segmented-maintenance-commands.test.ts+test/large-pages/segmented-prior-view.test.tstest/large-pages/segmented-read-refusals.test.tstest/large-pages/segmented-remember-refusal.test.tstest/large-pages/segmented-repair-scans.test.tstest/large-pages/segmented-search-dedup.test.tstest/large-pages/segmented-shrink-below-ceiling.test.tstest/large-pages/segmented-storage-visibility.test.ts+test/large-pages/segmented-sweep-budget.test.tstest/large-pages/segmented-switch.test.ts+test/large-pages/segmented-think-compile-leads.serial.test.ts+test/large-pages/segmented-timeline-retract-versions.test.tstest/large-pages/segmented-versions.test.ts+ test/large-pages/v249-master-reader-compat.test.tstest/link-cross-source.test.tstest/link-preparation-shared-index.test.tstest/links-attendance-blocked.test.ts