Skip to content

Finish Aligning resync-a-repo, check-this-repo, and the Host Fleet Block With the Resync and Report Rules #1822

Closed

Description

@ptr727

The local strict review of the branch that settles who commits an audit report (hub only) and who resyncs a downstream repository (its own session, or resync-a-repo from a hub checkout) left three findings. They were deferred because the edit budget for that change was spent.

  1. resync-a-repo names no carve-out for a self-targeted run. Its closing step says to commit the report under the hub's reports/. check-this-repo now offers resync-a-repo from a hub checkout as a route a downstream session may take. A downstream session that runs it against its own repository, read literally, commits its own report in the hub. RESYNC.md's closing section carries the carve-out ("a session resyncing its own repository leaves the report to a hub-side audit"), and the skill should say the same.
  2. check-this-repo still frames resync as hub-driven in two places. "Why this exists" says a downstream repository only finds out it has drifted when someone runs a hub-driven resync. The escalation bullet for settings, rulesets, and workflow-interface drift hands that drift to "the maintainer or a hub-driven resync rather than patching around it locally". Both contradict the settled rule that a downstream session may resync itself, including RESYNC.md section 3 step 5 for settings and rulesets.
  3. The host-wide fleet block now holds a restriction in a block that says it only enables. host-setup/agent-safety/claude/claude-md-fleet.md describes itself as enabling rather than restricting, and restrictions are meant for the agent-safety block. The new sentence has a downstream session leave the report to a hub-side audit, which is a restriction in effect. Decide whether it stays as routing there, moves to the safety block, or is dropped from the host block because AGENTS.md and AUDIT.md section 8 already bind it.
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