Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
ci: list facts-mirror-failures in the Postgres arms, re-mine arm weights from run 39133557805, and run the arms in 19 shards
garrytan375187fbbb8a
diff --git a/.github/workflows/persistence-validation.yml b/.github/workflows/persistence-validation.ymlindex 905b42cd51..9843d43ce6 100644--- a/.github/workflows/persistence-validation.yml+++ b/.github/workflows/persistence-validation.yml@@ -178,18 +178,18 @@ jobs:# file; the PGLite arm also runs in the unit lane). The list is test/postgres-unit-arms.txt;# scripts/check-postgres-lane-coverage.ts fails a new DATABASE_URL-gated arm# until it is listed there or wrapped in a test/e2e registerPostgresTests- # file. The fourteen shards (ARM_SHARDS in scripts/postgres-unit-arms.ts) are+ # file. The nineteen shards (ARM_SHARDS in scripts/postgres-unit-arms.ts) are# balanced by measured runtime (scripts/postgres-arm-weights.json, mined from# this job's logs); each shard's measured sum, doubled for a slow runner, must# end a minute inside the step's 20 minutes (ARM_SHARD_BUDGET_MS).unit-postgres-arms:- name: Unit-lane PostgreSQL arms ${{ matrix.shard }}/16 / Bun ${{ matrix.bun }}+ name: Unit-lane PostgreSQL arms ${{ matrix.shard }}/19 / Bun ${{ matrix.bun }}runs-on: ubicloud-standard-4-ubuntu-2404timeout-minutes: 30strategy:fail-fast: falsematrix:- shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]+ shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]bun: ['1.4.0', '1.4.3']# Event parity: every event, pull requests and merge-queue runs# included, runs both supported Bun versions (docs/TESTING.md#event-parity).@@ -230,11 +230,11 @@ jobs:receipts_init pg-arms || exit 2# The list lives in test/postgres-unit-arms.txt (one path per line);# shards balance by measured runtime (scripts/postgres-arm-weights.json).- selected=$(bun scripts/postgres-unit-arms.ts shard "$SHARD" 16)+ selected=$(bun scripts/postgres-unit-arms.ts shard "$SHARD" 19)files=()while IFS= read -r file; do [ -n "$file" ] && files+=("$file"); done <<< "$selected"if [ "${#files[@]}" -eq 0 ]; then- echo "::error::shard $SHARD/16 selected no files from test/postgres-unit-arms.txt. Why: an empty shard would pass without running any PostgreSQL arm. Fix: run 'bun scripts/postgres-unit-arms.ts shard $SHARD 16' locally and correct the list. Docs: docs/TESTING.md#postgres-arm-lanes" >&2+ echo "::error::shard $SHARD/19 selected no files from test/postgres-unit-arms.txt. Why: an empty shard would pass without running any PostgreSQL arm. Fix: run 'bun scripts/postgres-unit-arms.ts shard $SHARD 19' locally and correct the list. Docs: docs/TESTING.md#postgres-arm-lanes" >&2exit 1fi# One bun process per file: *.serial.test.ts files require their owndiff --git a/docs/architecture/key-files/ci-health-and-test-guards.md b/docs/architecture/key-files/ci-health-and-test-guards.mdindex 6e4263b2e1..15de9d7897 100644--- a/docs/architecture/key-files/ci-health-and-test-guards.md+++ b/docs/architecture/key-files/ci-health-and-test-guards.md@@ -21,7 +21,7 @@ Current behavior and load-bearing invariants; history belongs in Git and CHANGEL- `scripts/check-test-env-opt-ins.ts` + `test/helpers/operator-env-policy.ts` — the opt-in naming rule. The policy (`STRIP_PREFIX`, `KEEP_EXACT`, `KEEP_PREFIX`, `RENAMED`, `isStripped`) is shared by `test/helpers/operator-env-preload.ts`, which deletes stripped `GBRAIN_*` names before any test loads and stops the run with the rename command when an old opt-in name is set, and by the guard (`check:test-env-opt-ins`, in `verify`), which parses test files and fails on a test that gates execution on a stripped name. Test opt-ins are `GBRAIN_TEST_<AREA>_<WHAT>`, paid ones `GBRAIN_TEST_LIVE_<WHAT>`. The same guard fails `test_env_snapshot_module_scope`: a `delete` of or assignment to `process.env.GBRAIN_PGLITE_SNAPSHOT` outside every function body in a file the unit matrix loads (`*.serial.test.ts`, `test/e2e/` and `*-preload.ts` are exempt: own process, or process-wide by design). `scripts/test-shard.sh` runs a whole shard in one bun process, so such a change persists for every later file and each of their PGLite engines cold-boots (~3 s); the accepted shape is save+delete in `beforeAll`, restore in `afterAll`, or `test/helpers/with-snapshot.ts` per test. Tests: `test/scripts/test-env-opt-ins-guard.test.ts`, `test/operator-env-preload.test.ts`.- `scripts/check-postgres-lane-coverage.ts` — `check:postgres-lanes` (in `verify`). TypeScript-AST scan of every `test/` file outside `test/e2e/` and `test/fixtures/` for a `DATABASE_URL`-gated PostgreSQL arm (zero-argument `testBackends()`, or a `DATABASE_URL` read used as a condition, connection argument or `database_url` value; `withEnv`-supplied URLs excluded) and a lane that runs it (a workflow step with `DATABASE_URL` naming the file, a `test/e2e/` importer, a `tests/heavy/` script, or a `scripts/e2e-backend-matrix.txt` row). `ALLOWLIST` rows name a reason and TODO; stale rows fail. A `test/postgres-unit-arms.txt` row is a lane; a malformed, duplicate, unsorted, missing-file or arm-less row fails (`postgres_arm_list_invalid`, `postgres_arm_list_stale`). `postgresArm`, `postgresLanes` and `armedFiles` are exported for the stress runner. Tests: `test/scripts/postgres-lane-coverage.test.ts`.- `scripts/check-item-allowlist-catches.ts` + `scripts/item-allowlist-catches-baseline.tsv` — `check:item-allowlist-catches` (in `verify`). TypeScript-AST scan of `src/**/*.ts` (no `*.generated.ts`, `.d.ts`) for catch clauses in a per-item loop (a for/for-of/for-in/while/do-while body, or a `.forEach`/`.map` callback, up to the nearest function boundary) whose block tests the caught error's code against a set, list or literal (direct, cast, aliased or destructured) and rethrows the caught error. Per-file counts only shrink: growth, a new file, a count under its row, a row with no sites or no file, and malformed, duplicate or unsorted rows fail, pointing at `classifyItemFailure` / `ItemRun` (`src/core/item-failure.ts`) and `test/pathological/`. `--update` rewrites the baseline after a shrink. `findAllowlistCatches` and `compareBaseline` are exported for `test/scripts/check-item-allowlist-catches.test.ts`; self-test fixtures under `test/fixtures/guards/check-item-allowlist-catches.ts/`.-- `test/postgres-unit-arms.txt` + `scripts/postgres-unit-arms.ts` + `scripts/postgres-arm-weights.json` — the one list of unit-lane files whose PostgreSQL arm has no other owner (sorted, one path per line, `#` comments). Read by persistence-validation.yml's `unit-postgres-arms` job (`ARM_SHARDS` = 16 shards, `shard <n> <m>`: LPT over the mined per-file weights, p75 fallback; one Bun process per file; each shard's weighted sum at most `ARM_SHARD_BUDGET_MS`, 570 s, so twice that still ends a minute inside the 20-minute `ARM_STEP_TIMEOUT_MS` step), the scheduled race hunt and the lane guard. `mine <job.log>…` rewrites the weights from a green run's shard logs (`##[group]<file>` to the next group or endgroup). Tests: `test/scripts/postgres-unit-arms.test.ts`.+- `test/postgres-unit-arms.txt` + `scripts/postgres-unit-arms.ts` + `scripts/postgres-arm-weights.json` — the one list of unit-lane files whose PostgreSQL arm has no other owner (sorted, one path per line, `#` comments). Read by persistence-validation.yml's `unit-postgres-arms` job (`ARM_SHARDS` = 19 shards, `shard <n> <m>`: LPT over the mined per-file weights, p75 fallback; one Bun process per file; each shard's weighted sum at most `ARM_SHARD_BUDGET_MS`, 570 s, so twice that still ends a minute inside the 20-minute `ARM_STEP_TIMEOUT_MS` step), the scheduled race hunt and the lane guard. `mine <job.log>…` rewrites the weights from a green run's shard logs (`##[group]<file>` to the next group or endgroup). Tests: `test/scripts/postgres-unit-arms.test.ts`.- `scripts/serial-files.tsv` + `scripts/lib/serial-manifest.ts` — the serial manifest: every `*.serial.test.ts` outside `test/e2e/` with its class (`R1`, `R2`, `global-state`, `exclusive`) and a reason. `checkSerialManifest` (pure) requires the manifest to match the tree exactly, classes to match what the file does (env mutation, `mock.module`, `EXCLUSIVE_FILES`) and reasons to be specific; each failure prints Why/Fix/Docs with `bash scripts/check-test-isolation.sh --as-parallel <file>` as the first step. Tests: `test/scripts/serial-files.test.ts`.- `test/helpers/brain-template.ts` — disk-backed PGLite brains cloned from one initialized template per process and embedding shape. The template is captured right after `initSchema` with no source, writer or physical-root reservation (asserted); only the data directory is copied; each clone regenerates `brain_id`, the default source incarnation and the shared-skill token secret and serving epoch. Used by `test/helpers/connector-fixture.ts`. Tests: `test/helpers/brain-template.test.ts`.- `scripts/test-agent-voice.sh` — `bun run test:agent-voice`: the agent-voice recipe's vitest unit suite (`recipes/agent-voice/tests/unit`), with pinned vitest and ws installed into a temporary prefix linked as the recipe's `node_modules`. Needs node, npm and registry access; CI runs it in test.yml's verify job.diff --git a/scripts/postgres-arm-weights.json b/scripts/postgres-arm-weights.jsonindex 918554841f..e7b987426a 100644--- a/scripts/postgres-arm-weights.json+++ b/scripts/postgres-arm-weights.json@@ -1,378 +1,396 @@{- "test/activation-unbound-rooted-6449.test.ts": 8704,- "test/alias-source-cascade-5094.test.ts": 9562,- "test/attribution-backfill-history.test.ts": 23632,- "test/backstop-same-page-shadow-managed-6333.test.ts": 8208,- "test/behavior-change-notice.test.ts": 6896,- "test/belief-ledger-coverage.test.ts": 123883,- "test/belief-ledger-group.test.ts": 41827,- "test/belief-ledger-identity.test.ts": 36220,- "test/belief-ledger-lifecycle.test.ts": 61950,- "test/belief-ledger-page-at-time.test.ts": 80907,- "test/belief-ledger-privacy.test.ts": 28049,- "test/belief-ledger-purge-review.test.ts": 184194,- "test/belief-ledger-purge.test.ts": 101199,- "test/belief-ledger-restore.test.ts": 128574,- "test/belief-ledger-touched.test.ts": 44860,- "test/belief-ledger-trust.test.ts": 15111,- "test/belief-ledger-w5-time-model.test.ts": 27916,- "test/belief-ledger-weekly-diff.test.ts": 74934,- "test/belief-ledger-weekly-probes.test.ts": 29804,- "test/capacity-bounded-read-6803.test.ts": 11614,- "test/capture-consent-admission.test.ts": 11374,- "test/capture-dispatch-provenance-6524.test.ts": 5444,- "test/chronicle-backfill-max-usd.test.ts": 3549,- "test/claim-fifo-foreground-waiting.test.ts": 4455,- "test/claim-lease-holder-only-6712.test.ts": 6221,- "test/claude-cli-output-cap.test.ts": 4040,- "test/colon-slug-windows-5032.test.ts": 9384,- "test/company-brain-policy.test.ts": 12397,- "test/company-brain-runtime.test.ts": 31919,- "test/conversation-facts-oversized-sidecar.test.ts": 3953,- "test/cycle/synthesize-concepts-merge.test.ts": 9705,- "test/decide/conflict-proposals-managed.test.ts": 5947,- "test/declared-lineage-visibility.test.ts": 10263,- "test/derived-link-reconciliation.test.ts": 9536,- "test/doctor-frontmatter-holds.test.ts": 12568,- "test/doctor-image-embedding-coverage.test.ts": 2974,- "test/doctor-keyword-plan-6495.test.ts": 3108,- "test/doctor-routing-skill-pack-source.test.ts": 5204,- "test/doctor-sync-freshness-skill-pack-6076.test.ts": 5354,- "test/embed-stale-images-managed-6529.test.ts": 5783,- "test/embedding-completion-atomic.serial.test.ts": 7336,- "test/engine-sql-facts-keyset.test.ts": 5886,- "test/extract-all-stamp-intersection.serial.test.ts": 7724,- "test/extract-atoms-input-truncated-6503.test.ts": 9407,- "test/extract-endpoint-revision.serial.test.ts": 7783,- "test/extract-entities-managed.test.ts": 22097,- "test/extract-timeline-from-meetings-managed.test.ts": 11601,- "test/extraction-watermark-atoms.test.ts": 4560,- "test/fact-fence-adoption-exits.test.ts": 23549,- "test/fact-purge-lookup-timeout-6511.test.ts": 7262,- "test/facts-publication-large-fence-6898.test.ts": 46946,- "test/fence-repair-receipts.test.ts": 6132,- "test/forecast-journal.test.ts": 33429,- "test/frontmatter-reserved-keys-6454.test.ts": 4413,- "test/get-chunks-paging.test.ts": 7995,- "test/graduation-copy.test.ts": 81355,- "test/graduation-digest.test.ts": 2951,- "test/graduation-drain.test.ts": 7139,- "test/graduation-inventory.test.ts": 4481,- "test/graduation-rollback.test.ts": 91613,- "test/graduation-state.test.ts": 153472,- "test/graduation-target.test.ts": 1605,- "test/graduation-verify-sync-freshness.test.ts": 5725,- "test/graduation-verify.test.ts": 14529,- "test/grandfather-managed.test.ts": 37839,- "test/harness-skills-epoch.test.ts": 2910,- "test/held-read-signals.test.ts": 9023,- "test/hold-action-chain-6712.test.ts": 13223,- "test/import-frontmatter-key-order-5158.test.ts": 4517,- "test/import-inline-chunk-keep.test.ts": 6854,- "test/import-revision-concurrency.test.ts": 5021,- "test/keyword-statement-timeout-knob-6495.test.ts": 14420,- "test/keyword-timeout-negative-cache-6495.test.ts": 3918,- "test/lane-apply-pipelining.test.ts": 4615,- "test/large-pages/chunk-retirement-plan.test.ts": 5133,- "test/large-pages/chunk-visibility.test.ts": 4487,- "test/large-pages/contextual-reembed-segmented.test.ts": 5186,- "test/large-pages/credential-reseal-segments.test.ts": 5267,- "test/large-pages/doctor-skipped-segmented.test.ts": 15361,- "test/large-pages/forget-reason-segmented.test.ts": 8100,- "test/large-pages/forget-scope.test.ts": 23102,- "test/large-pages/gbra117-segmented-classes-window.test.ts": 52677,- "test/large-pages/held-budget-count-list.test.ts": 12794,- "test/large-pages/held-budget-shrink.test.ts": 8140,- "test/large-pages/managed-import-outside-root.test.ts": 21764,- "test/large-pages/managed-links-timeline-heap.test.ts": 34216,- "test/large-pages/managed-streamed-import.test.ts": 57843,- "test/large-pages/managed-sync-segmented-rename.test.ts": 18713,- "test/large-pages/managed-sync-streamed.test.ts": 124434,- "test/large-pages/oversized-backfill-segmented.test.ts": 7639,- "test/large-pages/page-purge-segments.test.ts": 31146,- "test/large-pages/pinned-segmented-reads.test.ts": 38803,- "test/large-pages/projection-claim-ownership.test.ts": 20588,- "test/large-pages/projection-demotion-race.test.ts": 4462,- "test/large-pages/projection-parity.test.ts": 38717,- "test/large-pages/publication-seal-bounded.test.ts": 24165,- "test/large-pages/purge-fact-inflight-staging.test.ts": 17259,- "test/large-pages/purge-fact-segmented-preimage.test.ts": 20520,- "test/large-pages/purge-inflight-create.test.ts": 9883,- "test/large-pages/purge-replay-segments.test.ts": 12527,- "test/large-pages/purge-segment-residue.test.ts": 7548,- "test/large-pages/purge-segmented-versions-batch.test.ts": 8360,- "test/large-pages/purge-segments.test.ts": 12722,- "test/large-pages/recovery-budget-ceiling.slow.test.ts": 206515,- "test/large-pages/recovery-budget-default.test.ts": 8090,- "test/large-pages/remote-get-page-privacy.test.ts": 72356,- "test/large-pages/remote-versions-storage-change.test.ts": 7415,- "test/large-pages/remote-window-privacy.test.ts": 57371,- "test/large-pages/restore-deferred-retire.test.ts": 23414,- "test/large-pages/restore-publication-statement-bound.test.ts": 31787,- "test/large-pages/restore-segmented-reprojects.test.ts": 75092,- "test/large-pages/sealed-segmented-search.test.ts": 8820,- "test/large-pages/second-write-deferred-retire.test.ts": 11813,- "test/large-pages/segment-rewrite-cr-tier.test.ts": 6323,- "test/large-pages/segment-vector-reuse.test.ts": 5539,- "test/large-pages/segmented-append-reembed.test.ts": 7524,- "test/large-pages/segmented-body-unreachable.test.ts": 5028,- "test/large-pages/segmented-bom.test.ts": 21713,- "test/large-pages/segmented-conversation-facts.test.ts": 36302,- "test/large-pages/segmented-conversation-sidecar-token.test.ts": 24242,- "test/large-pages/segmented-core-list.test.ts": 25602,- "test/large-pages/segmented-create-searchable.test.ts": 24219,- "test/large-pages/segmented-delete-crash.slow.test.ts": 73522,- "test/large-pages/segmented-delete-restore-file.slow.test.ts": 125525,- "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 156117,- "test/large-pages/segmented-derived-parity.test.ts": 14585,- "test/large-pages/segmented-derived-passes.test.ts": 15650,- "test/large-pages/segmented-derived-work.test.ts": 61149,- "test/large-pages/segmented-embedding-paths.test.ts": 22507,- "test/large-pages/segmented-embedding.test.ts": 5652,- "test/large-pages/segmented-evidence-read-cost.test.ts": 23409,- "test/large-pages/segmented-evidence.test.ts": 43354,- "test/large-pages/segmented-extraction-stale.test.ts": 9695,- "test/large-pages/segmented-facts-forced-lines.test.ts": 13849,- "test/large-pages/segmented-facts-reconcile.test.ts": 72337,- "test/large-pages/segmented-file-drift-ledger.test.ts": 42697,- "test/large-pages/segmented-file-drift.test.ts": 94283,- "test/large-pages/segmented-forced-cuts.test.ts": 70155,- "test/large-pages/segmented-frontmatter-reimport.test.ts": 34988,- "test/large-pages/segmented-get-cli.test.ts": 22049,- "test/large-pages/segmented-get-page-parity.test.ts": 20992,- "test/large-pages/segmented-leads.test.ts": 15101,- "test/large-pages/segmented-loser-chunks.test.ts": 9433,- "test/large-pages/segmented-maintenance-commands.test.ts": 13826,- "test/large-pages/segmented-prior-view.test.ts": 13953,- "test/large-pages/segmented-read-refusals.test.ts": 15289,- "test/large-pages/segmented-real-size.slow.test.ts": 50217,- "test/large-pages/segmented-remember-refusal.test.ts": 27492,- "test/large-pages/segmented-repair-scans.test.ts": 14537,- "test/large-pages/segmented-retained-blocks.test.ts": 57552,- "test/large-pages/segmented-search-dedup.test.ts": 11033,- "test/large-pages/segmented-semantic-writes-near-ceiling.slow.test.ts": 103606,- "test/large-pages/segmented-semantic-writes.test.ts": 64053,- "test/large-pages/segmented-shrink-below-ceiling.test.ts": 80433,- "test/large-pages/segmented-storage-visibility.test.ts": 17844,- "test/large-pages/segmented-sweep-budget.test.ts": 27104,- "test/large-pages/segmented-sweep-deferral.test.ts": 12484,- "test/large-pages/segmented-switch.test.ts": 21355,- "test/large-pages/segmented-think-compile-leads.serial.test.ts": 14039,- "test/large-pages/segmented-timeline-heap.test.ts": 67261,- "test/large-pages/segmented-timeline-retract-versions.test.ts": 6799,- "test/large-pages/segmented-versions.test.ts": 5180,- "test/large-pages/segmented-withdrawal-mirror.test.ts": 260466,- "test/large-pages/segmented-withdrawn-fence-delete.test.ts": 59489,- "test/large-pages/streamed-import-drift.test.ts": 26545,- "test/large-pages/streamed-sync-origin-b14.test.ts": 76982,- "test/large-pages/stuck-recovery-large.slow.test.ts": 244317,- "test/large-pages/v252-master-reader-compat.test.ts": 5210,- "test/link-cross-source.test.ts": 14762,- "test/link-preparation-shared-index.test.ts": 9933,- "test/links-attendance-blocked.test.ts": 6617,- "test/managed-cycle-pull-upstream.test.ts": 6645,- "test/managed-facts-withdrawal-recovery-6506.test.ts": 7267,- "test/managed-facts-withdrawn-skip-6506.test.ts": 7125,- "test/managed-lint.test.ts": 9812,- "test/managed-maintenance-links.test.ts": 5363,- "test/managed-sweep-corpus-windows.test.ts": 6656,- "test/managed-sweep-refused-window-retry.test.ts": 11678,- "test/managed-sweep-timeline.test.ts": 6766,- "test/managed-sync-blocked-job-6858.test.ts": 5210,- "test/managed-sync-bulk.test.ts": 187107,- "test/managed-sync-checkpoint-replaced.test.ts": 8809,- "test/managed-sync-chunker-version.test.ts": 6951,- "test/managed-sync-concurrent-write-hold.test.ts": 16192,- "test/managed-sync-connection-loss.test.ts": 9626,- "test/managed-sync-drain.test.ts": 10240,- "test/managed-sync-foreground-priority.test.ts": 71226,- "test/managed-sync-gate-markers-6858.test.ts": 6683,- "test/managed-sync-group-completion.test.ts": 11003,- "test/managed-sync-group-uncommitted-head.test.ts": 20295,- "test/managed-sync-images-5493.test.ts": 8918,- "test/managed-sync-keep-disk-6858.test.ts": 27946,- "test/managed-sync-lanes.test.ts": 26278,- "test/managed-sync-orphans-incarnation-6518.test.ts": 4577,- "test/managed-sync-page-fault-holds.test.ts": 17721,- "test/managed-sync-pinned-reads.test.ts": 27855,- "test/managed-sync-preparation-stalled-holds.test.ts": 44431,- "test/managed-sync-row-parity.test.ts": 9081,- "test/managed-sync-stale-group-head.test.ts": 4114,- "test/migration-persistence-request-id-index.test.ts": 7166,- "test/migration-persistence-request-slug-index.test.ts": 6998,- "test/on-commit-embedding.serial.test.ts": 11459,- "test/origin-guard-6948.test.ts": 11311,- "test/origin-twins-6948.test.ts": 4152,- "test/overwritten-edits-6712.test.ts": 31949,- "test/owner-refusal.test.ts": 5809,- "test/pack-relation-direction-engine.test.ts": 4689,- "test/page-embedding-budget.test.ts": 7262,- "test/page-embedding-content-validity.test.ts": 5282,- "test/page-embedding-install-batch.test.ts": 3608,- "test/page-prepare-shared-origin-6517.test.ts": 13727,- "test/page-purge-batch-sweep-6884.test.ts": 9594,- "test/page-purge-journal-timeout-6511.test.ts": 21333,- "test/page-state-engine.test.ts": 3403,- "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 10890,- "test/pathological/a-42-atom-dot-led-slug.test.ts": 17385,- "test/pathological/a-51-conversation-batch-booking.test.ts": 7762,- "test/pathological/a-60-belief-commit-mark.test.ts": 3740,- "test/pathological/a-65-captured-facts-unreadable-corpus.test.ts": 4603,- "test/pathological/a1-links-extract.test.ts": 42695,- "test/pathological/a10-global-maintenance-stamp.test.ts": 3602,- "test/pathological/a2-transcripts-ingest.test.ts": 69954,- "test/pathological/a21-facts-expire-deleted.test.ts": 25278,- "test/pathological/a22-consolidate-buckets.test.ts": 45662,- "test/pathological/a23-patterns-grounding.test.ts": 76850,- "test/pathological/a26-safe-chunks-reseal.test.ts": 8237,- "test/pathological/a27-credential-reseal.test.ts": 8940,- "test/pathological/a3-google-items.test.ts": 90348,- "test/pathological/a4-synthesize-postprocess.test.ts": 15811,- "test/pathological/a41-maintain-sources.test.ts": 34004,- "test/pathological/a44-slug-conflicts-rotation.test.ts": 38841,- "test/pathological/a45-repair-all-kinds.test.ts": 6488,- "test/pathological/a46-content-lane-kinds.test.ts": 4186,- "test/pathological/a47-backfill-poison-row.test.ts": 4800,- "test/pathological/a49-unmanaged-purge-tombstones.test.ts": 44869,- "test/pathological/a50-unmanaged-expired-sources.test.ts": 5716,- "test/pathological/a9-repair-core.test.ts": 6510,- "test/pathological/b-10-ontology-rekey-collision.test.ts": 7722,- "test/pathological/b-7-facts-pageless-entity.test.ts": 25330,- "test/pathological/b-9-enrich-retired-alias.test.ts": 6164,- "test/pathological/b6-triage-verdict-surrogate.test.ts": 4225,- "test/pathological/c-23-override-and-doctor-fixes.test.ts": 4813,- "test/pathological/c-9-facts-absorb-dead.test.ts": 6479,- "test/pathological/d1-unfenced-facts-overwrite.test.ts": 18602,- "test/pathological/d10-derived-atom-file-overwrite.test.ts": 13036,- "test/pathological/d11-derived-retired-atom-unlink.test.ts": 10894,- "test/pathological/d12-concept-stale-fences.test.ts": 12114,- "test/pathological/d13-concept-occupied-path.test.ts": 11718,- "test/pathological/d14-brainstorm-resume-overwrite.test.ts": 12014,- "test/pathological/d15-sync-reexport-overwrite.test.ts": 23870,- "test/pathological/d16-google-file-replacement.test.ts": 18409,- "test/pathological/d17-github-file-replacement.test.ts": 19053,- "test/pathological/d18-think-take-db-only.test.ts": 20336,- "test/pathological/d19-takes-bootstrap-db-only.test.ts": 27920,- "test/pathological/d2-fence-write-overwrite.test.ts": 17890,- "test/pathological/d21-migration-verifier-record.test.ts": 28884,- "test/pathological/d22-legacy-hash-body-history.test.ts": 24531,- "test/pathological/d23-extract-atoms-db-only.test.ts": 20174,- "test/pathological/d3-forget-overwrite.test.ts": 33048,- "test/pathological/d4-proposal-overwrite.test.ts": 40378,- "test/pathological/d5-phantom-canonical-overwrite.test.ts": 14632,- "test/pathological/d6-phantom-file-unlink.test.ts": 10394,- "test/pathological/d7-synthesize-reverse-write.test.ts": 22600,- "test/pathological/d8-patterns-reverse-write.test.ts": 17690,- "test/pathological/d9-dream-summary-overwrite.test.ts": 10913,- "test/pathological/w1-write-through-staging-window.serial.test.ts": 5059,- "test/persistence-background-pause.test.ts": 5935,- "test/persistence-bounded-read-session.test.ts": 6646,- "test/persistence-capacity-forecast.test.ts": 10142,- "test/persistence-capacity-notices.test.ts": 6657,- "test/persistence-commit-durability.test.ts": 5007,- "test/persistence-deactivate.test.ts": 13913,- "test/persistence-diagnostics.test.ts": 6786,- "test/persistence-edit-embedding-reuse.test.ts": 5487,- "test/persistence-embedding-noop-settle.test.ts": 7330,- "test/persistence-file-import.test.ts": 22050,- "test/persistence-git-subdir-origin.test.ts": 14879,- "test/persistence-graph-publication.test.ts": 7463,- "test/persistence-history-fixture.test.ts": 26732,- "test/persistence-image-import.serial.test.ts": 5062,- "test/persistence-import-batch.test.ts": 18071,- "test/persistence-managed-lifecycle.test.ts": 18127,- "test/persistence-managed-sync.test.ts": 91280,- "test/persistence-manifest-git-scope.test.ts": 6047,- "test/persistence-memory-mutations.test.ts": 8281,- "test/persistence-page-authority.test.ts": 4158,- "test/persistence-physical-root-device.test.ts": 4601,- "test/persistence-preactivation-claim.test.ts": 9262,- "test/persistence-publication-deadline.test.ts": 19073,- "test/persistence-receipt-true-up.test.ts": 9729,- "test/persistence-reconcile-git-dirty-6138.test.ts": 4489,- "test/persistence-skill-bundles.serial.test.ts": 6204,- "test/persistence-skill-crash.slow.test.ts": 42093,- "test/persistence-skip-cost.test.ts": 6185,- "test/persistence-sync-cursor-adoption.test.ts": 61897,- "test/persistence-sync-cursor-options.test.ts": 8104,- "test/persistence-sync-cursor-strategy-6696.test.ts": 8031,- "test/persistence-sync-fence-holds.test.ts": 16490,- "test/persistence-sync-holds.test.ts": 25848,- "test/persistence-sync-lease.test.ts": 31598,- "test/persistence-write-interrupted.test.ts": 44334,- "test/persistence-write-stall.test.ts": 5340,- "test/persistence-writer-fences.test.ts": 5980,- "test/physical-root-birth-tolerance-6501.test.ts": 10555,- "test/purge-fact.test.ts": 9201,- "test/purge-global-marker.test.ts": 10106,- "test/purge-missing-cache-6911.test.ts": 9580,- "test/purge-read-surfaces.test.ts": 12595,- "test/recall-page-fill.test.ts": 10575,- "test/remediation-manual-only.test.ts": 8465,- "test/repair-apply-pending-6543.test.ts": 56935,- "test/repair-embedding-effects.test.ts": 7991,- "test/repair-failed-writes-conflict-6429.test.ts": 7666,- "test/repair-failed-writes-drift-w411.test.ts": 6587,- "test/repair-fences.test.ts": 14983,- "test/repair-file-drift-deleted-6712.test.ts": 8041,- "test/repair-frontmatter-keys-sweep-6454.test.ts": 5072,- "test/repair-frontmatter.test.ts": 24299,- "test/repair-receipt-compaction.test.ts": 4676,- "test/repair-rename-identity-6729.test.ts": 15088,- "test/schema-missing-tables.test.ts": 4976,- "test/scripts/test-stress-postgres.test.ts": 11591,- "test/search-read-keyword-bound.test.ts": 5403,- "test/search/page-rank-cut.test.ts": 8883,- "test/search/rerank-gate-hybrid.test.ts": 7188,- "test/search/rerank-gate-telemetry.test.ts": 5501,- "test/serve-head-watcher-managed.serial.test.ts": 5519,- "test/shared-content-freshness.test.ts": 6566,- "test/shared-skills-catalog.test.ts": 53929,- "test/shared-skills-retention-capacity.test.ts": 7329,- "test/shared-skills-source-opt-out.test.ts": 5963,- "test/shared-skills-writer-boundary.test.ts": 11669,- "test/source-retire-missing-checkout.test.ts": 7428,- "test/source-row-diagnostics.test.ts": 5528,- "test/stats-health-source-scope.test.ts": 6656,- "test/sync-capacity-preflight.test.ts": 7005,- "test/sync-checkpoint-moved-6834.test.ts": 20456,- "test/sync-drain-claims.test.ts": 12854,- "test/sync-drain-effect-recovery-blocked.test.ts": 9820,- "test/sync-drain-head-blocked-6543.test.ts": 6992,- "test/sync-drain-inpass-stall.test.ts": 5547,- "test/sync-drain-write-capacity.test.ts": 9737,- "test/sync-exits-l4-6712.test.ts": 11585,- "test/sync-freshness-6858.test.ts": 6663,- "test/sync-frontmatter-recovery.test.ts": 6772,- "test/sync-frontmatter-slug-conflict.test.ts": 6791,- "test/sync-full-cursor-slices-6349.test.ts": 14183,- "test/sync-full-untracked-import-5459.test.ts": 13563,- "test/sync-group-member-order.test.ts": 4990,- "test/sync-handler-drain-6706.test.ts": 31092,- "test/sync-import-provenance-disk.test.ts": 10639,- "test/sync-inexact-rename-6729.test.ts": 27470,- "test/sync-legacy-holds.test.ts": 11818,- "test/sync-legacy-retry-actions-6696.test.ts": 7701,- "test/sync-legacy-slug-adoption-6727.test.ts": 12172,- "test/sync-origin-live-wins-6517.test.ts": 2890,- "test/sync-prescreen-both-delta-6712.test.ts": 13109,- "test/sync-prescreen-drift-6712.test.ts": 69959,- "test/sync-slug-root-mode-6694.test.ts": 7998,- "test/sync-staged-catchup.test.ts": 12150,- "test/sync-status-failure-detail-6513.test.ts": 6431,- "test/sync-waiver-budget.test.ts": 5781,- "test/sync-waiver-run-imports.test.ts": 10819,- "test/take-resolution-survives-publish.test.ts": 6852,- "test/takes-vector-lifecycle-5885.serial.test.ts": 11396,- "test/terminal-failures-6650.test.ts": 14953,- "test/trust-channel-writes.test.ts": 16478,- "test/trust-guarded-supersession.test.ts": 8460,- "test/trust-held-removals.test.ts": 9525,- "test/trust-owner-actions.test.ts": 6440,- "test/unbound-source-6536.test.ts": 4705,- "test/unindexed-files.test.ts": 16512,- "test/vector-manifest-probe-bound.test.ts": 19638,- "test/withdrawal-overlay-concurrency.test.ts": 5381,- "test/withdrawal-publication-file.test.ts": 4595,- "test/writer-status-owner-backends.test.ts": 4828+ "test/activation-unbound-rooted-6449.test.ts": 7217,+ "test/alias-source-cascade-5094.test.ts": 14484,+ "test/attribution-backfill-history.test.ts": 32313,+ "test/backstop-same-page-shadow-managed-6333.test.ts": 9415,+ "test/behavior-change-notice.test.ts": 7594,+ "test/belief-ledger-coverage.test.ts": 176935,+ "test/belief-ledger-group.test.ts": 27812,+ "test/belief-ledger-identity.test.ts": 66521,+ "test/belief-ledger-lifecycle.test.ts": 53303,+ "test/belief-ledger-page-at-time.test.ts": 86720,+ "test/belief-ledger-privacy.test.ts": 27869,+ "test/belief-ledger-purge-review.test.ts": 129535,+ "test/belief-ledger-purge.test.ts": 113359,+ "test/belief-ledger-restore.test.ts": 183762,+ "test/belief-ledger-touched.test.ts": 31275,+ "test/belief-ledger-trust.test.ts": 12486,+ "test/belief-ledger-w5-time-model.test.ts": 20945,+ "test/belief-ledger-weekly-diff.test.ts": 83811,+ "test/belief-ledger-weekly-probes.test.ts": 40149,+ "test/capacity-bounded-read-6803.test.ts": 10446,+ "test/capture-consent-admission.test.ts": 7215,+ "test/capture-dispatch-provenance-6524.test.ts": 6248,+ "test/chronicle-backfill-max-usd.test.ts": 4444,+ "test/claim-fifo-foreground-waiting.test.ts": 5782,+ "test/claim-lease-holder-only-6712.test.ts": 6345,+ "test/claude-cli-output-cap.test.ts": 6189,+ "test/colon-slug-windows-5032.test.ts": 7573,+ "test/company-brain-policy.test.ts": 22327,+ "test/company-brain-runtime.test.ts": 29152,+ "test/conversation-facts-oversized-sidecar.test.ts": 8678,+ "test/cycle/synthesize-concepts-merge.test.ts": 9093,+ "test/decide/conflict-proposals-managed.test.ts": 8237,+ "test/declared-lineage-visibility.test.ts": 7114,+ "test/derived-link-reconciliation.test.ts": 9546,+ "test/doctor-frontmatter-holds.test.ts": 12231,+ "test/doctor-image-embedding-coverage.test.ts": 8999,+ "test/doctor-keyword-plan-6495.test.ts": 7210,+ "test/doctor-routing-skill-pack-source.test.ts": 4810,+ "test/doctor-sync-freshness-skill-pack-6076.test.ts": 6288,+ "test/embed-stale-images-managed-6529.test.ts": 8998,+ "test/embedding-completion-atomic.serial.test.ts": 7443,+ "test/engine-sql-facts-keyset.test.ts": 6565,+ "test/extract-all-stamp-intersection.serial.test.ts": 7976,+ "test/extract-atoms-input-truncated-6503.test.ts": 13296,+ "test/extract-endpoint-revision.serial.test.ts": 6471,+ "test/extract-entities-managed.test.ts": 28108,+ "test/extract-timeline-from-meetings-managed.test.ts": 19527,+ "test/extraction-watermark-atoms.test.ts": 5304,+ "test/fact-fence-adoption-exits.test.ts": 23435,+ "test/fact-purge-lookup-timeout-6511.test.ts": 8570,+ "test/facts-publication-large-fence-6898.test.ts": 36467,+ "test/fence-repair-receipts.test.ts": 8230,+ "test/forecast-journal.test.ts": 29052,+ "test/frontmatter-reserved-keys-6454.test.ts": 7568,+ "test/get-chunks-paging.test.ts": 6417,+ "test/graduation-copy.test.ts": 83435,+ "test/graduation-digest.test.ts": 2505,+ "test/graduation-drain.test.ts": 12561,+ "test/graduation-inventory.test.ts": 8560,+ "test/graduation-rollback.test.ts": 95772,+ "test/graduation-state.test.ts": 160497,+ "test/graduation-target.test.ts": 2263,+ "test/graduation-verify-sync-freshness.test.ts": 8579,+ "test/graduation-verify.test.ts": 18901,+ "test/grandfather-managed.test.ts": 42482,+ "test/harness-skills-epoch.test.ts": 4388,+ "test/held-read-signals.test.ts": 6448,+ "test/hold-action-chain-6712.test.ts": 21715,+ "test/import-frontmatter-key-order-5158.test.ts": 3637,+ "test/import-inline-chunk-keep.test.ts": 5967,+ "test/import-revision-concurrency.test.ts": 4490,+ "test/keyword-statement-timeout-knob-6495.test.ts": 13998,+ "test/keyword-timeout-negative-cache-6495.test.ts": 4775,+ "test/lane-apply-pipelining.test.ts": 4204,+ "test/large-pages/chunk-retirement-plan.test.ts": 4865,+ "test/large-pages/chunk-visibility.test.ts": 6934,+ "test/large-pages/contextual-reembed-segmented.test.ts": 7750,+ "test/large-pages/credential-reseal-segments.test.ts": 6382,+ "test/large-pages/doctor-skipped-segmented.test.ts": 16728,+ "test/large-pages/forget-reason-segmented.test.ts": 6112,+ "test/large-pages/forget-scope.test.ts": 21651,+ "test/large-pages/gbra117-segmented-classes-window.test.ts": 53107,+ "test/large-pages/held-budget-count-list.test.ts": 11555,+ "test/large-pages/held-budget-shrink.test.ts": 9830,+ "test/large-pages/managed-import-outside-root.test.ts": 24728,+ "test/large-pages/managed-links-timeline-heap.test.ts": 33878,+ "test/large-pages/managed-streamed-import.test.ts": 49049,+ "test/large-pages/managed-sync-segmented-rename.test.ts": 24899,+ "test/large-pages/managed-sync-streamed.test.ts": 125028,+ "test/large-pages/oversized-backfill-segmented.test.ts": 7075,+ "test/large-pages/page-purge-segments.test.ts": 30090,+ "test/large-pages/pinned-segmented-reads.test.ts": 33745,+ "test/large-pages/projection-claim-ownership.test.ts": 30897,+ "test/large-pages/projection-demotion-race.test.ts": 5673,+ "test/large-pages/projection-parity.test.ts": 62486,+ "test/large-pages/publication-seal-bounded.test.ts": 27736,+ "test/large-pages/purge-fact-inflight-staging.test.ts": 14500,+ "test/large-pages/purge-fact-segmented-preimage.test.ts": 19111,+ "test/large-pages/purge-inflight-create.test.ts": 11705,+ "test/large-pages/purge-replay-segments.test.ts": 9641,+ "test/large-pages/purge-segment-residue.test.ts": 7706,+ "test/large-pages/purge-segmented-versions-batch.test.ts": 9990,+ "test/large-pages/purge-segments.test.ts": 9736,+ "test/large-pages/recovery-budget-ceiling.slow.test.ts": 178456,+ "test/large-pages/recovery-budget-default.test.ts": 8089,+ "test/large-pages/remote-get-page-privacy.test.ts": 85316,+ "test/large-pages/remote-versions-storage-change.test.ts": 7159,+ "test/large-pages/remote-window-privacy.test.ts": 71023,+ "test/large-pages/restore-deferred-retire.test.ts": 24163,+ "test/large-pages/restore-publication-statement-bound.test.ts": 26038,+ "test/large-pages/restore-segmented-reprojects.test.ts": 75156,+ "test/large-pages/sealed-segmented-search.test.ts": 13126,+ "test/large-pages/second-write-deferred-retire.test.ts": 12789,+ "test/large-pages/segment-rewrite-cr-tier.test.ts": 8457,+ "test/large-pages/segment-vector-reuse.test.ts": 7527,+ "test/large-pages/segmented-append-reembed.test.ts": 8738,+ "test/large-pages/segmented-body-unreachable.test.ts": 6691,+ "test/large-pages/segmented-bom.test.ts": 13412,+ "test/large-pages/segmented-conversation-facts.test.ts": 29815,+ "test/large-pages/segmented-conversation-sidecar-token.test.ts": 23927,+ "test/large-pages/segmented-core-list.test.ts": 35433,+ "test/large-pages/segmented-create-searchable.test.ts": 26619,+ "test/large-pages/segmented-delete-crash.slow.test.ts": 63772,+ "test/large-pages/segmented-delete-restore-file.slow.test.ts": 109955,+ "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 167151,+ "test/large-pages/segmented-derived-parity.test.ts": 12039,+ "test/large-pages/segmented-derived-passes.test.ts": 17035,+ "test/large-pages/segmented-derived-work.test.ts": 84227,+ "test/large-pages/segmented-embedding-paths.test.ts": 41976,+ "test/large-pages/segmented-embedding.test.ts": 5467,+ "test/large-pages/segmented-evidence-read-cost.test.ts": 34510,+ "test/large-pages/segmented-evidence.test.ts": 48486,+ "test/large-pages/segmented-extraction-stale.test.ts": 11434,+ "test/large-pages/segmented-facts-forced-lines.test.ts": 14190,+ "test/large-pages/segmented-facts-reconcile.test.ts": 96768,+ "test/large-pages/segmented-file-drift-ledger.test.ts": 46839,+ "test/large-pages/segmented-file-drift.test.ts": 104082,+ "test/large-pages/segmented-forced-cuts.test.ts": 79375,+ "test/large-pages/segmented-frontmatter-reimport.test.ts": 33676,+ "test/large-pages/segmented-get-cli.test.ts": 25410,+ "test/large-pages/segmented-get-page-parity.test.ts": 24210,+ "test/large-pages/segmented-leads.test.ts": 18283,+ "test/large-pages/segmented-loser-chunks.test.ts": 9661,+ "test/large-pages/segmented-maintenance-commands.test.ts": 13112,+ "test/large-pages/segmented-prior-view.test.ts": 16215,+ "test/large-pages/segmented-read-refusals.test.ts": 13285,+ "test/large-pages/segmented-real-size.slow.test.ts": 57808,+ "test/large-pages/segmented-remember-refusal.test.ts": 29151,+ "test/large-pages/segmented-repair-scans.test.ts": 13911,+ "test/large-pages/segmented-retained-blocks.test.ts": 55390,+ "test/large-pages/segmented-search-dedup.test.ts": 15247,+ "test/large-pages/segmented-semantic-writes-near-ceiling.slow.test.ts": 115116,+ "test/large-pages/segmented-semantic-writes.test.ts": 63424,+ "test/large-pages/segmented-shrink-below-ceiling.test.ts": 84100,+ "test/large-pages/segmented-storage-visibility.test.ts": 21400,+ "test/large-pages/segmented-sweep-budget.test.ts": 25155,+ "test/large-pages/segmented-sweep-deferral.test.ts": 16246,+ "test/large-pages/segmented-switch.test.ts": 32296,+ "test/large-pages/segmented-think-compile-leads.serial.test.ts": 15740,+ "test/large-pages/segmented-timeline-heap.test.ts": 73891,+ "test/large-pages/segmented-timeline-retract-versions.test.ts": 9010,+ "test/large-pages/segmented-versions.test.ts": 5726,+ "test/large-pages/segmented-withdrawal-mirror.test.ts": 267228,+ "test/large-pages/segmented-withdrawn-fence-delete.test.ts": 66203,+ "test/large-pages/streamed-import-drift.test.ts": 23397,+ "test/large-pages/streamed-sync-origin-b14.test.ts": 71715,+ "test/large-pages/stuck-recovery-large.slow.test.ts": 250722,+ "test/large-pages/v252-master-reader-compat.test.ts": 11093,+ "test/link-cross-source.test.ts": 14356,+ "test/link-preparation-shared-index.test.ts": 11917,+ "test/links-attendance-blocked.test.ts": 12594,+ "test/managed-cycle-pull-upstream.test.ts": 7861,+ "test/managed-facts-withdrawal-recovery-6506.test.ts": 7978,+ "test/managed-facts-withdrawn-skip-6506.test.ts": 5939,+ "test/managed-lint.test.ts": 11620,+ "test/managed-maintenance-links.test.ts": 7987,+ "test/managed-sweep-corpus-windows.test.ts": 8498,+ "test/managed-sweep-refused-window-retry.test.ts": 12745,+ "test/managed-sweep-timeline.test.ts": 8230,+ "test/managed-sync-blocked-job-6858.test.ts": 5567,+ "test/managed-sync-bulk.test.ts": 190717,+ "test/managed-sync-checkpoint-replaced.test.ts": 8849,+ "test/managed-sync-chunker-version.test.ts": 10758,+ "test/managed-sync-concurrent-write-hold.test.ts": 15048,+ "test/managed-sync-connection-loss.test.ts": 9681,+ "test/managed-sync-drain.test.ts": 9743,+ "test/managed-sync-foreground-priority.test.ts": 66175,+ "test/managed-sync-gate-markers-6858.test.ts": 6150,+ "test/managed-sync-group-completion.test.ts": 11738,+ "test/managed-sync-group-uncommitted-head.test.ts": 19853,+ "test/managed-sync-images-5493.test.ts": 8645,+ "test/managed-sync-keep-disk-6858.test.ts": 29568,+ "test/managed-sync-lanes.test.ts": 28850,+ "test/managed-sync-orphans-incarnation-6518.test.ts": 8370,+ "test/managed-sync-page-fault-holds.test.ts": 28374,+ "test/managed-sync-pinned-reads.test.ts": 27351,+ "test/managed-sync-preparation-stalled-holds.test.ts": 49112,+ "test/managed-sync-row-parity.test.ts": 11399,+ "test/managed-sync-stale-group-head.test.ts": 4343,+ "test/migration-persistence-request-id-index.test.ts": 6470,+ "test/migration-persistence-request-slug-index.test.ts": 9709,+ "test/on-commit-embedding.serial.test.ts": 11678,+ "test/origin-guard-6948.test.ts": 11453,+ "test/origin-twins-6948.test.ts": 5073,+ "test/overwritten-edits-6712.test.ts": 30673,+ "test/owner-refusal.test.ts": 5757,+ "test/pack-relation-direction-engine.test.ts": 8979,+ "test/page-embedding-budget.test.ts": 9197,+ "test/page-embedding-content-validity.test.ts": 6174,+ "test/page-embedding-install-batch.test.ts": 3607,+ "test/page-prepare-shared-origin-6517.test.ts": 10685,+ "test/page-purge-batch-sweep-6884.test.ts": 7966,+ "test/page-purge-journal-timeout-6511.test.ts": 22599,+ "test/page-state-engine.test.ts": 3351,+ "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 9322,+ "test/pathological/a-42-atom-dot-led-slug.test.ts": 7782,+ "test/pathological/a-51-conversation-batch-booking.test.ts": 12696,+ "test/pathological/a-60-belief-commit-mark.test.ts": 4892,+ "test/pathological/a-65-captured-facts-unreadable-corpus.test.ts": 4515,+ "test/pathological/a1-links-extract.test.ts": 35763,+ "test/pathological/a10-global-maintenance-stamp.test.ts": 6282,+ "test/pathological/a11-effect-retry-budget.test.ts": 51775,+ "test/pathological/a12-withdrawal-mirror-gate.test.ts": 51256,+ "test/pathological/a13-embedding-target-park.test.ts": 48190,+ "test/pathological/a15-deactivate-exits.test.ts": 10827,+ "test/pathological/a18-ledger-path-text.test.ts": 41572,+ "test/pathological/a2-transcripts-ingest.test.ts": 122602,+ "test/pathological/a21-facts-expire-deleted.test.ts": 51439,+ "test/pathological/a22-consolidate-buckets.test.ts": 35278,+ "test/pathological/a23-patterns-grounding.test.ts": 74602,+ "test/pathological/a24-phantom-redirect-cursor.test.ts": 47004,+ "test/pathological/a25-propose-takes-poison-pages.test.ts": 36865,+ "test/pathological/a26-safe-chunks-reseal.test.ts": 7252,+ "test/pathological/a27-credential-reseal.test.ts": 9837,+ "test/pathological/a3-google-items.test.ts": 116008,+ "test/pathological/a30-watchdog-attribution.test.ts": 7334,+ "test/pathological/a31-migrate-loop-rows.serial.test.ts": 42623,+ "test/pathological/a4-synthesize-postprocess.test.ts": 14789,+ "test/pathological/a41-maintain-sources.test.ts": 31723,+ "test/pathological/a44-slug-conflicts-rotation.test.ts": 43830,+ "test/pathological/a45-repair-all-kinds.test.ts": 5558,+ "test/pathological/a46-content-lane-kinds.test.ts": 6333,+ "test/pathological/a47-backfill-poison-row.test.ts": 8268,+ "test/pathological/a49-unmanaged-purge-tombstones.test.ts": 56322,+ "test/pathological/a50-unmanaged-expired-sources.test.ts": 6708,+ "test/pathological/a9-repair-core.test.ts": 8160,+ "test/pathological/b-10-ontology-rekey-collision.test.ts": 4648,+ "test/pathological/b-7-facts-pageless-entity.test.ts": 15887,+ "test/pathological/b-9-enrich-retired-alias.test.ts": 5880,+ "test/pathological/b12-slug-segment-bytes.test.ts": 21481,+ "test/pathological/b5-enrich-entity-identity.test.ts": 5070,+ "test/pathological/b5-export-unsafe-slugs.test.ts": 43587,+ "test/pathological/b6-triage-verdict-surrogate.test.ts": 6033,+ "test/pathological/c-23-override-and-doctor-fixes.test.ts": 6666,+ "test/pathological/c-9-facts-absorb-dead.test.ts": 5048,+ "test/pathological/c1-effect-stuck-recovery.test.ts": 42130,+ "test/pathological/c2-url-clone-fences.test.ts": 71254,+ "test/pathological/c4-bundle-stuck-recovery.test.ts": 147355,+ "test/pathological/c5-writer-transfer-cancel.test.ts": 38060,+ "test/pathological/c7-content-receipt-root.test.ts": 36873,+ "test/pathological/d1-unfenced-facts-overwrite.test.ts": 45167,+ "test/pathological/d10-derived-atom-file-overwrite.test.ts": 19221,+ "test/pathological/d11-derived-retired-atom-unlink.test.ts": 16703,+ "test/pathological/d12-concept-stale-fences.test.ts": 19602,+ "test/pathological/d13-concept-occupied-path.test.ts": 24227,+ "test/pathological/d14-brainstorm-resume-overwrite.test.ts": 19646,+ "test/pathological/d15-sync-reexport-overwrite.test.ts": 26488,+ "test/pathological/d16-google-file-replacement.test.ts": 35939,+ "test/pathological/d17-github-file-replacement.test.ts": 55071,+ "test/pathological/d18-think-take-db-only.test.ts": 50499,+ "test/pathological/d19-takes-bootstrap-db-only.test.ts": 27331,+ "test/pathological/d2-fence-write-overwrite.test.ts": 31395,+ "test/pathological/d21-migration-verifier-record.test.ts": 77426,+ "test/pathological/d22-legacy-hash-body-history.test.ts": 46113,+ "test/pathological/d23-extract-atoms-db-only.test.ts": 28937,+ "test/pathological/d3-forget-overwrite.test.ts": 84495,+ "test/pathological/d4-proposal-overwrite.test.ts": 83188,+ "test/pathological/d5-phantom-canonical-overwrite.test.ts": 31607,+ "test/pathological/d6-phantom-file-unlink.test.ts": 22268,+ "test/pathological/d7-synthesize-reverse-write.test.ts": 32796,+ "test/pathological/d8-patterns-reverse-write.test.ts": 28915,+ "test/pathological/d9-dream-summary-overwrite.test.ts": 29532,+ "test/pathological/facts-mirror-failures.test.ts": 67000,+ "test/pathological/w1-write-through-staging-window.serial.test.ts": 9361,+ "test/persistence-background-pause.test.ts": 5755,+ "test/persistence-bounded-read-session.test.ts": 7577,+ "test/persistence-capacity-forecast.test.ts": 8757,+ "test/persistence-capacity-notices.test.ts": 7055,+ "test/persistence-commit-durability.test.ts": 6542,+ "test/persistence-deactivate.test.ts": 19548,+ "test/persistence-diagnostics.test.ts": 5982,+ "test/persistence-edit-embedding-reuse.test.ts": 5816,+ "test/persistence-embedding-noop-settle.test.ts": 6680,+ "test/persistence-file-import.test.ts": 28316,+ "test/persistence-git-subdir-origin.test.ts": 12019,+ "test/persistence-graph-publication.test.ts": 8121,+ "test/persistence-history-fixture.test.ts": 31188,+ "test/persistence-image-import.serial.test.ts": 8126,+ "test/persistence-import-batch.test.ts": 27297,+ "test/persistence-managed-lifecycle.test.ts": 21380,+ "test/persistence-managed-sync.test.ts": 87978,+ "test/persistence-manifest-git-scope.test.ts": 4878,+ "test/persistence-memory-mutations.test.ts": 9285,+ "test/persistence-page-authority.test.ts": 6782,+ "test/persistence-physical-root-device.test.ts": 6684,+ "test/persistence-preactivation-claim.test.ts": 12327,+ "test/persistence-publication-deadline.test.ts": 19875,+ "test/persistence-receipt-true-up.test.ts": 13171,+ "test/persistence-reconcile-git-dirty-6138.test.ts": 5991,+ "test/persistence-skill-bundles.serial.test.ts": 5873,+ "test/persistence-skill-crash.slow.test.ts": 46303,+ "test/persistence-skip-cost.test.ts": 7341,+ "test/persistence-sync-cursor-adoption.test.ts": 60136,+ "test/persistence-sync-cursor-options.test.ts": 9217,+ "test/persistence-sync-cursor-strategy-6696.test.ts": 8859,+ "test/persistence-sync-fence-holds.test.ts": 30047,+ "test/persistence-sync-holds.test.ts": 22756,+ "test/persistence-sync-lease.test.ts": 30196,+ "test/persistence-write-interrupted.test.ts": 45130,+ "test/persistence-write-stall.test.ts": 5025,+ "test/persistence-writer-fences.test.ts": 4470,+ "test/physical-root-birth-tolerance-6501.test.ts": 9590,+ "test/purge-fact.test.ts": 9206,+ "test/purge-global-marker.test.ts": 7531,+ "test/purge-missing-cache-6911.test.ts": 8604,+ "test/purge-read-surfaces.test.ts": 15248,+ "test/recall-page-fill.test.ts": 8965,+ "test/remediation-manual-only.test.ts": 8896,+ "test/repair-apply-pending-6543.test.ts": 63056,+ "test/repair-embedding-effects.test.ts": 6874,+ "test/repair-failed-writes-conflict-6429.test.ts": 6061,+ "test/repair-failed-writes-drift-w411.test.ts": 5662,+ "test/repair-fences.test.ts": 20943,+ "test/repair-file-drift-deleted-6712.test.ts": 11738,+ "test/repair-frontmatter-keys-sweep-6454.test.ts": 5945,+ "test/repair-frontmatter.test.ts": 17420,+ "test/repair-receipt-compaction.test.ts": 6281,+ "test/repair-rename-identity-6729.test.ts": 18345,+ "test/schema-missing-tables.test.ts": 7070,+ "test/scripts/test-stress-postgres.test.ts": 12058,+ "test/search-read-keyword-bound.test.ts": 3484,+ "test/search/page-rank-cut.test.ts": 11731,+ "test/search/rerank-gate-hybrid.test.ts": 5182,+ "test/search/rerank-gate-telemetry.test.ts": 5618,+ "test/serve-head-watcher-managed.serial.test.ts": 8739,+ "test/shared-content-freshness.test.ts": 4928,+ "test/shared-skills-catalog.test.ts": 52425,+ "test/shared-skills-retention-capacity.test.ts": 4519,+ "test/shared-skills-source-opt-out.test.ts": 3744,+ "test/shared-skills-writer-boundary.test.ts": 10703,+ "test/source-retire-missing-checkout.test.ts": 5642,+ "test/source-row-diagnostics.test.ts": 3971,+ "test/stats-health-source-scope.test.ts": 7534,+ "test/sync-capacity-preflight.test.ts": 6333,+ "test/sync-checkpoint-moved-6834.test.ts": 17511,+ "test/sync-drain-claims.test.ts": 15610,+ "test/sync-drain-effect-recovery-blocked.test.ts": 6458,+ "test/sync-drain-head-blocked-6543.test.ts": 6613,+ "test/sync-drain-inpass-stall.test.ts": 5366,+ "test/sync-drain-write-capacity.test.ts": 10511,+ "test/sync-exits-l4-6712.test.ts": 8295,+ "test/sync-freshness-6858.test.ts": 5910,+ "test/sync-frontmatter-recovery.test.ts": 5238,+ "test/sync-frontmatter-slug-conflict.test.ts": 8275,+ "test/sync-full-cursor-slices-6349.test.ts": 17352,+ "test/sync-full-untracked-import-5459.test.ts": 12741,+ "test/sync-group-member-order.test.ts": 8454,+ "test/sync-handler-drain-6706.test.ts": 31900,+ "test/sync-import-provenance-disk.test.ts": 14185,+ "test/sync-inexact-rename-6729.test.ts": 28591,+ "test/sync-legacy-holds.test.ts": 11817,+ "test/sync-legacy-retry-actions-6696.test.ts": 8921,+ "test/sync-legacy-slug-adoption-6727.test.ts": 12365,+ "test/sync-origin-live-wins-6517.test.ts": 4047,+ "test/sync-prescreen-both-delta-6712.test.ts": 19648,+ "test/sync-prescreen-drift-6712.test.ts": 63992,+ "test/sync-slug-root-mode-6694.test.ts": 16789,+ "test/sync-staged-catchup.test.ts": 9098,+ "test/sync-status-failure-detail-6513.test.ts": 4288,+ "test/sync-waiver-budget.test.ts": 7122,+ "test/sync-waiver-run-imports.test.ts": 8641,+ "test/take-resolution-survives-publish.test.ts": 6930,+ "test/takes-vector-lifecycle-5885.serial.test.ts": 9369,+ "test/terminal-failures-6650.test.ts": 15216,+ "test/trust-channel-writes.test.ts": 13220,+ "test/trust-guarded-supersession.test.ts": 10273,+ "test/trust-held-removals.test.ts": 14296,+ "test/trust-owner-actions.test.ts": 9672,+ "test/unbound-source-6536.test.ts": 10686,+ "test/unindexed-files.test.ts": 15969,+ "test/vector-manifest-probe-bound.test.ts": 20615,+ "test/withdrawal-overlay-concurrency.test.ts": 3802,+ "test/withdrawal-publication-file.test.ts": 4363,+ "test/writer-status-owner-backends.test.ts": 3734}diff --git a/scripts/postgres-unit-arms.ts b/scripts/postgres-unit-arms.tsindex 080a09fd4e..8c8a3b6f3c 100644--- a/scripts/postgres-unit-arms.ts+++ b/scripts/postgres-unit-arms.ts@@ -24,7 +24,7 @@ import { loadWeights, partition } from './sharding.ts';export const ARMS_LIST = 'test/postgres-unit-arms.txt';export const ARM_WEIGHTS = 'scripts/postgres-arm-weights.json';/** persistence-validation's unit-postgres-arms matrix size; test/scripts/postgres-unit-arms.test.ts pins the workflow to it. */-export const ARM_SHARDS = 16;+export const ARM_SHARDS = 19;/** The workflow step's `timeout-minutes: 20`: a shard whose files run longer is cut off mid-list. */export const ARM_STEP_TIMEOUT_MS = 20 * 60 * 1000;/**diff --git a/scripts/ubicloud/README.md b/scripts/ubicloud/README.mdindex 63dcef1590..451aa799e6 100644--- a/scripts/ubicloud/README.md+++ b/scripts/ubicloud/README.md@@ -110,7 +110,7 @@ runs every file in `test/postgres-unit-arms.txt` the way persistence-validation'`unit-postgres-arms` step does (`bun --no-env-file test --timeout=120000`,`GBRAIN_TEST_ALLOW_DATABASE_URL=1`, no timeout multiplier) against the slot'sown empty `gbrain_arms_test` database. The summary sums its measured durations over-that job's `ARM_SHARDS` partition (14 shards), and a shard over the step's 20-minute timeout+that job's `ARM_SHARDS` partition (19 shards), and a shard over the step's 20-minute timeoutfails the run, since GitHub would cut that shard off mid-list. The committedweights must also fit each shard twice over with a minute to spare(`ARM_SHARD_BUDGET_MS`, 570 s), because a slow runner ran the files 1.3-2xdiff --git a/test/postgres-unit-arms.txt b/test/postgres-unit-arms.txtindex 4d227a931f..c27db29bac 100644--- a/test/postgres-unit-arms.txt+++ b/test/postgres-unit-arms.txt@@ -293,6 +293,7 @@ test/pathological/d6-phantom-file-unlink.test.tstest/pathological/d7-synthesize-reverse-write.test.tstest/pathological/d8-patterns-reverse-write.test.tstest/pathological/d9-dream-summary-overwrite.test.ts+test/pathological/facts-mirror-failures.test.tstest/pathological/w1-write-through-staging-window.serial.test.tstest/persistence-background-pause.test.tstest/persistence-bounded-read-session.test.ts