Skip to content

fix(release): restore the 0.1.0 workspace version on main - #51

Merged
lg2m merged 1 commit into
mainfrom
fix/restore-release-version
Sep 16, 2026
Merged

lg2m merged 1 commit into
mainfrom
fix/restore-release-version

Conversation

@lg2m

@lg2m lg2m commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

fix(release): restore the 0.1.0 workspace version on main

First of a three-PR stack (A → B docs → C code). Merge this first; one line of substance.

What happened

#46 (refactor/h22-2-structural-bundle) was cut from 896ea93, before v0.1.0 (#42) landed, and merged without a rebase. Its Cargo.toml carried version = "0.0.0" back onto main:

$ git diff e5892a8 486926b -- Cargo.toml
-version = "0.1.0"
+version = "0.0.0"

Consequences on main today: qq --version prints 0.0.0, and the next cargo xtask release X.Y.Z compares against the wrong base. Every earlier release (v0.0.1, v0.0.2) left main at the released version, so this is a regression, not a convention.

Change

  • Cargo.toml [workspace.package] version → 0.1.0; Cargo.lock refreshed.
  • New test workspace_version_is_not_behind_the_newest_release_tag in xtask/src/release.rs: reads git tag --list 'v*', parses the newest, and fails when the manifest is below it. Verified it fails on 0.0.9 with Cargo.toml says 0.0.9 but v0.1.0 is released; a stale branch reverted the bump, and passes on 0.1.0. Skips silently in a tagless checkout.

How verified

cargo test -p xtask (5 release tests pass); cargo run -- --version → qq 0.1.0 (…); fmt; clippy.

Compatibility

None. The manifest version was already 0.1.0 on the tag.

#46 was cut before v0.1.0 (#42) and merged after it without a rebase, so
its Cargo.toml carried 0.0.0 back onto main: `qq --version` reported 0.0.0
and the next `cargo xtask release` would have compared against the wrong
base. A test now fails whenever the manifest version is below the newest
v* tag, so a stale branch cannot do this silently again.
lg2m added a commit that referenced this pull request Sep 16, 2026
@lg2m
lg2m added this pull request to stack #54 September 16, 2026 20:53
@lg2m
lg2m merged commit f5b0aa9 into main Sep 16, 2026
4 checks passed
@lg2m
lg2m deleted the fix/restore-release-version branch September 16, 2026 20:54
lg2m added a commit that referenced this pull request Sep 16, 2026
* docs: close Phase 6 and reconcile every plan with what shipped

Phase 6 closed with #46/#47 but the docs still said "in review" in
fourteen places, the tool-layer plan still said "proposed" with eight of
fourteen slices shipped, three ADRs said Proposed for merged work, and the
priority table listed only shipped items. This pass makes the docs match
main at 7956e8e:

- speed-first plan: status block closed; Phases 5b and 6 collapsed to
  Completed Phases rows per the plan's own rule; D5/D8/D9/D10 as-built
  blocks reduced to ADR pointers; § Bundled Fixes keeps only the seven
  deferrals; version row points at protocol.md. 865 -> 742 lines.
  Gate files g-phase-5b.md and g-phase-6.md written.
- tool-layer plan: status block added (T1-T8, T12 shipped); D1-D5 and D8
  replaced by pointers to tools.md plus the recorded departures (rule
  count, PolicyDecision::Forbidden shape, runtime/spill.rs, Launch in
  shell.rs, LineRange, qq-tui -> qq-core edge); dependency table and
  owned paths corrected; § Docs marked done. 601 -> 317 lines.
- ADR-0019/0020/0022 -> Accepted; adr/README.md and root.md agree with the
  files; root.md requests table resolved; ADR-0027 records that qq-core
  is a public embedding API (the audit's "unused exports" are the
  contract).
- plans/README.md priority table rewritten to open work only; readiness
  plan's Phase 6 candidates replaced by pointers to T2/T5/T10 and its
  delivery table annotated; R6-search/patch ledger rows Superseded;
  supervised-delegation status and its applied Amendments collapsed;
  multi-surface status, shipped gaps, and W2 ledger row.
- Design docs: tools.md forward references to plan slices removed
  (list_dir, T6/T7 capture cap, T11); architecture.md records the
  qq-tui -> qq-core edge, the built-in tool set, and tool_spills/schema
  28; product.md and architecture.md point web/mobile at the approved
  multi-surface plan; headless-contract.md musl row and v21 note;
  release.md example numbers; README approval modes describe the
  classifier tiers, supervised, and full.
- decisions-needed #2 stays dropped, #3 carried to Phase 7, #4 and #6
  resolution text updated.

Every relative link and anchor under docs/** resolves (checked with
GitHub's slug rule); the as-built ADRs now point at design docs, not at
the plan sections that were collapsed.

* docs(ledger): link the cleanup stack (#51, #52)
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