Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test: the #7402 recheck test's operation context typechecks
garrytanc21d4b1a2fe0
diff --git a/test/facts-absorb-held-replay-7364.test.ts b/test/facts-absorb-held-replay-7364.test.tsindex f0defea71c..2320688ddc 100644--- a/test/facts-absorb-held-replay-7364.test.ts+++ b/test/facts-absorb-held-replay-7364.test.ts@@ -32,7 +32,7 @@ test('write-triggered facts recover after a preparation hold clears, preservingawait engine.executeRaw('INSERT INTO sources(id,name,local_path) VALUES($1,$1,$2)', [sourceId, root]);await claimWorktree(engine, sourceId, root);const config = { engine: engine.kind, embedding_disabled: true };- const operation = { engine, sourceId, remote: false, config } as OperationContext;+ const operation = { engine, sourceId, remote: false, dryRun: false, config, logger: { info() {}, warn() {}, error() {} } } as unknown as OperationContext;await submitPageMutation(operation, { operation: 'put_page', params: { slug, request_id: randomUUID(),content: '---\ntitle: Example\ntype: company\n---\n# Example\n\nSynthetic roadmap notes.\n' } });const [original] = await engine.executeRaw<{ id: string }>(