Skip to content

docs(guide): move install pins and example output to v0.1.5 - #228

Merged
lg2m merged 1 commit into
mainfrom
docs/eng-968-guide-pins-0.1.5
Sep 29, 2026
Merged

lg2m merged 1 commit into
mainfrom
docs/eng-968-guide-pins-0.1.5

Conversation

@lg2m

@lg2m lg2m commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Release runbook step 6, the post-release docs change.

v0.1.5 is published (Release workflow green; five target archives plus SHA256SUMS), so the guide can now name it:

  • docs/guide/install.md: install-script, QQ_VERSION, nix, cargo install --tag, manual download and qq --version examples 0.1.4 → 0.1.5.
  • docs/guide/cli.md: the -V example.
  • docs/guide/troubleshooting.md: the qq doctor banner, with 0.1.5's contracts (protocol 30, capabilities 1, descriptor 12, store schema 39, checked against the constants on main).

No other 0.1.4 references remain under docs/guide. docs_truth passes.

Why this lands after the release: the site deploys on merge, so moving the pins in the bump PR would have published commands for a release whose assets didn't exist yet. Codex caught that on #219.

Linear: ENG-968 (release stack, done).

Release runbook step 6: v0.1.5 is published with all five target archives
and SHA256SUMS, so the guide's pinned install, nix, cargo and manual
download commands and the version/doctor examples now name it, with
0.1.5's contracts (protocol 30, capabilities 1, descriptor 12, store 39).

Refs: ENG-968
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@lg2m
lg2m merged commit 0bd8f6b into main Sep 29, 2026
6 checks passed
@lg2m
lg2m deleted the docs/eng-968-guide-pins-0.1.5 branch September 29, 2026 21:28
lg2m added a commit that referenced this pull request Sep 30, 2026
v0.1.5 (#228) moved the rule: the bump PR must not move the guide's
version pins, because the site deploys on merge before the tag's assets
exist; a follow-up docs PR moves them. GE0.1's exact-equality check and
bump-time rewrite contradicted that.

- docs-truth: every QQ version in the guide and README is one version,
  the manifest's or the previous CHANGELOG.md release; stale or mixed
  pins still fail.
- `cargo xtask release X.Y.Z` no longer rewrites docs.
  `cargo xtask release --docs` moves every pin from the previous release
  to the manifest version for runbook step 6 (no commit).
- runbook documents both.

Linear: ENG-979
lg2m added a commit that referenced this pull request Sep 30, 2026
…nership (#222)

* docs(plans): split GE0 into CI-enforced sub-slices; file GE0, GE9, GE10

Linear: ENG-928

* fix(docs): fail CI when the guide's versions drift; correct server ownership

Two docs-truth tests make version drift a CI failure:
- Every QQ version in docs/guide and README.md must equal the workspace
  version; strings that are not QQ's go in FOREIGN_VERSIONS with a reason.
- Every protocol, capabilities, descriptor and store-schema number the
  guide states must equal this build's, and design/protocol.md must name
  and describe the current PROTOCOL_VERSION.

`cargo xtask release X.Y.Z` now rewrites the old version in those files
and commits them with the bump, so a release keeps the guide passing.

Fix what the tests found: stale 0.1.2/0.1.3 pins and samples, the doctor
sample's protocol 27 / descriptor 9 / store schema 34, and
design/protocol.md stuck at 28 with no 29/30 paragraphs.

Also correct the server-ownership prose (checked on a build):
- Quitting a TUI that started its own server cancels its runs; runs
  continue only under `qq serve`.
- `qq run` never connects to a server. It exits 4 with "session store is
  owned by another running qq process" while a TUI or `qq serve` is open.

Linear: ENG-979

* fix(docs): address GE0.1 review — tie version exemptions to lines, tracked files only

- cargo xtask release rewrites only tracked, regular guide/README files
  (from `git ls-files`), never an untracked draft or a symlink target.
- Foreign versions are exempt per line via a shared `<!-- not-qq-version -->`
  marker that both the release rewrite and docs-truth honour, rather than
  per (file, token). A stale QQ sample equal to a foreign token on the same
  page now fails, and a QQ release equal to a foreign version leaves the
  marked line alone.
- The compatibility check also reads the hyphenated `store-schema N`.
- Server-ownership prose, checked on a build:
  - A second TUI attaches to the first TUI's server, and quitting the
    first cancels runs from both.
  - A concurrent `qq run` also holds the store and makes another exit 4;
    separate data directories avoid it.
- Condense the GE0.1 ledger receipt to the workflow's 15-line limit.

Linear: ENG-979

* fix(release): keep the guide's pins until the release is published

v0.1.5 (#228) moved the rule: the bump PR must not move the guide's
version pins, because the site deploys on merge before the tag's assets
exist; a follow-up docs PR moves them. GE0.1's exact-equality check and
bump-time rewrite contradicted that.

- docs-truth: every QQ version in the guide and README is one version,
  the manifest's or the previous CHANGELOG.md release; stale or mixed
  pins still fail.
- `cargo xtask release X.Y.Z` no longer rewrites docs.
  `cargo xtask release --docs` moves every pin from the previous release
  to the manifest version for runbook step 6 (no commit).
- runbook documents both.

Linear: ENG-979
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