Skip to content

chore: provider-state re-verify all 11 CLIs + copilot/minimax adapter drift fixes#15

Merged
bbingz merged 2 commits into
mainfrom
chore/provider-state-review-20260626
Jun 26, 2026
Merged

chore: provider-state re-verify all 11 CLIs + copilot/minimax adapter drift fixes#15
bbingz merged 2 commits into
mainfrom
chore/provider-state-review-20260626

Conversation

@bbingz

@bbingz bbingz commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

A provider-state-review Workflow (11 read-only probe agents → per-provider adversarial verify → synthesis, 23 agents) re-checked every provider CLI's live install + upstream + adapter contract on top of v0.6.27.

Headline: no version gaps, no breaking CLI drift. All 11 locals == upstream where comparable (claude 2.1.193 / gemini 0.49.0 / qwen 0.19.2 / copilot 1.0.65 / opencode 1.17.11 / pi 0.80.2 / cmd 0.40.8 / mmx 1.0.16 / kimi-code 0.19.1 / grok 0.2.64 / agy 1.0.12); every flag/auth/argv assumption verified intact against live --help.

Code fixes (with regressions)

  • copilot resume contractbuildCopilotInvocation emits --session-id <id> instead of --resume <id> for resume-by-exact-id. copilot 1.0.65's -r, --resume[=value] takes an OPTIONAL =-attached value (or opens the session picker), so the prior space-separated form would not resume by id; --session-id <id> is the documented by-id flag. Reachable via ask/rescue --provider copilot --resume <id> (the companion sets resumeSessionId).
  • minimax finish-reasonextractMiniMaxResponseFromMmxJson honours Anthropic-style stop_reason in the finishReason fallback (mmx speaks both the OpenAI finish_reason and Anthropic Messages stop_reason shapes; the parser already handles Anthropic content[]). Pure additive, zero regression.

All 5 companion bundles regenerated by build:plugins.

Docs / comments / memory

  • kimi-code v0.6.0kimi-code 0.19.1 in docs/provider-paths.md + docs/polycli-v1-public-surface.md; dropped the re-drifting v0.6.0 pin from behavioural code comments (kimi.js, review.mjs, prompt-runtime.mjs).
  • provider-paths.md snapshot → 2026-06-26; replaced the stale v0.6.21 clause in the roadmap.md Current-state section with the re-verification note.
  • (Out-of-repo) project memory reference_cli_provider_versions.md rewritten to the 11-provider reality: pi @mariozechner@earendil-works; kimi spawns kimi-code not the shadowed PyPI kimi-cli; minimax=mmx-cli not mini-agent.

Deferred / FLAGGED (not changed)

Per minimum-diff + the AGENTS.md "flag pre-existing dead code, don't delete" rule:

  • pi.js dead agent_end.result.text / resultEvent.error branches (live agent_end carries only messages[]/willRetry, verified vs pi-agent-core .d.ts; harmless).
  • opencode.js billed run "ping" auth probe could use non-billing opencode auth list, not done because auth-list proves CONFIGURED-not-WORKING and folding it in would weaken status honesty / risk the four-state.
  • JSON/stream-json event schema unverified for ~7 providers (read-only/cost constraint — needs an execution-allowed run or fixture recapture; gemini/grok fixture meta versions also lag, already tracked by check:fixture-freshness).

Validation

  • npm test 559/559
  • npm run release:check exit 0

Respects the Path B boundary: no shared runtime base, no parser promoted into polycli-utils, timing four-state untouched, cold/retry still unimplemented.

bbingz added 2 commits June 26, 2026 22:34
… drift fixes

Workflow (11 read-only probes -> per-provider adversarial verify -> synthesis)
re-checked every provider CLI's live install + upstream + adapter contract on top
of v0.6.27. No version gaps, no breaking CLI drift; two real adapter fixes:

- copilot resume: --resume <id> -> --session-id <id>. copilot 1.0.65's
  -r,--resume[=value] takes an optional =-attached value (or opens the picker),
  so the space-separated form did not resume by exact id; --session-id <id> is
  the documented by-id flag. Reachable via ask/rescue --provider copilot --resume.
- minimax: honour Anthropic-style stop_reason in the finishReason fallback (mmx
  speaks both finish_reason and stop_reason; parser already handles content[]).

Both covered by regressions; all 5 companion bundles regenerated.

Docs/comments: kimi-code v0.6.0 -> 0.19.1 (provider-paths, v1-public-surface);
drop the re-drifting v0.6.0 pin from code comments; refresh roadmap Current-state
+ provider-paths snapshot to 2026-06-26.

Deferred/flagged (not changed) per minimum-diff + "flag pre-existing dead code":
pi.js dead agent_end.result.text branches; opencode billed ping auth probe;
unverified JSON/stream-json event schema for ~7 providers.

npm test 559/559, npm run release:check exit 0. Path B boundary intact.
@bbingz bbingz merged commit 5f2cdde into main Jun 26, 2026
1 check passed
@bbingz bbingz deleted the chore/provider-state-review-20260626 branch June 26, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant