Repository navigation
Implementation: visible reasoning summaries across provider protocols - #2126
Merged
Merged
Conversation
Co-authored-by: Mecatl <[email protected]>
…espace Credit community PR #2100 for the bare Opus/Sonnet/Fable 5 prefix slice; extend it to Mythos 5, exact anthropic/ IDs, and sparse-discovery proofs. Co-authored-by: Mecatl <[email protected]>
Keep reasoning summaries display-only and pin replay, reload, and rejection behavior across adapter and engine boundaries. Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Keep the upstream 400 classification and no-retry assertions while avoiding reliance on provider-supplied error text now hidden by the safe error projection. Clarify that omitted Anthropic thinking is not always disabled upstream. Co-authored-by: Mecatl <[email protected]>
jbeda
force-pushed
the
impl/visible-reasoning-summaries
branch
from
October 6, 2026 19:37
0e8bb03 to
863cb8d
Compare
Only an explicit thinking-level unsupported declaration or a supported mode makes thinking metadata known. Exercise partially reported type objects through the listing and composition boundaries, isolate the registry fixture, and remove unrelated replay duplication. Co-authored-by: Mecatl <[email protected]>
Carry the existing Anthropic unknown-support distinction through a neutral model-entry marker while preserving other listers\x27 current capability behavior. Co-authored-by: Mecatl <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation
Plan / Interface PR: #2118; approved baseline:
92c16eb6. The original acceptance contract at that commit was amended in this implementation with Joe's explicit approval as described below. Current working copies of the amended contract and ADRs are under ignored.scratch/visible-reasoning-summaries/in the implementation worktree;docs/acceptance/anddocs/adr/were intentionally removed frommainand are not reintroduced by this PR.thinking.supported:falsewins even over contradictory type flags; an unreported type'ssupportedvalue does not suppress fallback or configured reasoning effort.anthropic/-namespaced model IDs. The bare Opus/Sonnet/Fable 5 prefix slice credits community PR fix(anthropic): use adaptive thinking for Claude 5 models #2100; this PR also handles missing metadata, Mythos, namespaces, and OpenAI Responses.reasoning.summary:"auto". Display deltas stay separate from encrypted replay across a persisted session reload; incompatible endpoints return their safe provider error without a stripped retry or fabricated tool result.Interface decision: Joe authorized adding
provider/anthropic.ThinkingDescriptor.Knownand forwarding configured effort when a listed Anthropic model's thinking capability is unknown or missing. This changes the earlier reasoning-effort capability gate: unknown does not mean unsupported; an explicit negative remains authoritative. The exported field is source-compatible for keyed struct literals but external unkeyed literals must be updated. The inventory's booleanreasoning:falsecannot express unknown and is not used as proof of explicit unsupported. No protobuf fields, tool schemas, configuration settings, or persistence shapes change. The amended decision was recorded locally in the working-copy ADR 0376 when the tracked ADR directory still existed.Verification after rebase and repair:
task test,task lint,task test:race, and the offlinego run ./cmd/mecademopass.task docspassed after the rebase (before the final Go-only repair). The limited follow-up review of the sparse-metadata fix found no remaining issues on its inspected axes. CI independently checks the pushed candidate. Human review and merge remain required.Closes #2084