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 |
|