Skip to content

fix: exclude retired repository caches from current monitoring #278

Closed

Description

@Jammy2211

Overview

Heart still displays cached PyAutoConf observations after that repository was removed from its monitoring configuration, leaving a permanent missing-current-CI finding. Scope this phase of dashboard repair #274 to the aggregator's repository roster; preserve cached history and all real adverse observations.

Plan

  • Select current repository observations using the valid Heart monitoring configuration.
  • Preserve all cache files and fail conservatively when configuration cannot be read or validated.
  • Add regression coverage and run focused/full Heart tests, then independent review and an isolated real-cache comparison.

Approved under the existing whole-dashboard repair plan and the user's instruction to continue Heart work. Tier undeclared; human /prm merge.

Detailed implementation plan

Affected Repositories

  • PyAutoHeart (primary, organ/source workflow)

Branch Survey

Canonical PyAutoHeart is clean on main; no active claim conflicts.
Suggested branch: feature/retired-repo-sidecars.

Implementation Steps

  1. In heart/state.py load and validate the configured monitoring roster and filter per-repo aggregation only when this roster is valid. Missing or malformed configuration retains existing observations. Do not delete cache files or change global checks.
  2. Extend tests/test_state.py and explicit fixture configuration as necessary; verify configured failures remain visible and retired observations cannot leak back.
  3. Document the aggregation contract. Run focused and full tests, independent review, and a sandboxed replay against a copied cache. Ship a pending-release PR; request human merge approval.

Key Files

  • heart/state.py
  • tests/test_state.py
  • docs/internals.md

Original Prompt

Do dashboard repair and continue heart work

Parent request: Check why heart is red, fix it, and then do anything else to make whole dashboard green

Activity

  1. Jammy2211 commented on Oct 4, 2026

    @Jammy2211
    ContributorAuthor

    Implementation ready in .worktrees/retired-repo-sidecars/PyAutoHeart, branch feature/retired-repo-sidecars. Only state.py, test_state.py, docs/internals.md changed. Two regressions failed before the fix; 22 focused and 1,200 full tests now pass. Independent review CLEAN. Isolated copied-cache replay reduces 31 repositories to the 29 configured repositories, excluding only retired PyAutoConf and PyAutoBuild; all 150 cache files and global/configured evidence remain intact.

    Shipping paused before commit/push/PR by the current Heart RED gate: release validation FAILED (stage integrate). The new integration run 37199991757 has 723 passes, 82 skips, and one 1,805-second timeout in autolens_workspace_test/scripts/multi_dataset/jax_likelihood/rectangular_rtu.py. That failure is independent of this aggregation fix. Human development-only RED override requested under Brain AUTONOMY.md; no grant yet. Existing passing smoke evidence 37198914051 is main-branch evidence; this Heart-only repair has no workspace API impact.

    No source commit, push, PR, or live application has occurred. The cache replay did not modify live state.

  2. Jammy2211 commented on Oct 4, 2026

    @Jammy2211
    ContributorAuthor

    Human development-only Heart RED override received: “I authorise both need help with latter if its doable”, answering the explicit clarification covering publication of #278 despite RED and continued timeout investigation, plus the separate digest API-key migration.

    Exact current RED reason: release validation FAILED (stage integrate) (score60). #278 passed 22 focused tests, 1200 full Heart tests and independent review CLEAN; copied-cache replay preserves all150 files and configured/global evidence. No scientific/workspace API impact; main workspace smoke run37198914051 passed separately. Commit/push/pending-release PR only; merge remains separately human-authorized with green CI. No release, failed-check bypass, or claim that #278 resolves integration failure.

  3. Jammy2211 commented on Oct 4, 2026

    @Jammy2211
    ContributorAuthor

    Shipped as #279 at ba9d2f3 under the recorded task-specific Heart RED development override. Both Python3.12/3.13 CI legs passed (run37203283615), alongside 1200 local tests and independent CLEAN review. Human /prm approval remains pending; no merge or live application yet.

    User subsequently instructed: “Hmmm dont do thr anthropic stuff do whatever work you can without it”. This withdraws the separate Anthropic migration only. No credentials, digest workflow, or Slack delivery changed.

  4. Jammy2211 commented on Oct 4, 2026

    @Jammy2211
    ContributorAuthor

    retired-repo-sidecars

    • issue: fix: exclude retired repository caches from current monitoring #278
    • completed: 2026-10-04
    • library-pr: Exclude retired repository caches from current monitoring #279
    • pending-release: PyAutoHeart@Exclude retired repository caches from current monitoring #279
    • summary: Aggregate only repositories in a valid current Heart monitoring roster; preserve all caches, configured adverse evidence and global checks. Missing/malformed configuration conservatively retains observations.
    • validation: Two regressions failed before repair; 22 focused and 1200 full tests passed; independent review CLEAN. Exact-head run37203283615 passed both Python3.12 and3.13. Copied-cache replay excluded only retired PyAutoConf/PyAutoBuild and preserved all150 files.
    • merge: Human “Yes merge via prm” authorized merge of ba9d2f3 at 3d86fd8. Git ancestry proves the entire task branch merged.
    • heart-red-override: Current task-specific development grant recorded on issue, PR, active registry and autonomy log; exact reason release validation FAILED (stage integrate). Merge was separately authorized after all CI passed. No release or bypass.
    • remaining: Umbrella fix: restore complete dashboard health and evidence #274 remains open. The rectangular_rtu.py release timeout is unresolved; twelve focused diagnostic executions passed but do not clear failed TestPyPI validation. Anthropic credentials/digest workflow explicitly untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions