EPIC: Full-fidelity local I/O capture and debugging observability #59
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#59
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
Add an explicit Developer setting that can save the complete Agent Zero model/tool/runtime I/O stream locally for debugging difficult integration failures.
This is a diagnostic mode, not ordinary telemetry. It must be opt-in, obvious, local-first, bounded, and easy to delete.
User-facing setting
Add a Developer Settings control:
Save all I/O for debugging
Default: OFF.
When enabled, capture the complete supported debug envelope for each turn, including model request/response payloads, tool calls/results, transport decisions, Prolog-RLM compile requests/results, timing, token ledgers, provider error bodies, and relevant lifecycle events.
The UI must clearly warn that raw debug capture may contain sensitive data such as prompts, files, tool arguments/results, URLs, headers, environment-derived values, or credentials returned by external systems.
Storage
Default local location:
Use structured append-only JSONL or equivalent machine-readable event files grouped by session/turn.
Each event should include enough correlation metadata to reconstruct a failing turn:
in/out/internal)agent,litellm,openrouter,prolog_rlm,tool,api,websocket, etc.)Capture boundaries
Capture the actual payload as close as practical to each boundary rather than reconstructing it later.
Important boundaries:
Security and privacy
Raw mode is intentionally dangerous and must not pretend otherwise.
Requirements:
The normal application must continue redacting secrets in ordinary logs. Raw debug capture is a separate explicit facility.
Runtime behavior
Inspection UX
Developer Settings should also show:
A later viewer can provide structured filtering by subsystem/event/turn, but raw capture is the first requirement.
Tests
Acceptance
Save all I/O for debugging.