Repository navigation
feat(husky): enforce 6DQ L1 on git index snapshot in pre-commit - #55
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades
base-clipre-commit from working-tree checks to 6DQ L1 on the Git index snapshot, aligned withnocoo/hooky/nocoo/matrixcheckout-index templates.Changes
.husky/pre-commitgitleaks protect --stagedgit checkout-index→ temp dir under/tmp/base-cli-index-*node_modulesfrom the installed worktree; verify stagedpackage.json/bun.lockmatch installed copiestypecheck,lint,test:coveragein the snapshot (Vitest enforces four metrics ≥95%)trapcleanup on EXIT/INT/TERM/HUPsrc/update-command.tsconsolafrom"consola"so BiomenoUnresolvedImportspasses in index snapshots (isolated cwd) without relying on worktree-only module resolution.AGENTS.mdenforced; document hook behavior and timing note.Verification (local)
typecheckTS2322 on index)time sh .husky/pre-commit)Commits (preserved via merge)
fix(update-command): import consola from package for index-safe lintfeat(husky): run L1 on git index snapshot with coveragedocs(AGENTS): mark L1 pre-commit as enforcedRemaining gaps (unchanged)
src/update-command.tsstill excluded from coverage by design; functions floor is 97.56% with one counted function inlogin.tsat 92.85% within excluded-adjacent scope.pre-pushstill skips gitleaks when missing (AGENTS G2 gap for local pre-push vs CI).