Commit 7870827
chore(spec): drop the dead agent
`memory.shortTerm` ({maxMessages, maxTokens}) declared a working-memory window
that NOTHING in the runtime ever consumed — a config that lies. Per cloud
ADR-0013 D3, cross-turn grounding is done by tools reading live state and the
context budget is governed by the per-request token guardrail, not by this
field. The only place it was set was data-chat-agent's definition (also dead).
- Remove `shortTerm` from the agent `memory` zod schema (keeping `longTerm` /
`reflectionInterval` — forward-looking, off-by-default, not misleading).
- Remove the dead `memory.shortTerm` declaration from data-chat-agent.
- Update the memory-config spec test accordingly.
No runtime behavior change (nothing read it). Public API surface unchanged
(the gate tracks export names, not zod field internals); spec agent tests 45/45.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>memory.shortTerm config (ADR-0013 D3, cloud#339)1 parent 8545176 commit 7870827
3 files changed
Lines changed: 6 additions & 20 deletions
File tree
- packages
- services/service-ai/src/agents
- spec/src/ai
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 99 | | |
107 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 592 | | |
597 | 593 | | |
598 | 594 | | |
| |||
602 | 598 | | |
603 | 599 | | |
604 | 600 | | |
605 | | - | |
606 | 601 | | |
607 | 602 | | |
608 | 603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
| |||
0 commit comments