PHASE 0 EPIC: Debloat Agent Zero context before RLM #148
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#148
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?
Parent: #1
Goal
First task: debloat Agent Zero context. No Prolog-RLM dependency.
Before adding symbolic control, make the existing Agent Zero runtime lean, bounded and measurable using its current plugins, lifecycle hooks, prompt structure and configuration.
Work order
Constraints
agent.pyedits.Development RAGE loop
Review
Inspect exact context assembly paths: system prompt renderer, tool prompt builder, skills, promptinclude, memory recall, message history/tool-result retention and token accounting. Measure before editing.
Analyze
Pick the largest avoidable context source. Define expected token reduction, behavior invariant, regression test and rollback.
Generate
Implement the smallest focused change. Avoid broad prompt rewrites when one hook/config/default fixes the source.
Execute
Run focused tests + rendered-context/token measurement + representative task. Inspect failures and loop again. Continue into the next highest-impact debloat source rather than stopping at the first green patch.
Priority hypotheses
A. Tool payload
Current tool prompt construction eagerly concatenates allowed tool prompts. Replace or reduce this with a compact discovery surface where practical using plain Agent Zero mechanisms first.
B. Promptinclude
Current defaults permit a large ambient injection surface. Root/default behavior should be substantially shallower and smaller, with explicit bounds.
C. Memory
Recall should favor a few high-confidence, project-scoped results instead of broad ambient recall. Avoid automatic durable writes while we cannot verify quality strongly enough.
D. History/tool results
Large raw outputs should be summarized/referenced/pruned rather than repeatedly carried when no longer needed.
E. Core prompt
Remove duplicated instructions and narrated-thought guidance. Keep the generic solving prompt lean; do not embed RAGE there.
Acceptance
Exit gate
Do not begin #8 / RLM integration until this issue has a measured lean baseline and its acceptance tests are substantially green.
Mirrored from
lost-rob0t/a0-symbolics#2via tracker sync.