Login
View Ticket
Login
Ticket Hash: cf651911d29af90addfd2866e389cdec2d330a68
Title: Document architectural advantages of the Chat/Task agent separation
Status: Closed Type: Feature_Request
Severity: Normal Priority: Medium
Subsystem: Resolution: Overcome_By_Events
Last Modified: 2026-11-09 21:53:27
34.3 hours ago
Created: 2026-06-05 15:38:43
158.7 days ago
Version Found In:
Description:
The current architecture separates the 'Chat Agent' (which handles user interaction and analysis) from the 'Task Pipeline' (the Codex agent which implements and verifies changes).

This 'governed' approach provides several advantages over single-agent sandboxes: 1. **Risk Mitigation**: Prevents the chat interface from accidentally introducing breaking changes directly into the codebase. 2. **Verification Loop**: Ensures that every change is passed through a strict pipeline of implementation, formatting, and verification before being committed. 3. **Role Specialization**: Mirrors a professional software engineering workflow where analysis/planning is decoupled from implementation/verification. 4. **Stability**: Reduces hallucinations and unstable state by enforcing a structured hand-off via `enqueue_task`.

This should be documented in the project wiki or a dedicated architecture document to guide future development and onboarding.

User Comments:
added on 2026-07-07 23:47:00:
SCOPE REFINED to a concrete docs unit: write an architecture page in agent-docs (and wiki-link it) covering the three execution surfaces and why they are separated: /chat room = read-only advisor (inform/plan), forum-thread sessions = interactive development on session branches, ticket queue = one-shot isolated task jobs; include the risk-mitigation/verification-loop/role-specialization rationale from this ticket plus the merge path (session branch -> trunk-ops). Close when the page is committed and served. Local-model eligible with the outline above.

added on 2026-11-09 21:53:27:

Closed in OCX's ticket sort, batch 6 (ollama post 8f6c9afbb7): work on trunk's machinery, inactive since the ocx branch (Sep 21) and absent from protocol v2. The code stays in the history; reopen this if it comes back.