Skip to content

fix(estate-rules): allowlist .githooks/, drop the stale flake.nix entry - #36

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/root-allow-githooks
Jul 29, 2026
Merged

fix(estate-rules): allowlist .githooks/, drop the stale flake.nix entry#36
hyperpolymath merged 1 commit into
mainfrom
fix/root-allow-githooks

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

estate-rules has been red on main since #31: .githooks/ (the vendored validators the dogfood gate now runs) was never added to the root allowlist. Added with justification — the gate's own error message prescribes this. Also drops the stale flake.nix entry, since that file was deleted under the Guix-only ruling and a sanctioned-looking allowlist line invites its return.

scripts/check-root-shape.sh passes locally.

Two root-allowlist corrections; estate-rules has been red on main since #31.

1. `.githooks/` arrived with PR #31 (vendored A2ML/K9 validators run by the
   dogfood gate) but was never added to .machine_readable/root-allow.txt, so
   "Root shape allowlist" fails with "1 root entries are not on the allowlist".
   Added with justification, which is exactly what the gate's own error message
   prescribes -- the directory is genuinely root-bound (git's core.hooksPath
   convention, and dogfood-gate.yml invokes `bash .githooks/validate-*.sh`).

2. Removed the stale `flake.nix` line. That file was deleted under the
   Guix-only ruling; an allowlist entry for an absent path is dead weight that
   invites someone to re-add the file thinking it is sanctioned.

Verified: scripts/check-root-shape.sh passes locally.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved

Allowlists the .githooks/ directory in estate-rules and removes the stale flake.nix entry, resolving check-root-shape failures on main. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 29, 2026
@hyperpolymath
hyperpolymath merged commit 662b172 into main Jul 29, 2026
41 of 43 checks passed
@hyperpolymath
hyperpolymath deleted the fix/root-allow-githooks branch July 29, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant