Skip to content

fix(ci): install managed Git hooks - #68

Merged
marlon-costa-dc merged 1 commit into
mainfrom
bugfix/ci-hooks-policy-main
Aug 3, 2026
Merged

marlon-costa-dc merged 1 commit into
mainfrom
bugfix/ci-hooks-policy-main

Conversation

@marlon-costa-dc

@marlon-costa-dc marlon-costa-dc commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Scoped CI policy projection validated locally.


Summary by cubic

Install managed Git hooks and gate Beads commit trailers behind BD_ALLOW_AGENT_COMMIT_TRAILERS=1 to meet our CI policy. Adds an idempotent installer that chains pre-commit and bd hooks.

  • Bug Fixes
    • Adds .github/scripts/install-git-hooks.sh to install pre-commit (pre-commit, pre-push) and run bd hooks install --chain.
    • Injects a FLEXT guard into prepare-commit-msg; trailers are added only when BD_ALLOW_AGENT_COMMIT_TRAILERS=1.
    • Validates guard and Beads delegation; fails fast if pre-commit or bd are missing; safe to run repeatedly.

Written for commit 9bb8279. Summary will update on new commits.

Review in cubic

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a0f4d99b-1d20-41ac-8e5e-ffde14803c69

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@marlon-costa-dc
marlon-costa-dc merged commit 4fc5e6c into main Aug 3, 2026
2 of 10 checks passed
@marlon-costa-dc
marlon-costa-dc deleted the bugfix/ci-hooks-policy-main branch August 3, 2026 20:07
@marlon-costa-dc
marlon-costa-dc restored the bugfix/ci-hooks-policy-main branch August 9, 2026 17:02
@marlon-costa-dc
marlon-costa-dc deleted the bugfix/ci-hooks-policy-main branch August 10, 2026 23:11
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