chore(server): unexport OpenCode capabilities left unused by test removal - #13486
Conversation
…oval #13459 removed the last test importing OpenCodeProviderCapabilitiesV2, so knip flags it as an unused export and fails the Check job on every PR against this branch. It is only used inside OpenCodeAdapterV2.ts. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a one-line internal export cleanup; the capability object remains used by the adapter, with no change to runtime behavior, defaults, or production workflows. Repository searches found no remaining external consumers of the removed export. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
f6da5af
into
t3code/codex-turn-mapping
…oval (#13486) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…oval (#13486) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…oval (#13486) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Check job fails on every PR against
t3code/codex-turn-mapping. Its first step,vp run knip:check, reportsUnused exports (1): OpenCodeProviderCapabilitiesV2 apps/server/src/orchestration-v2/Adapters/OpenCodeAdapterV2.ts:149. #13459 removed the last test that imported that constant, and nothing outsideOpenCodeAdapterV2.tsuses it now. Because knip fails first, the job stops beforevp checkand typecheck run, which hides any real failures from those steps.Change
Drop
exportfromOpenCodeProviderCapabilitiesV2. The constant is still used in the same file (getCapabilitiesand the session capabilities).Verification
vp run knip:checkon base tip 52c336a before the change: fails with the unused export above.vp run knip:checkafter the change: exits 0 with no findings.vp exec tsc --noEmit -p .inapps/server: exits 0, noerror TSorwarning TSlines.vp lintandvp fmt --checkonOpenCodeAdapterV2.ts: formatted. The one lint warning (an unusedlayer) was already there and is unrelated.export, and nothing imports the constant.Model: Claude Opus 5.5 (Claude Code)
🤖 Generated with Claude Code