Repository navigation
feat(ui): rebuild the Agent Detail Overview as a page about the agent (abilityai/trinity-enterprise#1317) - #4684
Merged
Merged
Conversation
…Abilityai/trinity-enterprise#1317) The Overview led with a compatibility report, collapsed its charts into an icon and a sentence when there was nothing to show, and read as a platform health dump. It is now, top to bottom: Now (state, next scheduled run, items needing attention, New task), Activity beside Recent work, three measures over the same window (Finished with its denominator, Time per run, Context used), the agent's own declared metrics, Schedules and Health. Every section keeps one footprint across loading, empty, failed and ready. An agent with no runs, schedules, metrics or health checks gets the whole page: dashed ghost bars and curves, a dash for anything never measured (never 0%), and an empty state that names what will appear and one next action. - OverviewPanel.vue is layout and wiring only; sections live in components/overview/, reads in stores/agentOverview.js (one source per section with its own loaded/failed state), decisions in utils/overviewShape.js. - A different agent blanks every source before the first render, and only the newest read of a source may write, so a failed or slow read can never leave another agent's or another window's figures on screen (#3815 for this panel). - The activity chart has no floating tooltip: one reserved line shows the window summary at rest and a day's breakdown on hover or arrow keys (#3591 cannot recur here). Failures sit on their own rail. - The compatibility report is no longer on the Overview (operator ruling); CompatibilityPanel is mounted in Settings > General only. - No cost tile: the header owns cost. - Backend: additive context_pct_avg on the agent analytics timeline and envelope (share of each run's own context window, runs with no known window skipped). No schema change. - Reminders, Rooms and Operator queue get their own bucket colours (#3597, first half). - The health strip covers the span the checks actually cover and says how far back that is, instead of a "7 days" axis the capped history cannot fill. Tests: overviewShape.spec.js (pure rules), overviewPanel.mount.spec.js (mounted: the no-data agent, the active agent, hover/keyboard readout, window switch, out-of-order responses, failed reads, agent switch, KeepAlive deactivate/activate), the two existing Overview specs ported unchanged in what they assert, and test_agent_analytics.py for the new field. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…k shows how many failed (Abilityai/trinity-enterprise#1317) Operator review of the running page, 2026-11-20. - Recent work and the Now row title a run by the first non-empty line of its prompt, on up to two lines, with the whole prompt on hover. Real prompts are long and multi-line; one truncated line of collapsed text told nothing. A scheduled run is titled by its schedule's name with the command beneath. - The failure mark under the activity baseline is 3-8px tall, scaled by how many runs failed that day relative to the window's worst day, so '5 failed' across three marks is readable without hovering. The legend says so. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Abilityai/trinity-enterprise#1317) Runs per day are one curve with failures as a second curve on the same scale, replacing the stacked bars and the failure marks under the baseline. What started the runs is one split bar for the window with a count and share per source. The line under the title stays the window's summary; a hovered day's figures sit in a label beside the guide inside the plot, so reading a day moves nothing else on the page. Co-Authored-By: Claude Fable 5.2 <[email protected]>
vybe
approved these changes
Nov 20, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
/validate-pr: APPROVE (Lane B). Tier 1 green on ed147ac incl. regression diff, build, e2e; touched specs (126 frontend, 86 backend) re-run locally on the head; dev-ci green on the dev tip. Notes: /review and /cso --diff not run; two late layout tweaks and dark@390 for the active agent not browser-checked (stated in the PR body).
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
CompatibilityPanelis mounted in Settings › General only.Changes
Frontend
components/OverviewPanel.vueis layout and wiring only.components/overview/holds the seven sections: Now, Activity, Recent, MeasureTile, Reported, Schedules, Health.stores/agentOverview.js: one source per section with its own loaded/failed state. A different agent blanks every source before the first render, and only the newest read of a source may write, so a failed or slow read cannot leave another agent's or another window's figures on screen.utils/overviewShape.js: pure shaping (columns, readout, line paths with gaps, tile faces, now state, health blocks).utils/executionBuckets.js: Reminders, Rooms and Operator queue get their own colours.agent-settings/GeneralPane.vuemountsCompatibilityPanel.Backend
db/schedules/analytics.py,models.py: additivecontext_pct_avgon the agent analytics timeline and envelope (share of each run's own context window; runs with no known window are skipped). No schema change, no migration.Docs
core-agent.md1.6a,lifecycle-observability.mdFR-1), and the user docs that pointed at Overview for the compatibility report.Differences from the reviewed mock
Known consequences
Test Plan
cd src/frontend && npx vitest run— 562 files, 8414 tests pass (includes the raw-colour, loading-gate, source-text and scanline-importer guards)npm run check:tokenspassescd tests && pytest -p no:randomly unit/test_agent_analytics.py unit/test_1771c_schedules_analytics_edges.py— 86 pass/cso --diffnot run (P2; no new endpoint, auth boundary or input path)Fixes abilityai/trinity-enterprise#1317
🤖 Generated with Claude Code