Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/opencode-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.5
1.19.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"slice_class": "non_ranking",
"targeted_mechanism": "none",
"kind": "harness",
"fixtures": ["harness-goldens"]
}
12 changes: 6 additions & 6 deletions tests/docker/opencode2/contract/host1-edit-family-gate.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema_version": 1,
"run_id": "oc1-1.19.5-20261116T154212279Z-t7-parity",
"observed_run_id": "oc1-1.19.5-20261116T154212279Z-t7-parity",
"host_version": "1.19.5",
"run_id": "oc1-1.19.6-20261123T174921686Z-t7-parity",
"observed_run_id": "oc1-1.19.6-20261123T174921686Z-t7-parity",
"host_version": "1.19.6",
"host": "opencode1",
"platform": "linux-x64",
"transcript": "probe/host1-edit-family-gate-1.19.5.txt",
"transcript": "probe/host1-edit-family-gate-1.19.6.txt",
"executable": "opencode-ai/bin/opencode.exe",
"executable_sha256": "7df4e4136301f16589b0f30bf91a61380fca5f8ef22dd36570f5ebe1d4ec802c",
"executable_sha256": "aab0a58cd7fc5a1f17495b76c08e79989d331653d8b63156aca2f6e9e36d1173",
"registry_function": "l(\"ToolRegistry.tools\")",
"selector_source": "let oe=V.modelID.includes(\"gpt-\")&&!V.modelID.includes(\"oss\")&&!V.modelID.includes(\"gpt-4\");if(G.id===ln.id)return oe;if(G.id===Bt.id||G.id===Zt.id)return!oe;",
"tool_selectors": [
Expand All @@ -30,5 +30,5 @@
"v2_default": "openai/mock-model"
},
"reading": "The selector is true for a model id containing gpt- but neither oss nor gpt-4. True publishes apply_patch and withholds edit and write; false publishes edit and write and withholds apply_patch. The rule is unchanged from OpenCode 1.19.3 to 1.19.5; only the registry wrapper and minified symbols changed. No provider participates in the edit-family decision. V1 parity still uses the captured mock/mock-model, so its apply_patch leg remains excluded. V2 apply_patch scenarios explicitly select openai/gpt-5-mock while other scenarios keep openai/mock-model by default. V2 disables the host patch plugin and AFT supplies the corresponding per-model gate.",
"capture_source_sha": "75b22b343e10020aacc91081112493b7ba8c5263"
"capture_source_sha": "d1cddbd231e294d279d49e6cc16040fb2051abba"
}
14 changes: 7 additions & 7 deletions tests/docker/opencode2/contract/host1-provider-config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"schema_version": 1,
"run_id": "oc1-1.19.5-20261116T154212279Z-t7-parity",
"observed_run_id": "oc1-1.19.5-20261116T154212279Z-t7-parity",
"host_version": "1.19.5",
"run_id": "oc1-1.19.6-20261123T174921686Z-t7-parity",
"observed_run_id": "oc1-1.19.6-20261123T174921686Z-t7-parity",
"host_version": "1.19.6",
"host": "opencode1",
"platform": "linux-x64",
"transcript": "probe/host1-provider-config-1.19.5.txt",
"transcript": "probe/host1-provider-config-1.19.6.txt",
"provider_config": {
"mock": {
"name": "Deterministic aimock",
Expand All @@ -27,7 +27,7 @@
"name": "Deterministic aimock",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://127.0.0.1:44409/v1",
"baseURL": "http://127.0.0.1:39981/v1",
"apiKey": "{env:OPENAI_API_KEY}"
},
"models": {
Expand All @@ -52,7 +52,7 @@
"OPENAI_API_KEY": "sk-opencode2-harness"
},
"observed_session": {
"session_id": "ses_e1af9c018ffeBjKV0ngqtIBgd4",
"session_id": "ses_df678e5baffe6nOBiMOfdIHoTw",
"model": {
"id": "mock-model",
"providerID": "mock"
Expand Down Expand Up @@ -88,5 +88,5 @@
],
"required_for": "the V1 leg of every T7 parity row",
"missing_contract_code": "contract_uncaptured:host1_provider_config",
"capture_source_sha": "75b22b343e10020aacc91081112493b7ba8c5263"
"capture_source_sha": "d1cddbd231e294d279d49e6cc16040fb2051abba"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
OpenCode 1 edit-family selector capture
run_id: oc1-1.19.5-20261116T154212279Z-t7-parity
source_sha: 75b22b343e10020aacc91081112493b7ba8c5263
binary: opencode-ai@1.19.5 (linux-x64)
binary_sha256: 7df4e4136301f16589b0f30bf91a61380fca5f8ef22dd36570f5ebe1d4ec802c
run_id: oc1-1.19.6-20261123T174921686Z-t7-parity
source_sha: d1cddbd231e294d279d49e6cc16040fb2051abba
binary: opencode-ai@1.19.6 (linux-x64)
binary_sha256: aab0a58cd7fc5a1f17495b76c08e79989d331653d8b63156aca2f6e9e36d1173
isolation: throwaway HOME and all XDG roots; no host service started for the bundle inspection
bundle: opencode-ai/bin/opencode.exe (temporary prefix <capture-root>)

Expand Down
Loading
Loading