docs: update prd.json and progress.txt for story 9

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
“BeeRad”
2026-01-29 15:35:40 +11:00
co-authored by Claude Opus 4.5
parent ee4053a0cf
commit e165c65627
2 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -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",
+12
View File
@@ -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