Repository navigation
refactor(frontend): delete 11 unreferenced Vue components and views (#2492) - #2496
Merged
Merged
Conversation
…2492) Every file re-verified dead before deletion: no static import, no route, no name match in any .vue/.js outside itself, and none reachable through the dynamic patterns the scan cannot see — every `<component :is>` in the tree resolves from registries (GRID_WIDGETS, the report renderer map) whose string values were covered by the same name search, and there are no template-literal imports. Deleted: views/FileManager.vue (route removed for the per-agent Files tab long ago), MetricsPanel.vue + ObservabilityPanel.vue (ent#253 kept fixing them while unreferenced), UnifiedActivityPanel.vue (never integrated; Operations #1109 owns the surface), operator/QueueList.vue + QueueStats.vue (Operating Room leftovers), rooms/RoomComposer.vue + RoomTranscript.vue (ent#170 remnants; the Workspace room UI replaced them), StatusIndicator.vue (#67 semantic tokens), and — the explicit keep-or-delete the issue asks for — YamlEditor.vue + EditorHelpPanel.vue DELETED: the CSP rationale that kept them unrevived (prod is script-src 'self' with no unsafe-eval/worker-src) is permanent, so a revival would be a rewrite either way, and a 530-line dead pair is pure liability. architecture.md's paragraph now records that. refreshTreatment.spec.js keeps its store half (stores/observability.js is live and is where the hasLoaded/available honesty was fixed) and its DashboardPanel source assertions; the assertions over the two deleted panels leave with them. Ratchet baselines shrink monotonically: loading-gate via its scan script (75 gates / 58 files), raw-color by removing exactly the 11 files' entries from the committed baseline — a full scripted regen was tried first and REJECTED because the committed baseline has drifted (49 files added since the last regen carry violations), so a wholesale regen would have RAISED allowances, the opposite of the ratchet's only-shrink rule. That drift is a separate cleanup. Docs: architecture.md, operating-room.md, file-manager.md, activity-monitoring.md, agent-custom-metrics.md, opentelemetry-integration.md, system-manifest.md, workspace-composer-typeahead.md, PHASE_14 updated where they presented a deleted file as live; dated point-in-time records (feature-flows.md changelog rows, learnings.md, docs/reports, the 2026-03-07 OPS-001 spec) left as history per the architecture.md editorial rule. Known residual: stores/observability.js lost its last component consumer (ObservabilityPanel) — outside this issue's file list, so it stays; the next reachability sweep will list it. Closes #2492 Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NLfHNPtB5UCMk4LonZiJux
obasilakis
approved these changes
Sep 2, 2026
obasilakis
left a comment
Contributor
There was a problem hiding this comment.
/validate-pr: APPROVE
Every one of the 11 deletions is independently verified unreferenced at PR head (ed56f66), across static, dynamic and router surfaces:
git grep -w <Stem> -- src/frontend/returns only two prose comments intests/unit/refreshTreatment.spec.js:6,13.- No
*.vuefilename string anywhere outside docs; zero non-literalimport(...). - All 8
<component :is>sites resolve from icon getters,'router-link'/'div'literals,tiles/catalog.js(4 tiles) orReportRenderer.vue's 5-entry map — none names a deleted component. - No
/filesroute inrouter/; thecomponents/file-manager/sub-tree is still consumed by the liveFilesPanel.vue.
Both ratchets shrink and all 26 checks pass, including e2e (the ui label) and build.
Warnings
- Docs drift left behind — all current-state, none in the PR's changed-file set. AC4 already defers this to a companion docs-drift issue, so partial coverage is anticipated; the files are:
docs/memory/feature-flows/dark-mode-theme.md:201,212,214,223,230,236and:374,378,381,383,384— coverage tables/checklists listing FileManager, UnifiedActivityPanel, MetricsPanel, ObservabilityPanel, EditorHelpPanel, YamlEditordocs/memory/feature-flows/agent-network.md:68— ObservabilityPanel as a live OTel surfacedocs/memory/requirements/core-agent.md:84—QueueList,FileManagerdocs/memory/requirements/roadmap.md:81— "YamlEditor was NOT revived", now stale
src/frontend/src/stores/observability.jsis now consumer-less exceptrefreshTreatment.spec.js. The PR discloses this as an out-of-scope residual (the issue is deletions-only over the enumerated 11), which is right — but it needs a follow-up or it re-enters the next reachability scan.raw-color-baseline.jsonwas hand-edited rather than regenerated, which AC3 explicitly asks against. The edit itself is verifiably conservative — exactly the 11 file keys removed, totals shrinking 753→737 nongray, 7423→6959 gray, 141→130 files — but the header still reads"generated": "2026-07-31"/"commit": "5b28999", so nothing records the newer edit. (loading-gate-baseline.jsonwas properly regenerated, 77→75 and 60→58.)
Suggestions
- File the docs-drift follow-up now and reference it in the PR body, so the four files above don't strand.
- File the baseline-drift issue the PR body already argues for (49 files' violations added since the last full regen) — that's what forced the hand edit.
- Fold
stores/observability.jsand its spec's store half into whichever follow-up lands first.
Findings produced by /validate-pr (Claude Code).
Merged
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deletes the 11 unreferenced Vue files (~2,900 lines) from #2492's table. Every candidate was re-verified before deletion — no static import, no route, no name match anywhere in the tree, and none reachable through the dynamic patterns the scan can't see: every
<component :is>in the codebase resolves from registries (GRID_WIDGETS, the report-renderer map) whose string values the same name search covers, and there are no template-literal imports.The YamlEditor decision (AC 2)
Deleted, with
EditorHelpPanel.vue. The CSP rationale that kept them "unrevived" (prod isscript-src 'self'with nounsafe-eval/worker-src; monaco needs both) is a permanent property of the deployment, not a pending decision — any future YAML editor would be a rewrite against a CSP-clean library, so the 530-line dead pair bought nothing and cost a scan exception forever.architecture.md's owning paragraph now records the deletion and the reason.Test + ratchet fallout
refreshTreatment.spec.js(ent#253) source-asserted two of the deleted panels. It keeps its store half —stores/observability.jsis live and is where thehasLoaded/availablehonesty was actually fixed — and its DashboardPanel assertions; the dead panels' assertions leave with them (18 tests, all passing).scan-loading-gates.mjs→ pure shrink (77→75 gates, 60→58 files).Docs (AC 4)
Current-state docs updated where they presented a deleted file as live:
architecture.md,operating-room.md(component-table rows removed),file-manager.md(deprecation header now says deleted; sub-components underFilesPanel.vueremain live),activity-monitoring.md("exists but not integrated" → deleted; Operations owns the surface),agent-custom-metrics.md(status note: the metrics API remains, the renderer is gone),opentelemetry-integration.md,system-manifest.md,workspace-composer-typeahead.md,PHASE_14_OPENTELEMETRY.md. Dated point-in-time records (feature-flows.md changelog rows,learnings.md,docs/reports/, the 2026-03-07 OPS-001 spec) are left as history per the architecture.md editorial rule.Known residual
stores/observability.jslost its last component consumer. It is outside this issue's file list ("deletions only" over the enumerated 11), so it stays — the next reachability sweep will list it, or it can ride the docs-drift companion.Verification
npm run build— passes (pre-existing chunk-size warning only)npm run test:unit— 73 files, 1,579 tests, all passingCloses #2492
🤖 Generated with Claude Code
https://claude.ai/code/session_01NLfHNPtB5UCMk4LonZiJux