Skip to content

bug(frontend): 47 main-GUI API calls go to a missing route or use the wrong method (dev-speedup, browser automation, code intelligence, system backup/restart, …) #18730

Open
1 of 1 issue completed

Description

@mrveiss

From the external report's FE→backend endpoint map (Autobot_grok_reports/api-fe-endpoint-map.csv, at 22d23aea8c; umbrella #18717). These are the main-GUI call sites the report found going to a route that does not exist, the wrong app, or the wrong method. The report's data, not re-verified per row: each fix starts by confirming the row against origin/main. The SLM GUI's 42 broken calls are #15536; the 5 shadowed ones are fixed backend-side in #18720 (no FE change).

Per row, the fix is one of: repoint the FE to the route that serves it (the "nearest" column is the report's fuzzy match, a hint only), add the missing backend route if the feature is real, or retire the caller if the feature is gone (with approval; the report tags useDevSpeedup as "remove/archive"). Several composables have no .vue importer (useCodeIntelligence, SystemRepository, useBatchProcessing), so check whether they are live before fixing their calls.

FE call site Call Status Nearest served route (report's match score)
components/knowledge/KnowledgeResearchPanel.vue:321 POST /api/knowledge/verification/approve missing POST /api/knowledge_base/verification/{}/approve autobot-backend/api/knowledge_verification.py:146 (0.90)
composables/transcriber/useSseProgress.ts:17 GET /api/transcriber/recordings/{}/progress missing GET /api/transcriber/recordings/{} autobot-backend/transcriber/routes/recordings.py:140 (0.87)
composables/transcriber/useTranscriberApi.ts:168 GET /api/transcriber/recordings/{}/ai/ask method mismatch route has POST: autobot-backend/transcriber/routes/ai.py:26
composables/useBatchProcessing.ts:92 POST /api/batch-jobs/{}/cancel method mismatch route has DELETE,GET,PATCH: autobot-backend/api/batch_jobs.py:463; autobot-backend/api/batch_jobs.py:492
composables/useBatchProcessing.ts:112 GET /api/batch-jobs/templates matched-but-shadowed intended R1406 /api/batch-jobs/templates/ autobot-backend/api/batch_jobs.py:392 is shadowed by /api/batch-jobs
composables/useBatchProcessing.ts:142 GET /api/batch-jobs/schedules matched-but-shadowed intended R1410 /api/batch-jobs/schedules/ autobot-backend/api/batch_jobs.py:527 is shadowed by /api/batch-jobs
composables/useBrowserAutomation.ts:176 POST /api/browser/launch missing
composables/useBrowserAutomation.ts:192 POST /api/browser/close missing POST /api/browser/mcp/hover autobot-backend/api/browser_mcp.py:999 (0.80)
composables/useBrowserAutomation.ts:232 GET /api/browser/session/{} missing
composables/useBrowserAutomation.ts:276 POST /api/browser/type missing POST /api/browser/mcp/hover autobot-backend/api/browser_mcp.py:999 (0.77)
composables/useBrowserAutomation.ts:318 POST /api/browser/execute missing POST /api/browser/mcp/select autobot-backend/api/browser_mcp.py:969 (0.79)
composables/useBrowserAutomation.ts:332 POST /api/browser/automation/run missing
composables/useBrowserAutomation.ts:346 DELETE /api/browser/session/{} missing
composables/useCodeIntelligence.ts:194 GET /api/code-intelligence/analysis/{} missing GET /api/code-intelligence/pattern-types autobot-backend/api/code_intelligence.py:933 (0.77)
composables/useCodeIntelligence.ts:211 POST /api/code-intelligence/quality-score missing POST /api/code-intelligence/analyze autobot-backend/api/code_intelligence.py:690 (0.82)
composables/useCodeIntelligence.ts:278 GET /api/code-intelligence/trends missing GET /api/code-intelligence/redis/findings autobot-backend/api/code_intelligence.py:2140 (0.85)
composables/useCodeIntelligence.ts:293 POST /api/code-intelligence/compare missing POST /api/code-intelligence/scan-file autobot-backend/api/code_intelligence.py:833 (0.84)
composables/useCodeIntelligence.ts:309 GET /api/code-intelligence/history missing GET /api/code-intelligence/health-score autobot-backend/api/code_intelligence.py:882 (0.83)
composables/useCodeIntelligence.ts:324 DELETE /api/code-intelligence/analysis/{} missing
composables/useCodeIntelligence.ts:341 POST /api/code-intelligence/batch-analyze missing POST /api/code-intelligence/analyze autobot-backend/api/code_intelligence.py:690 (0.91)
composables/useDevSpeedup.ts:98 POST /api/dev-speedup/quick-search missing
composables/useDevSpeedup.ts:113 POST /api/dev-speedup/snippet-generate missing
composables/useDevSpeedup.ts:147 POST /api/dev-speedup/refactor-suggest missing
composables/useDevSpeedup.ts:162 POST /api/dev-speedup/boilerplate missing
composables/useDevSpeedup.ts:178 POST /api/dev-speedup/test-generate missing
composables/useDevSpeedup.ts:193 POST /api/dev-speedup/optimize missing POST /api/dev-speedup/analyze autobot-backend/api/development_speedup.py:62 (0.78)
composables/useDevSpeedup.ts:209 POST /api/dev-speedup/format missing POST /api/dev-speedup/analyze autobot-backend/api/development_speedup.py:62 (0.77)
composables/useDevSpeedup.ts:225 POST /api/dev-speedup/lint-fix missing
composables/useKnowledgeGraph.ts:332 GET /api/knowledge-graph/documents missing GET /api/knowledge-graph/events autobot-backend/api/knowledge_graph_routes.py:175 (0.88)
composables/useKnowledgeGraph.ts:350 GET /api/knowledge-graph/summaries missing GET /api/knowledge-graph/summaries/search autobot-backend/api/knowledge_graph_routes.py:253 (0.90)
composables/usePatternAnalysis.ts:739 DELETE /api/analytics/codebase/patterns/storage/clear method mismatch route has POST: autobot-backend/api/codebase_analytics/endpoints/pattern_analysis.py:757
composables/usePlugins.ts:288 GET /api/plugins/audit matched-but-shadowed intended R0853 /api/plugins/audit autobot-backend/plugin_manager.py:634 is shadowed by /api/plugins/{}
embed/AutobotWidget.ts:187 POST /api/chats/embed/message matched-but-shadowed intended R0090 /api/chats/embed/message autobot-backend/api/chat_embed.py:173 is shadowed by /api/chats/{}/mes
models/repositories/KnowledgeRepository.ts:450 GET /api/knowledge_base/documents/{} missing GET /api/knowledge_base/fact/{} autobot-backend/api/knowledge.py:2487 (0.85)
models/repositories/KnowledgeRepository.ts:510 GET /api/knowledge_base/documents/{}/similar missing GET /api/knowledge_base/tags/{}/style autobot-backend/api/knowledge_tags.py:777 (0.77)
models/repositories/KnowledgeRepository.ts:536 GET /api/knowledge_base/suggestions missing GET /api/knowledge_base/collections autobot-backend/api/knowledge_collections.py:137 (0.84)
models/repositories/SystemRepository.ts:257 POST /api/system/restart missing
models/repositories/SystemRepository.ts:263 POST /api/system/shutdown missing
models/repositories/SystemRepository.ts:333 GET /api/service-monitor/resources missing GET /api/service-monitor/services autobot-backend/api/service_monitor.py:87 (0.85)
models/repositories/SystemRepository.ts:340 POST /api/system/backup/create missing
models/repositories/SystemRepository.ts:345 GET /api/system/backup/list missing GET /api/system/backup/status autobot-backend/api/system.py:1086 (0.88)
models/repositories/SystemRepository.ts:350 POST /api/system/backup/restore/{} missing
models/repositories/SystemRepository.ts:355 DELETE /api/system/backup/{} method mismatch route has GET: autobot-backend/api/system.py:1086
services/api.ts:111 POST /api/chats method mismatch route has GET: autobot-backend/api/chat.py:999
services/api.ts:338 GET /api/service-monitor/resources missing GET /api/service-monitor/services autobot-backend/api/service_monitor.py:87 (0.85)
utils/VisionMultimodalApiClient.ts:495 GET /api/multimodal/health missing GET /api/multimodal/stats autobot-backend/api/multimodal.py:429 (0.84)
views/llc/WorkItemDetail.vue:511 GET /api/llc/work-items/{}/comments method mismatch route has POST: autobot-backend/llc/api/work_items.py:829

47 rows.

Acceptance criteria

  • Every row is confirmed against origin/main (still broken, or already fixed) and resolved by repoint, a new route, or approved retirement; the decision is recorded per composable.
  • The api-wiring check (scripts/audit_api_wiring.py / api-wiring.yml) fails on a new FE call to an unserved path or with the wrong method; its baseline shrinks by the fixed rows.

Activity

  1. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    Landed via the merge train (#21658, merge 7e54fc095d) via #21656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions