Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
INTEGRATOR-ROW: FACTS_ABSORB_REASONS adds write_pending_accepted and write_deferred_unadmitted (#6778)
garrytan14758692e1e6
diff --git a/src/core/facts/absorb-log.ts b/src/core/facts/absorb-log.tsindex 81d75741bf..d3f8ea709d 100644--- a/src/core/facts/absorb-log.ts+++ b/src/core/facts/absorb-log.ts@@ -59,6 +59,8 @@ export const FACTS_ABSORB_REASONS = ['gateway_rate_limit','gateway_model_not_found','write_refused',+ 'write_pending_accepted',+ 'write_deferred_unadmitted',] as const;/**diff --git a/test/facts-absorb-log.test.ts b/test/facts-absorb-log.test.tsindex 18d184df0b..347398878c 100644--- a/test/facts-absorb-log.test.ts+++ b/test/facts-absorb-log.test.ts@@ -133,7 +133,9 @@ describe('writeFactsAbsorbLog — ingest_log row shape', () => {expect(FACTS_ABSORB_REASONS).toContain('gateway_model_not_found');// #5362: write-path refusals record their own code.expect(FACTS_ABSORB_REASONS).toContain('write_refused');- expect(FACTS_ABSORB_REASONS.length).toBe(17);+ expect(FACTS_ABSORB_REASONS).toContain('write_pending_accepted');+ expect(FACTS_ABSORB_REASONS).toContain('write_deferred_unadmitted');+ expect(FACTS_ABSORB_REASONS.length).toBe(19);});test.each([