Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/capy/f2-lane-a-crash-robot' into capy/foundations-2

garrytana9bcc928ada9
diff --cc src/core/persistence/consumer.ts
index fc990941e7,a5bf200be5..624a3a4ba7
--- a/src/core/persistence/consumer.ts
+++ b/src/core/persistence/consumer.ts
@@@ -15,9 -15,12 +15,13 @@@ import { redactConnectionInfo } from '.
import { AsyncLocalStorage } from 'node:async_hooks';
import { monitorEventLoopDelay, type IntervalHistogram } from 'node:perf_hooks';
import { maybeRefreshPlannerStats } from '../planner-stats.ts';
+import { refreshFenceClear } from './worktree-refresh-schema.ts';
+ import { faultPoint } from './fault-points.ts';
+ import { releaseAbandonedClaims } from './effect-journal.ts';
type PhaseObservation = { name: string; started_at: string; deadline_exceeded: boolean; attempt: number; first_conn_ms?: number };
+ /** When this process started; on PGLite no claim written earlier can belong to a live owner. */
+ const PROCESS_STARTED_AT = new Date(performance.timeOrigin);
/** #5801: the phase a connection checkout belongs to, carried through its async chain. */
const phaseScope = new AsyncLocalStorage<{ observation: PhaseObservation; startedAt: number }>();