mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 21:23:54 +08:00
DecomposeGoalsWithProvider built its session without a DynamicBoundary, and Norma reads 0 as "no cache breakpoint", so every turn of goal decomposition resent its tools and system prompt uncached on Anthropic profiles. It now sets 1 for its single static segment, the breakpoint docs/context-telemetry.md still said deferredSystem returns 0 without a global deferred-MCP block. It now describes the always-on boundary and what system_dynamic holds on each lane. Tests: TestDecomposeGoalsValidStructuredToolCallAccepted checks the boundary on every request (needs Postgres); it fails with the fix reverted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>