feat(gateway): /system override condensation — accumulate + Haiku merge #198

Merged
jason.woltje merged 1 commits from feat/system-override-condensation into main 2026-03-17 02:26:32 +00:00

1 Commits

Author SHA1 Message Date
edd6dfe36d feat(gateway): /system override condensation — accumulate + Haiku merge
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Multiple /system calls now accumulate instead of replacing. After each
call, fragments are condensed into one coherent override via Haiku
(claude-haiku-4-5-20251001). Most recent instruction wins on conflicts.
Falls back to newline concatenation if LLM call fails or ANTHROPIC_API_KEY
is unset. Both condensed result and raw fragments array are stored with the
same TTL; clear deletes both keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 21:19:47 -05:00