Skip to content

feat: dev-ship verdict scoped to touched repos; 6 h feed age never passes (M2.1) #340

Closed

Description

@Jammy2211

Overview

Programme M2 build (epic autonomous-orchestrators, phase 9). Human ruling, M1 gate 2026-11-12: Heart blocks a development ship only on reasons inside the repos the branch touches, plus their library CI and dependants; every other reason is shown, not blocking. A feed older than 6 h is re-checked, or the run parks; a STALE feed never passes (today heart/readiness.py:67-68 treats STALE as a pass). Event triggers refresh the feed. Release gating is unchanged. Witness includes the exit metric: replay the logged ships in PyAutoMind/autonomy_log.md through the new scope and report the share still blocked.

Decision sheet with evidence: /mnt/c/Users/Jammy/Workspace/Science/scratch/ecosystem_review_2026-11/m2_decision_sheets/M2.1_heart_branch_scope.md.

Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary

Prompt

Prompt

Heart: a branch-scoped verdict for development ships, and a maximum feed age at the door

Type: feature
Target: PyAutoHeart
Repos:

  • PyAutoHeart
  • PyAutoBrain
    Difficulty: medium
    Autonomy: human-required
    Priority: high
    Status: draft
    Filed: 2026-11-10
    Epic: autonomous-orchestrators
    Consequence: judge
    Witness: (a) the 228 autonomy_log.md rows since 2026-09-01 replayed through the new dev-ship scope: the share that would still have needed an override is printed, and only rows whose RED reason lies inside the branch's own repos or their dependants remain; (b) a test shows bin/heart_feed.py reports STALE, not the old colour, for a feed older than the configured maximum; (c) a library CI run completing on main triggers heart-health.yml (one run id shown)
    Review-minutes: 30
    Unattended: never
    Lane: any

Source: the ecosystem review of 2026-11-10, findings REL-1 and DASH-3, both confirmed by an independent verifier. Report: https://claude.ai/artifact/4A94P1cevvkESoM22QoMWm (private) and Science/scratch/ecosystem_review_2026-11/REPORT.md, sections B4 and B8 and Appendix A.

What was measured. Since 2026-09-01 the first table of autonomy_log.md has 228 rows. Heart was RED on 188 to 191 of them (82 to 84%) and GREEN on none. The human typed 162 development overrides on 33 days. About three quarters of the RED rows quote release validation FAILED, an organism-wide reason that never sees the branch being shipped. The log cannot record a wrong override: the outcome is written when the PR opens and never updated. Separately, the published feed that the start_dev door reads is refreshed once a day plus hand dispatches: its mean age is 11.4 hours and it is older than 12 hours for 44% of the time. The door prints the age and applies no maximum.

One colour is answering two questions. "May this branch merge?" and "May main be published?" need different evidence.

Slice 1 (small, no doctrine change): a fresh feed.

  • Trigger heart-health.yml from library CI completing on main and from the release workflow, keeping the daily cron as a backstop.
  • Give PyAutoBrain/bin/heart_feed.py a maximum feed age (about 6 hours), above which the door reports STALE.

Slice 2 (the human's ruling): a dev-ship reason scope.

  • In heart/readiness.py, give the development ship check its own scope: enforce only library CI on main for the repos a branch touches and their dependants. Show release-validation, install-verification, version-floor, organ-workflow and checkout-state reasons at a ship without enforcing them. Keep every reason for releases.
  • Reword the ship leg in PyAutoBrain/AUTONOMY.md to match, and update ORGANISM.md:95-96, which still says the Brain triggers Build only on GREEN.
  • Record the override reason in a machine-readable column, and let the row be amended when an override turns out wrong.

Slice 2 changes doctrine, so it is judge: the human rules on the scope and the wording before anything merges. Slice 1 can ship first at glance.

Nothing covers this today: a search of draft/, active/ and complete/2026 for a dev-ship or branch scope found no prompt.

Activity

  1. Jammy2211 commented on Nov 13, 2026

    @Jammy2211
    ContributorAuthor

    Heart RED override (development only), recorded per AUTONOMY.md.

    The live human authorized it at the programme M2 gate on 2026-11-13: "Override + merge all". That covers the development-only override for Brain#614, Heart#340 and Hands#337, and the merge command (order Mind, Hands, Brain, Heart), on condition that every required check is green within the turn.

    Current RED reasons, verbatim (verdict ts 2026-11-12T22:43:14Z): "PyAutoNerves: 4 commit(s) behind origin"; "PyAutoFit: 2 commit(s) behind origin"; "PyAutoArray: 4 commit(s) behind origin"; "PyAutoGalaxy: on branch feature/galaxy-guide-rebalance (not main)"; "PyAutoGalaxy: 1 uncommitted source change(s)"; "PyAutoLens: 1 uncommitted source change(s)"; "PyAutoLens: 45 commit(s) behind origin"; "PyAutoCTI: 4 commit(s) behind origin"; "install verification FAILED (testpypi; checks F)"; "release validation FAILED (stage integrate)"

    None of these is in Mind, Brain, Heart or Hands. Branch gates passed: tests, and an independent review CLEAN after fix rounds.

    PRs: PyAutoLabs/PyAutoMind#564, PyAutoLabs/PyAutoHands#339, PyAutoLabs/PyAutoBrain#620, #342

    🤖 Generated with Claude Code

  2. added a commit that references this issue on Nov 13, 2026
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