Skip to content

Decide: Should the hub's .husky/pre-push local-review gate (scripts/local_review.py check) be carried to downstream fleet repositories, given four carried units say a repository has no pre-push hook "unle? #3743

Closed

Description

@ptr727

Split from #1164 by decision triage. Only this undecided item waits on the maintainer. The rest of #1164 stays there as ordinary work.

Decision needed (decision triage, 2026-11-01)

Question: Should the hub's .husky/pre-push local-review gate (scripts/local_review.py check) be carried to downstream fleet repositories, given four carried units say a repository has no pre-push hook "unless it adds one"?

Options, recommended first:

  1. Keep it hub-only, record that as the decision (recommended): AGENTS.md makes local-strict-review "the primary and agent-agnostic layer, with the hook a bypassable backstop", downstream merges are gated by the published attestation pr-review-conduct reads, and GOVERNANCE.md's hook test requires the failure to recur after the prose was read, with no downstream recurrence on record. Carrying it adds a per-push hub fetch and per-clone setup and blocks a human's own pushes. No work in flight.
  2. Offer it as an opt-in catalog snippet: A catalog/snippets/ pre-push beside the pre-commit snippets, fetched through hub_fetch_run.py, for repos that want the backstop. Feasible, but new carried content with its review cost. No work in flight.
  3. Make it a baseline manifest entry for every repo: Enforced local review everywhere and a missing hook becomes an audit finding, but blocks maintainer pushes fleet-wide without a recorded pass, with no recurrence evidence. No work in flight.

Evidence: local-strict-review SKILL.md:82: "the hub's own .husky/pre-push hook being the only one today. A repository has none unless it adds one". Lines 96-97: the engine "reads whichever repository it is run in". No pre-push or local_review entry in spec/ or catalog/. GOVERNANCE.md:23 sets the hook-earning condition. #1649 (91e0fd2) and #3609 did not decide this, and the maintainer's 2026-09-17 comment lists it as still open.

Blocks: none

Activity

  1. added
    decision
    on Nov 1, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer (decision triage, 2026-11-01): Option 1: keep the pre-push local-review gate hub-only, and record that as the decision. Downstream merges stay gated by the published attestation.

    The answer is carried to #1164, where the work lives. Closing this decision issue, since it held only the question.

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

    decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions