Skip to content

chore(pre-push): re-sync wiring block, drop file-wide disable - #164

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/pcg-wiring-enable-all
Nov 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
chore/pcg-wiring-enable-all

Conversation

@brujack

@brujack brujack commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • This re-syncs the shared push-content-gate wiring block (ADR-0091) to ai-config e6c3fecc (ai-config#346). The template is now clean under shellcheck --enable=all:
    • both case statements have an empty *) ;; arm;
    • the directive above the gate-load if widens to SC1090,SC2310,SC2311.
  • Behaviour is unchanged.
  • The block sha256 pin moves from d556979b… to 554c1385d10d77fac177df1a7aefdf6238e12ba009218689b7c5242fa24d4102.
  • The hook's file-wide # shellcheck disable=SC2249,SC2310,SC2311, and the header note explaining it, are removed. feat(pre-push): load the shared push-content gate #160 needed it only for the block. Under this repo's enable=all .shellcheckrc, the hook now has 0 findings. As a positive control, the old block without the disable gives 5 in the same worktree. make test-hooks is green.

Test Plan

  • The block between the markers hashes to 554c1385…, equal to ai-config origin/master:docs/templates/pre-push-wiring, which the re-sync script asserts.
  • The diff touches only the hook, its pin test (tests/pre_push.bats), and no other references to d556979b or 34cf3bee remain outside the frozen plan and spec docs.
  • The repo's hook tests are green and shellcheck is clean on the hook. The push ran this repo's pre-push gate, and it passed.

Code review

SKIP: byte copy of ai-config@e6c3feccc111c757dc9a4735875734f4001f8362 (block region only). The block is a byte copy of the template, which ai-config#346 reviewed with 5/5 reviewers and no issues. The pin and citation edits are mechanical, so this PR is checked mechanically against the template's hash (Test Plan above) instead of getting a second 5-reviewer round. This is a deviation from the skill's file-level SKIP rule, stated here. Plan: ai-config docs/superpowers/plans/2026-11-02-wiring-template-enable-all.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RMRWKJ7P5L99pNgDqK3B8t

The shared template is now clean under shellcheck enable=all
(ai-config#346, e6c3fecc), so the file-wide SC2249,SC2310,SC2311
disable this hook needed for the block alone (#160) is removed and
the hook's own code is linted at full strength again. Block sha256
repinned to 554c1385. No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMRWKJ7P5L99pNgDqK3B8t
@github-actions
github-actions Bot merged commit d779e62 into main Nov 2, 2026
13 checks passed
@brujack
brujack deleted the chore/pcg-wiring-enable-all branch November 2, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant