Repository navigation
docs(release): adopt 0ver; contract bumps no longer force a MINOR release - #212
Conversation
…ease The product number orders releases and stays 0.MINOR.PATCH. PATCH is the normal step; MINOR is a deliberate milestone. Compatibility is carried by the contract versions, so the release PR must list every changed contract constant and the upgrade steps.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 33093d0109
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… contract is checked Review (Codex, #212): only PROTOCOL_VERSION is checked across a connection; capabilities are advertised, and the descriptor and store schema are checked locally (plan identity, store open). The runbook said both sides check all of them. The table and text now say where each is checked. The policy itself is a durable choice a future maintainer could re-litigate, so it is recorded as ADR-0051 (0048-0050 are held by #211), indexed, and reserved in the root ledger. Refs: ENG-969
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a8b615007a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…natives; client-side protocol check Review (Codex, #212): - ADR-0051 said the server refuses a mismatched peer. It does not: requests are bearer-authenticated only. The client compares ServerInfo before it attaches (local discovery, probe_health). Stated as such. - Upgrade steps lived only in the bump PR body, while the release workflow used --generate-notes alone. The release body is now the tagged CHANGELOG.md section (--notes-file, above generated notes), and the job fails if the section is missing. The runbook adds a hand-written Upgrading block to each such section; the changelog header says so. - ADR-0051 gains the template's Alternatives and Evidence sections. Refs: ENG-969
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b62e83623b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…0ver # Conflicts: # docs/plans/progress/root.md
Review (Codex, #212): the table and 0ver paragraph still said the protocol is checked "both sides" and "at every connection". Only the client compares the advertised version before it attaches; the server does not check callers. Aligned with ADR-0051. Refs: ENG-969
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e32fee2f51
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if ! grep -q '[^[:space:]]' notes.md; then | ||
| echo "CHANGELOG.md has no section for ${version}" >&2 | ||
| exit 1 |
There was a problem hiding this comment.
Require upgrade notes before publishing breaking patches
For a contract- or configuration-changing release whose generated section contains any ordinary changelog bullet, this guard passes even when the required ### Upgrading block is absent. cargo xtask release does not generate that block, and the default runbook procedure immediately commits and pushes the generated file while the Changelog section still says it is “never edited by hand,” so an operator following the procedure can publish a breaking PATCH without the backup, restart, or replacement instructions that make the new 0ver policy safe. Require the heading (or generate a mandatory template) before publishing.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Won't fix for v0.1.5, which shipped with its Upgrading block. Making the release job fail when that heading is missing is a reasonable process hardening, but not every release changes a contract, so it needs a rule for when the block is required. Tracked as a follow-up.
* fix(tui): trust prompt answers only for the content it showed resolve_trust re-scanned the project files when the key was pressed, so a file edited while the prompt was open (a git pull adding an MCP stdio server) was trusted without being shown. The root now keeps the (path, digest) pairs the prompt displayed; qq-config grants or admits only when the pending set matches them, otherwise returns TrustChanged with the current set and the TUI redraws the prompt with it. qq trust is unchanged. Refs: ENG-970 * docs(tools): the trust flow grants only the reviewed digests Review (Codex, #213): design/tools.md still said t calls grant_pending_trust and s admits the pending pairs directly. It now names grant_reviewed_trust / reviewed_pending_trust, the TrustChanged refusal and the redraw, and why qq trust keeps granting the current set. Refs: ENG-970 * fix(tui): an edit after the grant scan redraws the prompt; index reviewed digests Review (Codex, #213): - A file rewritten after grant_reviewed_trust / reviewed_pending_trust scanned but before the post-grant load made that load fail TrustRequired, shown as a generic error over the old declarations. It is now reported as TrustChanged with the new content, so the prompt redraws. Regression an_edit_after_the_grant_scan_redraws_the_prompt_instead_of_failing places the edit exactly between grant and load; it gets TrustRequired without the fix. - ensure_reviewed indexed nothing, so n config.d fragments cost n^2 comparisons per key press. reviewed is now a BTreeSet of (path, digest). Also merges #212's runbook fix. Refs: ENG-970
Stack ENG-968 (v0.1.5 readiness), 1 of 9. Merge in order; diff shown is this layer only.
What changes
The release runbook adopts 0ver: the product version stays
0.MINOR.PATCH. PATCH is the normal step whatever it contains (fixes, features, contract bumps). MINOR is a deliberate milestone. Compatibility is carried by the contract versions (protocol, capabilities, descriptor, store schema), which every build prints and both sides check.Because the number no longer signals breakage, the release PR must list every changed contract constant (old → new) and the upgrade steps. Examples updated to 0.1.5.
Docs only. Linear: ENG-969.
Verification (top of stack)
cargo test --workspace1970 passed / 0 failed / 7 ignored;cargo clippy --workspace --all-targets --all-features -- -D warningsclean;cargo fmt --all -- --checkclean;cargo test -p qq-provider --no-default-features --features test-supportpassed.