Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge remote-tracking branch 'origin/capy/gbra130-backfill-purge' into capy/gbra130-item-isolation
garrytan70c8b1a9e51a
diff --cc src/core/item-failure.tsindex 2b76190123,d1d68c2a1e..ac248e62fe--- a/src/core/item-failure.ts+++ b/src/core/item-failure.ts@@@ -27,9 -27,9 +27,12 @@@ import { acceptedPendingReceipt } from/** Every per-item loop that isolates its items, with the inventory row it fixes (reports/GBRA-130-inventory.md). */export const ISOLATE_SITES = {+ 'autopilot.global_maintenance': 'A-10',+ 'synthesize.postprocess': 'A-4',+ 'synthesize.triage_verdict_cache': 'B-6',+ 'backfill.rows': 'A-47',+ 'purge.recorded_tombstones': 'A-49',+ 'retention.expired_sources': 'A-50',} as const satisfies Record<string, string>;export type IsolateSite = keyof typeof ISOLATE_SITES;diff --cc test/pathological/catalogue.tsindex c7360ad603,25060b1610..0e963946f4--- a/test/pathological/catalogue.ts+++ b/test/pathological/catalogue.ts@@@ -18,19 -18,13 +18,28 @@@ export interface SiteCases}export const CATALOGUE: Record<IsolateSite, SiteCases> = {+ 'autopilot.global_maintenance': {+ file: 'test/pathological/a10-global-maintenance-stamp.test.ts',+ item: 'a phase failing the same way in three passes stops withholding the stamp',+ run: 'a run-scoped failure at the phase loop stops the job and records no streak',+ },+ 'synthesize.postprocess': {+ file: 'test/pathological/a4-synthesize-postprocess.test.ts',+ item: 'A-4 item: a carried output whose postprocess request ended revision_conflict',+ run: 'A-4 run: a run-scoped error while reading a carried output stops the pass',+ },+ 'synthesize.triage_verdict_cache': {+ file: 'test/pathological/b6-triage-verdict-surrogate.test.ts',+ item: 'B-6 item: a verdict the database refuses is not cached',+ run: 'B-6 run: a run-scoped error writing a verdict stops the pass',+ },+ 'backfill.rows': { file: 'test/pathological/a47-backfill-poison-row.test.ts',+ item: 'item: a row whose UPDATE violates a CHECK is skipped, recorded and passed; its siblings land',+ run: 'run: a run-scoped failure (' },+ 'purge.recorded_tombstones': { file: 'test/pathological/a49-unmanaged-purge-tombstones.test.ts',+ item: 'item: a tombstone whose delete is refused is reported and kept; the other tombstones and the bulk delete still purge',+ run: 'run: a run-scoped failure (' },+ 'retention.expired_sources': { file: 'test/pathological/a50-unmanaged-expired-sources.test.ts',+ item: 'item: a source whose delete times out is blocked with its code and the manual purge; the other expired sources purge',+ run: 'run: a run-scoped failure (' },};diff --cc test/postgres-unit-arms.txtindex 9d3bca8961,80c2f55ba6..d996b1ef74--- a/test/postgres-unit-arms.txt+++ b/test/postgres-unit-arms.txt@@@ -218,9 -218,9 +218,12 @@@ test/page-prepare-shared-origin-6517.tetest/page-purge-batch-sweep-6884.test.tstest/page-purge-journal-timeout-6511.test.tstest/page-state-engine.test.ts+test/pathological/a10-global-maintenance-stamp.test.ts+test/pathological/a4-synthesize-postprocess.test.ts+ test/pathological/a47-backfill-poison-row.test.ts+ test/pathological/a49-unmanaged-purge-tombstones.test.ts+ test/pathological/a50-unmanaged-expired-sources.test.ts+test/pathological/b6-triage-verdict-surrogate.test.tstest/persistence-background-pause.test.tstest/persistence-bounded-read-session.test.tstest/persistence-capacity-forecast.test.ts