Repository navigation
docs: fix contract-version and product-version drift before v0.1.5 - #219
Conversation
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
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: 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".
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
There was a problem hiding this comment.
💡 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".
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
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
There was a problem hiding this comment.
💡 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".
| 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 |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
Fixed: the root ledger now reads descriptor 9 → 12, matching CHANGELOG.md and protocol.md.
| 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 |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
* 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
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 (maxeffort) and 30 (default), goldensv30.troubleshooting.mdbanner,cli.md,install.md→ 0.1.5 and current contracts.architecture.md: Anthropic Messages now carriesoutput_config.effort(was "never transmit").configuration.md,runbooks/jev.md: effort vocabulary includesmax,default; an unadvertised value fails at plan time naming accepted ones.progress/root.md: closes the stale AGENTS.md Linear-team request (alreadyENG); records this stack.docs_truthtests pass. Linear: ENG-976.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.