docs(changelog): record gate policy disposition #1014
No reviewers
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit!1014
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "i/627-changelog-gate-disposition"
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?
Refs #627
Decisions
FAILat compose time. A mixed bullet/prose section has no single reader-facing entry shape, socompose-verifymust refuse it. The existing check-5 unit and compose control remain explicit and are attributed to #627.1-3 sentencestarget and single-paragraph preference are author guidance, not a machine gate.rt fragment-checkstill enforces the summary header/reference, load-bearing blank-line shape, and sentence/parenthesis/paragraph density. A new executable control proves a valid four-sentence, two-paragraph fragment passes.CHANGELOG.mdand runs the current body gate; it remains all-bullet and passes. Newly composed mixed sections still refuse.Verification
go test ./internal/gates ./cmd/rt -count=1: PASSgo build ./...,go vet ./...,go test -count=1 ./...: PASSgolangci-lint run --timeout=5m: 0 issuesbats --print-output-on-failure tests/: 118/118 PASSrt changelog-body-check CHANGELOG.md: PASSrt fragment-check changelog.d: PASS, 11 fragments graded; only the two existing advisory warnings for fragments 1008 and 811 remaingit diff --check: PASSReviewed exact head
b4a6c8972bc0c49526326964bd82a0f7244fcd30against base2b89eb5a9d3086ba969541f4f6710ea22c6b9bae.APPROVED. Check 5 is fail-closed through the shared body result and the actual
compose-verifyboundary; the mixed-section control asserts exit 1 and its diagnostic. The historical v0.35.0 section is read fromCHANGELOG.mdand remains clean/all-bullet, while a four-sentence, two-paragraph fragment passes the existing structural and density contracts. The template, conventions, and fragment-format contract consistently describe the 1-3 sentence target and single-paragraph preference as author guidance, not an exact-count gate.Exact-head verification passed:
go test -count=1 ./...,go vet ./...,go build ./..., 118/118 Bats, changelog-body-check, fragment-check, warning-severity ShellCheck, golangci-lint, andgit diff --check. Forgejo CI is 25/25 success at this head.