Repository navigation
feat(opencode)!: target OpenCode v2 in Flow 10 - #197
Merged
Merged
Conversation
A completed Responses stream can stop its HTTP reader before EOF. End that captured resource without revoking its admitted input. Retain bounded native terminal facts in V2 evaluation traces and keep question escalation scoped to its invocation. Port direct transport fixtures to the pre-dispatch transcript read.
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: 58ef483fed
ℹ️ 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".
Keep stable callback owners and immutable replay identities while retiring their transcript payloads. Release attribution state on native session deletion without changing HTTP completion or stale-owner cleanup.
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.
Why
Flow 9 uses OpenCode 1 plugin APIs and cannot load on OpenCode 2. Flow 10 targets native OpenCode 2.1.4, with later 2.x releases supported after compatibility checks.
What changed
options.typesafeApiKeyEnvand update installation, configuration, migration, and maintainer documentation.openai/gpt-6.1-solfor manager and reviewer. Retain all 17 cases and their pass requirements; later release defaults stay unchanged.Scope
Tradeoffs
Keep one v2 runtime instead of maintaining a dual-version adapter. Historical serialized evidence remains readable. Native-only turns gain no Flow authority. Unknown-history automatic compaction and execution from summary-only checkpoints remain refused.
The 10.0.0 qualification scope is OpenAI-only and makes no cross-provider reliability claim. Its draft schedules 91 planned or 114 maximum top-level dispatches, with canary approval separate. No paid execution or budget authorization is included in this PR.
The native API exposes no atomic plugin admission mechanism for inputs arriving after the final local scheduling gate. That host race remains unqualified. The recorded intake-only event checks do not establish universal terminal-job completion.
Blast Radius
This changes host integration, execution identity, permissions, and proof tooling. Main's old v1 dependency graph fails its dependency audit; this branch removes that chain, upgrades Zod, and audits clean.
Verification
openai/gpt-6.1-solfor exact 10.0.0 and rejects mixed providers before authorization. Strict canary and publication verification reject wrong manager or reviewer identities, including a self-consistent wrong pair. Current steps derive 72 primary cells and 17 reserves, 90 primary dispatches, 23 reserve dispatches, and one probe. The 114-dispatch draft is unapproved and needs refresh at final candidate freeze. It does not cap internal generation or cost; canary dispatches need separate approval. See the qualification policy.40356323runtime. Its packageaf10177fpassed the unchanged 119-assertion native smoke and all 23 failed-reservation recovery checks on OpenCode 2.1.4, using five loopback requests. These are retained runtime checks; changed policy and changelog still require a fresh release candidate and evaluator freeze before paid qualification. See the reservation recovery record.0228d8afwith the same armed persistence failure. The static notice reaches native tool content and the next model request, preserves raw output, and produces no false receipt. See the capture reporting record.c38dc14ewith two provider requests for each input, literal shell output, and realflow_statussuccess. Steer retains its separate one-and-two request control. Native idle marks execution-drain settlement. The original two-idle checker remains failed and preserved; the corrected completion contract still rejects the baseline. See the native queue proof.The execution record retains earlier migration and artifact identities. The queue source review records the new ownership boundary. ADR 0018 defines native-only execution and retained compaction limits. Same-model auxiliary retry and native overlapping contexts remain unqualified.