Skip to content

docs(prompt-authoring): prevent a second bump from a version-bump FAIL - #88

Merged
azevedo merged 1 commit into
fix-ba-propose-5f-terminal-receiptfrom
docs-prompt-authoring-version-bump-window
Aug 11, 2026
Merged

azevedo merged 1 commit into
fix-ba-propose-5f-terminal-receiptfrom
docs-prompt-authoring-version-bump-window

Conversation

@azevedo

@azevedo azevedo commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Risk: low — doc-only; no runtime surface changed

A version-bump FAIL at a branch HEAD read as a defect, and the obvious fix — add another bump — burns an unpublished version number consumers skip. The doc now explains why the check's HEAD~1..HEAD window fails locally on almost every prompt-surface commit yet passes on a PR's cumulative diff.

Proof: pending — add tests / QA notes / screenshots before merge

Discovered while shipping the 5e/5f receipt fix: committing a prompt-surface
change on a branch whose bump landed three commits earlier turns version-bump
red locally, and the obvious "fix" is a second bump — which burns an unpublished
version number and makes consumers skip it.

The check compares HEAD~1..HEAD, one commit. On a branch that is the previous
branch commit; in CI on a pull_request it is the base tip, because GitHub checks
out an ephemeral merge commit whose first parent is the base — so the same
comparison spans the PR's cumulative diff and one bump satisfies it.

Records the rule, the mechanism that makes local and CI disagree, and the
confirmation step (compare the cumulative diff against the base) so the red
build is read rather than appeased.
@azevedo
azevedo merged commit 5ad8a8b into fix-ba-propose-5f-terminal-receipt Aug 11, 2026
1 check passed
@azevedo
azevedo deleted the docs-prompt-authoring-version-bump-window branch August 11, 2026 19:05
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.

2 participants