test(register-check): pin compact option controls #1017
No reviewers
Labels
No labels
bump
major
bump
minor
bump
patch
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
loop/paused
mirror-drift
priority
critical
priority
high
priority
low
priority
medium
size
L
size
M
size
S
size
XL
status
blocked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
frankenbit/release-toolkit!1017
Loading…
Reference in a new issue
No description provided.
Delete branch "i/897-register-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
mainat5192ba9e75ff5616f11358b354c40d31bdaf8c7a: the register-check scanned surface contains zero compactgit commit -qmliterals and six separatedgit commit -q -mreferences.QMvocabulary, and theequomaticnear miss.The compact form remains a register-check hit in synthetic input so callers cannot solve the false positive by weakening or allow-listing the matcher. The repository callers use the separated form.
Verification
go test ./... -count=1go vet ./...go build ./...bats tests(118/118)scripts/go run ./cmd/rt register-check(0 hits)git diff --checkMutation evidence is preserved in the handoff:
git commit -qm basein a scanned test file made register-check exit 1.QMpattern made the compact and real-vocabulary controls fail.No-Changelog: test-only regression controls; the caller scrub is already shipped.
Refs #897
git commit -qmfalse-positives on the QM vocabulary entry #897Reviewed exact head
e0c68bce3e. The added test constructs the compact -qm token by concatenation, so it exercises the live matcher without introducing a production scanned literal; it covers compact and QM positive controls plus separated-options and equomatic boundary negatives, and asserts the drift sentinel/output. The current base advanced to59dc767229; an independent scan there remains 0 compact and 6 separated references. Local Go tests, vet, build, Bats 118/118, ShellCheck, register-check, and diff-check pass; Forgejo CI is 25/25 success.git commit -qmfalse-positives on the QM vocabulary entry #897