Commit Graph

2 Commits

Author SHA1 Message Date
Gabriel
53fedc7084 refactor: unify stableStringify implementations (#80457)
Centralize agent stable serialization for cache tracing, models config fingerprinting, and tool-loop hashing.

Adds focused coverage for sorted keys, true cycles, repeated references, cache-trace edge types, and circular tool-call hashing.

Verification:
- pnpm test src/agents/stable-stringify.test.ts src/agents/tool-loop-detection.test.ts src/agents/cache-trace.test.ts -- --reporter=verbose
- OPENCLAW_TESTBOX=0 pnpm check:changed
- GitHub CI: https://github.com/openclaw/openclaw/actions/runs/25716851500
- Real behavior proof: https://github.com/openclaw/openclaw/actions/runs/25717047037

Co-authored-by: Gabriel Piss <gabriel@gabeos.dev>
2026-05-12 07:18:53 +01:00
Peter Steinberger
1934eebbf0 refactor(agents): dedupe lifecycle send assertions and stable payload stringify 2026-02-18 14:15:14 +00:00