Skip to content

docs: fix contract-version and product-version drift before v0.1.5 - #219

Merged
lg2m merged 7 commits into
test/eng-975-store-schema-35-upgradefrom
docs/eng-976-release-drift
Sep 29, 2026
Merged

lg2m merged 7 commits into
test/eng-975-store-schema-35-upgradefrom
docs/eng-976-release-drift

Conversation

@lg2m

@lg2m lg2m commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Stack ENG-968 (v0.1.5 readiness), 8 of 9. Merge in order; diff shown is this layer only.

  • design/protocol.md: protocol 28 → 30, descriptor note through 11, records protocol 29 (max effort) and 30 (default), goldens v30.
  • Guide: troubleshooting.md banner, cli.md, install.md → 0.1.5 and current contracts.
  • architecture.md: Anthropic Messages now carries output_config.effort (was "never transmit").
  • configuration.md, runbooks/jev.md: effort vocabulary includes max, default; an unadvertised value fails at plan time naming accepted ones.
  • progress/root.md: closes the stale AGENTS.md Linear-team request (already ENG); records this stack.

docs_truth tests pass. Linear: ENG-976.

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.

protocol.md named protocol 28 and descriptor 10 (now 30 and 11), pointed at
the v19/v28 goldens, and did not record protocol 29 (max effort) or 30
(default effort). The guide's example versions were 0.1.2/0.1.3 and the
troubleshooting banner showed protocol 27, descriptor 9, store 34.
architecture.md still said Anthropic adapters never send effort; they send
output_config.effort for low through max. configuration.md and jev.md listed
the effort vocabulary without max and default and did not say a value the
model does not advertise fails at plan time.

Closes the stale AGENTS.md Linear-team root request (already fixed) and
records the release stack in the root ledger.

Refs: ENG-976
@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:35:33.314772Z 2f25ad4 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.

@lg2m
lg2m added this pull request to stack #221 September 29, 2026 02:17

@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: 00b5908052

ℹ️ 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/guide/configuration.md Resolved
Comment thread docs/guide/install.md Resolved
Conflict: docs/runbooks/jev.md (#210's rewrite via #214). Kept the new file
and re-applied this PR's effort-list edit at its new location.

Review (Codex, #219):
- The effort rule said any unadvertised value fails at plan time. It does
  not for 'default' (never validated, never sent) or for a model with no
  known accepted set (not checked; the provider rejects it). configuration.md
  and runbooks/jev.md now say exactly that.
- Install pins and example outputs pointed at 0.1.5 before it exists. They
  now name the latest release, 0.1.4 (main still said 0.1.3), with 0.1.4's
  contracts; the release PR moves them (runbook step 2 says so).

Refs: ENG-976

@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: 59b919d084

ℹ️ 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/design/protocol.md Resolved
Comment thread docs/runbooks/release.md Resolved
Conflict: configuration.md (this PR's effort row vs #216's cap row). Kept both.

Review (Codex, #219):
- protocol.md said max/default reach 'every effort field' but listed three.
  It now lists every ReasoningEffort field exactly (create_session,
  set_session_effort, session_effort_set, SessionSummary, RoutingDecision,
  ModelDescriptor.reasoning_efforts, DelegationRosterEntry.effort), and
  records descriptor 12 (approval_delegate, #214).
- The runbook moved guide pins in the bump PR, which deploys before the
  tag's assets exist. Pins now move in a post-release docs PR (step 6).

Refs: ENG-976
lg2m added a commit that referenced this pull request Sep 29, 2026
Review (Codex, #220): the rollback backup copied only sessions.sqlite3, but
the store runs in WAL mode, so recent history can sit in the -wal file. The
Upgrading block now says to stop every QQ process and copy the -wal/-shm
files too, or take a consistent copy with sqlite3 .backup.

Also: descriptor is 9 -> 12 after #214, and the guide pins stay at 0.1.4
here; they move in a post-release docs PR per the runbook (#219).

Refs: ENG-977

@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: 2f25ad4cbe

ℹ️ 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/plans/progress/root.md Outdated
Release review of `main` at `7885f2c` (v0.1.4 + 36 commits): workspace tests
1948/0/6, clippy and fmt clean, minimal provider profile 203 passed, CI green.
Versioning moves to 0ver (ENG-969): contract bumps since v0.1.4 (protocol
27 → 30, store 35 → 39, descriptor 9 → 11) ship as a PATCH, listed in the

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 Update the descriptor delta to version 12

At this commit, DESCRIPTOR_VERSION is 12, not 11: version 12 was introduced by the Jev approval fix already included in this stack, and this same change documents it in docs/design/protocol.md. Since the v0.1.4 baseline was version 9 and this ledger says these deltas will be listed in the release PR, leaving 9 → 11 risks publishing an incorrect v0.1.5 Upgrading block; record 9 → 12 instead.

AGENTS.md reference: AGENTS.md:L14-L19

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.

Fixed: the root ledger now reads descriptor 9 → 12, matching CHANGELOG.md and protocol.md.

Comment on lines +482 to 483
and Anthropic discovery fills it for live models. A pin outside a non-empty ladder is a plan-time `ReasoningEffortNotAdvertised`
error naming the accepted values, so the operator sees it before the provider

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 Qualify Anthropic's adapter-level effort rejection

For an Anthropic route with a non-empty known ladder, selecting none or minimal does not produce ReasoningEffortNotAdvertised or name the accepted values: src/runtime.rs rejects those two values first with the generic UnsupportedReasoningEffort error at lines 1633–1652. Unlike the previously fixed default and unknown-ladder cases, this adapter-level precheck is fresh evidence that the unconditional claim still has an exception; qualify it or make the runtime use the advertised-ladder error for this case.

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: doc nuance. Anthropic's none/minimal are rejected slightly earlier with UnsupportedReasoningEffort, which names the route's supported efforts; the outcome is the same plan-time failure. A later doc pass can mention it.

@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.

1 similar comment
@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 c3f5045 into main Sep 29, 2026
5 checks passed
@lg2m
lg2m deleted the docs/eng-976-release-drift branch September 29, 2026 18:56
lg2m added a commit that referenced this pull request Sep 29, 2026
* chore(release): v0.1.5

* chore(release): v0.1.5

cargo xtask release 0.1.5 on the reviewed stack: workspace 0.1.4 -> 0.1.5,
Cargo.lock, first CHANGELOG.md. Adds the hand-written Upgrading block the
release workflow publishes as the GitHub release body (ADR-0051), and moves
the guide's version pins and example outputs to 0.1.5 in this PR only.

Note: stacked entries carry no (#N) until the stack is squash-merged; rerun
the bump on the merged main before tagging (Codex review, #220).

Refs: ENG-977

* Merge #219 into chore/eng-977; address Codex review

Review (Codex, #220): the rollback backup copied only sessions.sqlite3, but
the store runs in WAL mode, so recent history can sit in the -wal file. The
Upgrading block now says to stop every QQ process and copy the -wal/-shm
files too, or take a consistent copy with sqlite3 .backup.

Also: descriptor is 9 -> 12 after #214, and the guide pins stay at 0.1.4
here; they move in a post-release docs PR per the runbook (#219).

Refs: ENG-977
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