Skip to content

fix(providers): enforce native PTY before context or wire access - #68

Merged
anycodes merged 1 commit into
mainfrom
fix/provider-preflight-20261018
Oct 18, 2026
Merged

anycodes merged 1 commit into
mainfrom
fix/provider-preflight-20261018

Conversation

@anycodes

@anycodes anycodes commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Description

Refs #36. Extract the native terminal guard from conditional migration PR47 so current native main receives the fix independently.

An Express terminal lacking its declared PTY feature previously touched session/wire state and raised an incidental error. Check the provider declaration first and preserve the typed unsupported-feature contract. Valid native APIs and available backend behavior are unchanged.

Type of Change

  • Bug fix
  • Documentation
  • Tests

Changes

  • Enforce the scoped native provider error/preflight contract described above.

Testing

Regression1 FAIL before/1 PASS after. Full client2180 PASS/24 SKIP; maintained lint/format/mypy both packages PASS. Actual local Express112 PASS/2 Volume opt-in SKIP/2 slow DESELECT/1 documented KI-009 XFAIL. Tracker cleanup plus independent read-only complete list confirmed zero current-date E2E-tagged sandboxes; no unrelated resource changed.

Server/distribution code is unchanged. Exact latest-head full hosted Python3.10/3.11/3.12 client/server/package matrix will be verified before normal merge. No cloud/model Actions acceptance or credentials added.

Documentation and records

English/Chinese provider guides, CHANGELOG, proposed owner note and verification under .agents use topic2026-10-18-provider-preflight. Parent standard migration/conditional pause/snapshot prerequisites remain in PR47.

Checklist

  • Project conventions and observable regressions
  • English/Chinese docs, CHANGELOG and owner engineering records
  • No credentials/private raw logs included

Definition of Done

  • Scoped regression fails before and passes after
  • Real available Express/component acceptance recorded with cleanup
  • ADR/note Status matches its directory
  • English/Chinese docs and Unreleased CHANGELOG
  • Repository hygiene/health pass
  • Latest exact-head full hosted matrix verified before merge (all9 required checks successful on841dae8e)

@anycodes
anycodes merged commit 81cca58 into main Oct 18, 2026
9 checks passed
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