Rework the agent context with a deeper architecture pass and live validation.
- User
Rework the agent context with a deeper architecture pass and live validation.
Assistant
I'll rework the context architecture and validate it live.
Assistant
The failures are tests pinning the OLD architecture — updating them to assert the same content in its new home.
Assistant
Now rewriting the prefix-stability test for the stronger architecture: fully-stable system prompt + shared history bytes.
Assistant
Bounding the goal-planner prefix cost (observed 132s before the real turn on slow boxes).
Assistant
One live end-to-end validation of the new message architecture against the real model — the consecutive-user-message shape is the riskiest change.
Assistant
The post-user placement breaks two backward walkers — fixing both.
Assistant
Live validation passed end-to-end (exit 0, correct answers, goal auto-continue, real llama.cpp accepted the message shape). Committing the placement refinement.
Assistant
The context overhaul went a full architecture level deeper this round, and it's live-validated against the real backend. What changed beyond the last push