-
Notifications
You must be signed in to change notification settings - Fork 0
release: v0.3.0-beta.2 #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # E9 beta draft publication repair — 2026-07-14 | ||
|
|
||
| Issue: #159 | ||
| Branch: `gnanirahulnutakki/fix/e9-beta-draft-publish` | ||
| Base: `origin/dev` at `ff07b60ff934508dd694f338ffa017d3503da171` | ||
|
|
||
| ## [G] Goal | ||
|
|
||
| Repair the beta publication step so a workflow-created draft release is resolved by its database ID | ||
| and can be published as a prerelease without replacing the latest stable release. | ||
|
|
||
| ## [S] Incident boundary | ||
|
|
||
| - Signed `v0.3.0-beta.1` passed GitHub tag verification and the release workflow built, signed, and | ||
| attested the draft artifacts. | ||
| - The final publication step used `GET /releases/tags/{tag}` and received 404 for the draft, | ||
| leaving the draft unpublished. Stable `v0.2.1` remained latest. | ||
| - The failed tag and draft are preserved. No deletion, force-push, retagging, or manual publication | ||
| is permitted. The corrected workflow will publish a new immutable `v0.3.0-beta.2` tag. | ||
|
|
||
| ## [A] Evidence in progress | ||
|
|
||
| - The workflow now resolves `gh release view <tag> --json databaseId`, whose draft-aware view is | ||
| already proven by the existing beta.1 draft. | ||
| - The policy test requires that lookup, rejects the draft-invisible tags endpoint, and keeps the | ||
| raw-string `make_latest=false` assertion. | ||
| - Pending: focused and full gates, red-team review, hosted PR/post-merge CI, release promotion, and | ||
| beta.2 artifact verification. | ||
|
|
||
| ## [T] Test plan | ||
|
|
||
| 1. Run policy scripts, `make ci`, and `make release-check` on the final diff. | ||
| 2. Confirm stable publication remains unchanged and beta mutation still requires | ||
| `draft=false`, `prerelease=true`, and raw string `make_latest=false`. | ||
| 3. Land through `dev` and a reviewed release PR, then create a new signed beta.2 tag and verify its | ||
| release state and macOS-arm64 archive. | ||
|
|
||
| ## [C] Completion criteria | ||
|
|
||
| The issue closes only when beta.2 is published as a prerelease, `v0.2.1` remains latest, and the | ||
| macOS-arm64 release archive passes checksum, provenance, and local launch verification. |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Assert scalar database ID extraction.
Line 53 checks only
--json databaseId; it would still pass if--jq '.databaseId'were removed and the full JSON object were passed to the PATCH URL. Match the complete lookup or separately assert the--jqexpression.🧰 Tools
🪛 Shellcheck (0.11.0)
[info] 53-53: Expressions don't expand in single quotes, use double quotes for that.
(SC2016)
🤖 Prompt for AI Agents