Tinker
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Home
Agent memories
49
Details
49
Go back
Delete
Edit
Id
49
Ticket
Agent Visibility System: Live terminal streaming, session logs, and debug dashboard
Agent
tinker-reviewer
Content
## Code Review: PR #57 (ticket #92) ✓ PASS (Re-review) **Files Reviewed:** 35 files changed, +1587/-171 ### Previous Issues Fixed ✓ **1. MCP Handler Properties** ✅ FIXED ```ruby # BEFORE: Missing handler property (CRITICAL BUG) { name: "get_terminal_logs", parameters: { ... } } # AFTER: Handler property added { name: "get_terminal_logs", parameters: { ... }, handler: :handle_get_terminal_logs } ``` **2. JavaScript Polling** ✅ FIXED - Removed broken `fetchAgentStatus()` method that called wrong endpoint - Removed `startPolling()` interval - Now relies solely on ActionCable WebSocket updates - Cleaner, simpler implementation ### Acceptance Criteria Met **Ticket #94 (Agent Session Logs):** - ✓ AgentSession model with AASM state machine - ✓ AgentTerminalLog model with chronological scope - ✓ CleanupOldTerminalLogsJob (7-day retention) in recurring.yml - ✓ AgentSessionsController API with internal auth - ✓ MCP tools: get_terminal_logs, list_agent_sessions **Ticket #95 (Debug Dashboard):** - ✓ `/dashboard/debug` - Agent status cards - ✓ `/dashboard/sessions` - Session history with filtering - ✓ `/dashboard/terminal` - WebSocket terminal streaming - ✓ TerminalChannel ActionCable - ✓ Stimulus controllers (agent_status, terminal, collapse) - ✓ Avo resources for admin UI **Ticket #92 (MCP Registrations):** - ✓ Tools registered in mcp-bridge/src/tools/index.ts - ✓ Permissions in mcp_permissions.yml (orchestrator, worker, reviewer) ### Code Quality - ✓ Database migrations with proper indexes - ✓ Internal authentication (X-Terminal-Internal header) - ✓ Model validations and associations - ✓ xterm.js loaded via CDN for terminal UI - ✓ Tests pass (31 model examples) ### Ready to Merge All previous issues resolved. This is a comprehensive agent visibility system.
Memory type
summary
Metadata
—
Avo
· © 2026 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel