feat(ci): summarize releases using the real inference service #9

Merged
rcsheets merged 2 commits from feat/redact-upstream-errors into main 2026-07-20 23:17:36 +00:00
Owner
No description provided.
hack/update-changelog.sh no longer emits "STUB: N bytes of changes."; it
asks SLP's own OpenAI-compatible endpoint to turn a commit range into the
plain-language prose the changelog header has always promised. This repo's
release automation is now a downstream consumer of the service this repo
ships.

Two classes of line are stripped from the material first. Every range ends
up containing the previous release's own "docs(changelog):" commit, which
the model would otherwise summarize as though it were a feature, and
Co-Authored-By trailers put author names somewhere they do not belong.

A failed call now leaves CHANGELOG.md untouched and exits non-zero, so a
release gets no entry rather than a placeholder one. A missing entry can be
recovered by re-running the script against the tag; a wrong one silently
becomes the historical record. The workflow keeps treating that as a warning
rather than a failure, because the circularity cuts both ways: if a bad
release takes slp down, the release that fixes it cannot describe itself,
and blocking on that helps nobody.

Formatting the model cannot be trusted to get right -- 78-column wrapping,
smart punctuation -- is imposed afterward with fold and sed rather than
requested, so the prompt spends its attention only on things that cannot be
enforced mechanically and whose violation can only be rejected: headings
that would corrupt the splice, and preamble.

The version check moved ahead of the call so re-runs cost nothing, and
INFERENCE_URL is overridable by repo var so the endpoint can move without a
code change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
docs: use en-US spelling in a test comment
All checks were successful
ci / check (pull_request) Successful in 45s
9a0259b816
The project is en-US; this one predates that being noticed. Comment only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
rcsheets force-pushed feat/redact-upstream-errors from 9a0259b816
All checks were successful
ci / check (pull_request) Successful in 45s
to ef0f5d90d9
All checks were successful
ci / check (pull_request) Successful in 46s
2026-07-20 23:16:19 +00:00
Compare
rcsheets deleted branch feat/redact-upstream-errors 2026-07-20 23:17:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brooktrails/slp!9
No description provided.