Skip to content

feat(phase2): add pre-commit hook, GitHub Action, baseline, and inline ignore (#1) - #6

Open
huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase2-precommit-action-baseline-1
Open

huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase2-precommit-action-baseline-1

Conversation

@huangji6693-max

@huangji6693-max huangji6693-max commented Oct 27, 2026 •

Copy link
Copy Markdown

Closes #1

Summary

  • Added vaultsweep install-hook (and vaultsweep pre-commit alias) to install an executable .git/hooks/pre-commit script that blocks commits on --fail-on critical (configurable via --fail-on).
  • Added composite GitHub Action (action.yml) and Wave contributor examples (action/README.md and README.md) supporting target, fail-on, format, and baseline inputs.
  • Added .vaultsweep-baseline support (vaultsweep baseline generator + --baseline CLI flag and automatic .vaultsweep-baseline discovery) for incremental adoption.
  • Added inline ignore comment support (# vaultsweep:ignore, // vaultsweep:ignore, and rule-scoped # vaultsweep:ignore STELLAR-001).

Verification

  • make ci (ruff + pytest 14 passed + bandit) passes cleanly.

Stellar Payout Wallet (XLM / USDC): GBYWLISGOUWQ43VQEGXX6KRGDZ3CKAFFK3JXVLXKDO5TIFJUJ3OHJYOZ

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.

Phase 2: Pre-commit Hook & GitHub Action

1 participant