[P0] Prolog-RLM context cap retains oldest 192 messages and drops newest tool results #107
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Agent Zero Prolog-RLM adapter bounds history by stopping after the first 192 units. Agent Zero history is chronological, so long-running chats retain their oldest turns and discard the newest tool results, decisions, and progress.
Owning code
plugins/_prolog_rlm/helpers/loop.py:
There is no regression test with more than 192 messages. Existing tests only cover two prior messages.
Live impact
The current hackmode-rage-worker chat has:
At least the newest 510 messages are excluded by the adapter cap. Those excluded turns contain the latest tool results and progress needed to avoid repeating work. This matches the reported high spend with little useful output.
Acceptance criteria