diff --git a/ralph/prd.json b/ralph/prd.json index 86dc882..9006bfd 100644 --- a/ralph/prd.json +++ b/ralph/prd.json @@ -122,8 +122,8 @@ "Keep services that support MCP or remaining features", "npm run type-check passes" ], - "passes": false, - "notes": "" + "passes": true, + "notes": "Deleted supabaseTokenRegistry.ts (stub for private version, not imported anywhere). Kept requestContext.ts (used by workflowExecutor, middleware, executeWorkflow, evalsLogger) and autoContext.ts (used by workflow API route and executeWorkflow tool)." }, { "id": "10", diff --git a/ralph/progress.txt b/ralph/progress.txt index 8a51e97..eecd206 100644 --- a/ralph/progress.txt +++ b/ralph/progress.txt @@ -146,3 +146,15 @@ Goal: Strip ra-h_os to lightweight 2-panel UI + MCP server - 776 lines of code removed - The remaining agent services are all used by MCP-accessible functionality +## Story 9: Clean up context services +- Completed: Thu 29 Jan 2026 +- Files deleted: + - src/services/context/supabaseTokenRegistry.ts (stub for private version, not imported) +- Files kept: + - src/services/context/requestContext.ts (used by workflowExecutor, chat middleware, executeWorkflow tool, evalsLogger) + - src/services/context/autoContext.ts (used by /api/workflows/execute route and executeWorkflow tool) +- Learnings: + - supabaseTokenRegistry was a stub placeholder for the private version's auth system + - requestContext provides API key passing and trace IDs through the request lifecycle + - autoContext provides "top 10 most connected nodes" context for workflows +