Skip to content

docs(release): adopt 0ver; contract bumps no longer force a MINOR release - #212

Merged
lg2m merged 6 commits into
mainfrom
docs/eng-969-release-0ver
Sep 29, 2026
Merged

lg2m merged 6 commits into
mainfrom
docs/eng-969-release-0ver

Conversation

@lg2m

@lg2m lg2m commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

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 --workspace 1970 passed / 0 failed / 7 ignored; cargo clippy --workspace --all-targets --all-features -- -D warnings clean; cargo fmt --all -- --check clean; cargo test -p qq-provider --no-default-features --features test-support passed.

…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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T06:34:35.740271Z e32fee2 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread docs/runbooks/release.md Resolved
Comment thread docs/runbooks/release.md Resolved
@lg2m
lg2m added this pull request to stack #221 September 29, 2026 02:17
… 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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread docs/runbooks/release.md Resolved
…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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread docs/runbooks/release.md Resolved
…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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +188 to +190
if ! grep -q '[^[:space:]]' notes.md; then
echo "CHANGELOG.md has no section for ${version}" >&2
exit 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@lg2m
lg2m merged commit 65b46f9 into main Sep 29, 2026
4 checks passed
@lg2m
lg2m deleted the docs/eng-969-release-0ver branch September 29, 2026 18:56
lg2m added a commit that referenced this pull request Sep 29, 2026
* 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
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.

1 participant