Iris Auto-Pilot / BAM-health tile in the fleet heartbeat card#2
Open
gerdux1 wants to merge 1 commit into
Open
Conversation
Atlas now folds Iris's BAM-health into the heartbeat (agents[].bam_health, additive within schema v1 — Iris has no HTTP /api/stats like Hugo). Render it in the existing Iris tile: a colour-coded Auto-Pilot verdict+score badge (red NOT_READY → amber NEARLY → green READY, flips as Iris's fill loop drives coverage up), plus fill-loop pending and a BOOM-session-down flag; full BAM headline on hover. No other agent is affected (field is optional). typecheck clean. Data side: gerdux1/atlas@atlas/mc-control-plane (PR #2).
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.
What
Renders Iris's Auto-Pilot / BAM-health in the existing Iris tile of
FleetHeartbeatCard— a colour-coded verdict+score badge (redNOT_READY→ amberNEARLY→ greenREADY, flips as Iris's fill loop drives coverage up), plus fill-loop-pending and a BOOM-session-down flag, with the full BAM headline on hover.How the data arrives
Iris has no HTTP
/api/stats(unlike Hugo), so Atlas folds Iris'slast_stats.jsoninto the heartbeat it already POSTs here every 5 min, as an optionalagents[].bam_healthfield. It's additive within schema v1 —/api/agents/heartbeatkeeps acceptingschema_version: "1"and already persists the full payload, so no ingestion change was needed. Other agents are unaffected (the field is optional).Atlas data side:
gerdux1/atlas@atlas/mc-control-plane(PR #2) — enriches the heartbeat and reuses the single Iris snapshot reader.Scope / safety
src/components/panels/fleet-heartbeat-card.tsx); optional field, no behaviour change for non-Iris agents.npm run typecheckclean.feat/atlas-dispatchto avoid touching your active branch directly — merge when ready.🤖 Generated with Claude Code