Skip to content

Install the Updated Host-Safety Kit in merge-and-release's Release Step, Not Just Report It #3897

Closed

Description

@ptr727

Problem

merge-and-release step 7 runs python3 host-setup/agent-safety/claude/install.py --report after a hub release and only reports a result other than CURRENT. It says the installer "rewrites this machine's hooks and settings, so this step reports it rather than running it."

So every hub release that changes the kit leaves the releasing machine on the previous kit until the maintainer re-runs the installer by hand. The maintainer has said the agent should install the updated version after a deploy, rather than reporting it as an item for him.

Change

In step 7, from the same detached origin/main worktree, run the installer with no arguments when --report reads anything other than CURRENT. Then run --report again and confirm it reads CURRENT. Report a failed install or a --report still not CURRENT, rather than retrying. The installer is idempotent and backs up a hand-edited CLAUDE.md before rewriting it.

Keep the rest of step 7 as it is, including the reason it runs from a detached worktree of the promoted main, the cleanup, and gating on the chosen scope rather than the release outcome. Also report that sessions on the machine need a restart to load the new hooks and CLAUDE.md, since the installer says so.

Any other text stating "reports it rather than running it" moves with it. That includes merge-and-release's own description if it says so, and any docs/host-setup.md cadence text.

Done when

merge-and-release installs the current kit as part of a hub release and confirms it with --report, and the generated plugin tree is rebuilt per skill-lifecycle.

Activity

  1. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-10): PR #4029 merged into develop at 6a84ead, and its branch and worktree are removed, so this claim holds no files.

    Backlog burndown claim (attended run 2026-11-10, round 1, group G7). Branch: burndown/3897-merge-and-release-kit-install. Issues: #3897, #4019.

    Predicted file set:

    • .agents/skills/merge-and-release/SKILL.md
    • .github/skills/merge-and-release/SKILL.md
    • .claude-plugin/fleet-skills/skills/merge-and-release/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/merge-and-release

    No other group may edit these files while this claim stands. The orchestrator releases it at cleanup.

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