[P0] Build first-class AgentProlog TUI over canonical headless protocol #9
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
security
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/agentProlog#9
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?
Worker
agentprolog-rage-integrationGoal
Build the primary keyboard-first AgentProlog TUI as a frontend/plugin over the same canonical headless AgentProlog/Prolog-RLM protocol used by DeepSeek Harness.
The TUI must be excellent for real coding work without becoming a second runtime or reconstructing truth from pretty logs.
Depends on current AgentProlog product epic #1 and consumes
lost-rob0t/prolog-rlm#335/ AgentProlog #9 for canonical reasoning-mode state.Architecture
The TUI owns presentation, input and interaction only.
It MUST NOT independently own or emulate:
If information required by the UI is missing, add the smallest typed public inspection/event seam instead of scraping logs or guessing.
Required first-class views
Design the TUI around a persistent conversation/run view with compact panes or switchable screens for:
direct,symbolic,symbolic-recursive, orauto -> selected;Keep the default screen uncluttered. Detailed trace/evidence views should be reachable without permanently consuming the main conversation area.
Keyboard/command UX
At minimum support:
/direct;/symbolic;/symbolic-recursive;/auto;Favor Vim-friendly/key-driven operation while retaining discoverable help/key hints.
Streaming and state
Approvals and effects
When canonical runtime exposes a pending approval/diff operation, show the exact structured request and supported actions. The TUI may submit an approval decision but must not invent a fifth authority mode or bypass confinement/effect identity.
Implementation direction
Inspect current repository/Nix/tooling before selecting the TUI framework. Prefer a maintained terminal UI stack that packages cleanly under the project's Nix baseline and supports async event-driven rendering. Do not introduce a frontend framework that forces duplication of the AgentProlog runtime.
Keep frontend protocol adapters isolated so the headless contract remains independently testable.
Tests
Acceptance