Skip to content

chore: regenerate end-at-deliverable AGENTS.md block after #575 (clears firewall RED) #584

Closed

Description

@Jammy2211

Overview

The Tenant Firewall Gate on PyAutoMind main (run 43881901227, from PyAutoMind#575) is the Heart monitoring RED. Its hook half is already fixed: the propagator bot-pushed the regenerated hooks one minute after the gate ran. What is still stale is the generated repos_sync:deliverable block in AGENTS.md of PyAutoBrain, PyAutoHeart and PyAutoHands (and PyAutoCortex, unchecked by the gate), which the propagator deliberately never writes.

Plan

  • Regenerate the AGENTS.md end-at-deliverable block from policy/end_at_deliverable.md with the Mind generator in Brain, Heart, Hands and Cortex; nothing else changes.
  • One branch and PR per repo; the Witness is repos_sync.py --check (fails on main, passes on the branches).
  • After /prm merges them, re-run the Tenant Firewall Gate on PyAutoMind main so Heart reads it green.
  • File the ~45-repo wave and the gate/propagator race as follow-ups.
  • tier + merge mode: effective level: supervised; merge mode: human /prm (the human's rule for this sitting; merge-mode alone would say auto-merge on green).
Detailed implementation plan

Affected Repositories

  • PyAutoBrain, PyAutoHeart, PyAutoHands, PyAutoCortex (AGENTS.md only)

Branch: feature/deliverable-block-wave-575 in each

Implementation Steps

  1. In a root holding PyAutoMind main and the four repos at main, run python3 PyAutoMind/scripts/repos_sync.py --write; keep only the <!-- repos_sync:deliverable --> hunk in each AGENTS.md.
  2. repos_sync.py --check over that root: no end-at-deliverable mismatch.
  3. Full suite in each repo; bin/check_skill_line_counts.sh 200 PyAutoBrain; independent review.
  4. After merge: dispatch firewall_gate.yml on PyAutoMind main (or re-run 43881901227).

Key Files

  • PyAutoMind/policy/end_at_deliverable.md: the block's source
  • PyAutoMind/scripts/repos_sync.py: check_deliverable_blocks, the writer

Original Prompt

Filed as draft/maintenance/pyautomind/deliverable_block_wave_575.md (moved to active/ on issue). Source paragraph, from the human on 2026-11-17, verbatim:

  1. Clear Heart RED. The PyAutoMind "Tenant Firewall Gate" fails on main (run 43881901227, from PyAutoMind#575): the generated end-at-deliverable hook (.claude/hooks/end-at-deliverable.sh and its .claude/settings.json matcher) is out of date in PyAutoBrain, PyAutoHeart and PyAutoHands, and PyAutoBrain/.codex/hooks.json differs from repos.yaml. First check whether PyAutoMind/.github/workflows/session_hook_propagate.yml regenerates these, and whether dispatching it is the whole fix. Otherwise regenerate the files with the Mind generator and open the PRs. No prompt exists yet: file one under draft/maintenance/ with this paragraph verbatim.

Findings and follow-ups are in the prompt file.

Activity

  1. Jammy2211 commented on Nov 17, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped. The end-at-deliverable AGENTS.md block was regenerated from policy/end_at_deliverable.md and merged in four repos:

    Witness: repos_sync.py --check reported 4 stale blocks on main and none on the branches. Full suites green, and the independent Fable 5.2 review was CLEAN. The Tenant Firewall Gate is being re-run on PyAutoMind main now (workflow_dispatch).

    Follow-ups, recorded in the completion record: the ~45 other repos that still carry the old block, and the gate/propagator race on a canonical hook push.


    Generated by Claude Code

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