Repository navigation
Description
Overview
This is a programme M1 side lane (epic autonomous-orchestrators). It rests on the review findings SIG-2 and SIG-3, which were not verified, so the task starts by re-checking both at source. If a finding does not hold, that part is dropped or reshaped, and the result is recorded here.
Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary
Prompt
Prompt
Boards: draw the unit-test trend, and keep the hygiene counts
Type: feature
Target: PyAutoHeart
Repos:
- PyAutoHeart
- PyAutoBrain
Difficulty: small
Autonomy: supervised
Priority: normal
Status: draft
Filed: 2026-11-10
Consequence: glance
Witness: (a) the published Heart board shows a trend chart on every unit-suite card (12 of 12, from 0 of 12 on 2026-11-09), drawn from the main-branch lines oftimings/unit/<repo>.jsonl, plus one row with the organism's total test count; (b) after two daily runs, a committed PyAutoBrain ledger file holds one line of hygiene counts per day and the Brain board's hygiene block shows a sparkline per row
Review-minutes: 10
Unattended: ready
Lane: any
Human (2026-11-09): "I feel like things like number of unit tests, integration tests, their run time, many of the things we do hygiene runs on are not being fed through to a dashboard so I can track and monitor it."
Source: the ecosystem review of 2026-11-10, findings SIG-2 and SIG-3. Report: https://claude.ai/artifact/4A94P1cevvkESoM22QoMWm (private) and Science/scratch/ecosystem_review_2026-11/REPORT.md, section B7 with the full signal map. Data: evidence/signals_flow/signal_map.csv.
Unlike the review's other drafts, these two findings were not checked by an independent verifier. Two source lines behind them were re-read during synthesis and match (below). The first step of this task is to re-measure before changing anything.
What the reviewer measured.
- Unit-test counts and runtimes are recorded every day and never drawn. On the published Heart board, 27 of 27 CI-gate cards carry a trend chart while 0 of 12 unit-suite cards and 0 of 12 import cards do. The chart function has one caller, for gates (
heart/timing_display.py:188; re-read). The ledger already holds 502 lines for 6 libraries and shows tests onmain(Python 3.12) growing from 6,154 to 9,636 and summed suite time from 534 s to 1,261 s between early September and 2026-11-09. - The hygiene scan's counts are computed and thrown away. The Brain board has run the pre-scan in the cloud since 2026-08-23 (173 runs, 15 mode rows each), and the board's history is set to an empty list (
board/_board.py:647; re-read).
The change.
- In
heart/timing_display.py, pass each repo's history fromtimings/unit/<repo>.jsonl(main-branch lines only) tochart()for the suite and import cards, plotting test count and wall-clock. Add one board row with the organism total. - In
brain_board.yml, after the render, append one line of{date, rows: {mode: count}}to a committed PyAutoBrain ledger file, with the same commit patternheart-health.ymluses fortimings/, and draw a sparkline per hygiene row.
Both follow the pattern that already works: an append-only record with one cloud writer. No new board, and a worker never writes to a ledger.
Next, as separate tasks if this lands well: shift metrics on the Brain board (today a 4-row Markdown table no board reads); failed, cancelled and rerun counts per gate; smoke and validation counts; coverage.
Activity
Jammy2211 commentedon Nov 12, 2026
Heart RED override (development only), recorded per AUTONOMY.md.
The live human authorized it at the programme block gate on 2026-11-12: "Override + merge both". That covers the development-only override for this issue and the merge command, on condition that every required check is green within the turn.
Current RED reasons, verbatim (
pyauto-heart readiness, ts 2026-11-12T19:30:21Z): "PyAutoNerves: 2 commit(s) behind origin"; "PyAutoArray: 2 commit(s) behind origin"; "PyAutoGalaxy: 10 commit(s) behind origin"; "PyAutoLens: on branch feature/last-imaging-features-review (not main)"; "PyAutoLens: 3 uncommitted source change(s)"; "PyAutoCTI: 2 commit(s) behind origin"; "install verification FAILED (testpypi; checks F)"; "release validation FAILED (stage integrate)"None of these is in the repos this change touches. Branch gates passed: tests, independent review CLEAN, smoke not applicable.
PR(s): #339
🤖 Generated with Claude Code
Merge pull request #339 from PyAutoLabs/feature/dev-metrics-boards
Merge pull request #347 from PyAutoLabs/feature/unit-trend-followups