docs: update prd.json and progress.txt for story 8
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
8a3b6df609
commit
3dd766e248
+2
-2
@@ -110,8 +110,8 @@
|
||||
"Keep files that support MCP tools or standalone functionality",
|
||||
"npm run type-check passes"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": "Be conservative - some services may be used by MCP tools"
|
||||
"passes": true,
|
||||
"notes": "Deleted registry.ts (only used by deleted contextBuilder). Also deleted unused src/services/ai.ts and entire src/services/helpers/ directory (contextBuilder.ts, logger.ts). Kept: workflowExecutor.ts (MCP), quickAdd.ts (API), toolResultUtils.ts (used by both), transcriptSummarizer.ts (used by quickAdd), autoEdge.ts (API nodes endpoint), types.ts."
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
|
||||
@@ -125,3 +125,24 @@ Goal: Strip ra-h_os to lightweight 2-panel UI + MCP server
|
||||
- ReasoningTrace and ToolDisplay were only used by RAHChat - safe to delete
|
||||
- ~2000 lines of chat UI code removed
|
||||
|
||||
## Story 8: Clean up agent services
|
||||
- Completed: Thu 29 Jan 2026
|
||||
- Files deleted:
|
||||
- src/services/agents/registry.ts (only used by contextBuilder.ts which was deleted)
|
||||
- src/services/ai.ts (not imported anywhere)
|
||||
- src/services/helpers/contextBuilder.ts (not imported anywhere - was for chat agent context)
|
||||
- src/services/helpers/logger.ts (not imported anywhere)
|
||||
- Files kept (still used by MCP tools/API):
|
||||
- src/services/agents/workflowExecutor.ts (executeWorkflow tool, /api/workflows/execute)
|
||||
- src/services/agents/quickAdd.ts (/api/quick-add endpoint)
|
||||
- src/services/agents/toolResultUtils.ts (used by workflowExecutor and quickAdd)
|
||||
- src/services/agents/transcriptSummarizer.ts (used by quickAdd for chat transcript import)
|
||||
- src/services/agents/autoEdge.ts (used by /api/nodes endpoint for auto-edge creation)
|
||||
- src/services/agents/types.ts (AgentDefinition types - still referenced)
|
||||
- Learnings:
|
||||
- contextBuilder.ts was the bridge between agents and the chat system - with chat gone, it's unused
|
||||
- registry.ts defined agent configurations (ra-h, ra-h-easy, workflow) used only by contextBuilder
|
||||
- ai.ts was a standalone AIService class that was never imported anywhere
|
||||
- 776 lines of code removed
|
||||
- The remaining agent services are all used by MCP-accessible functionality
|
||||
|
||||
|
||||
Reference in New Issue
Block a user