Skip to content

fix(native): confirm provider removal and reset - #213

Merged
rynfar merged 3 commits into
nativefrom
nw/136-provider-confirm
Nov 4, 2026
Merged

rynfar merged 3 commits into
nativefrom
nw/136-provider-confirm

Conversation

@rynfar

@rynfar rynfar commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Provider settings removed custom instances and reset defaults immediately, discarding saved settings and custom binary paths without asking.

Both actions now use in-app GPUI confirmation with the web's question, saved-settings warning and conditional default-off warning. The action captures its instance/connection and rechecks grants, settings revision and existence before sending. Duplicate/pending guards, failure notices and successful-removal-before-managed-ACP-cleanup ordering are preserved.

Confirmation restores a trigger only when the captured instance still has an enabled, rendered control in Settings. Otherwise it focuses the stable Settings parent, including while a mutation is pending, after a reset removes its trigger, and after stale removal/denial. Settings also handles FindInThread locally so a server keymap's Cmd-F keeps search inside the modal.

Intake rebase: this PR is based on 917a20bdaa1c9eaa9112faccc914231c0209cd4a. Only the ST-PROVIDERS ledger conflict was resolved. All seven feature-source blobs match 516576321c6c46263f3a5be2acafc4c112165367; the other 130 current-base ledger rows, intake source/Issue audit references and UPSTREAM are preserved.

Post-rebase checks are RED overall: conformance --check exits 1 for stale item-detail.jsonl, the known release blocker #233. It was not regenerated or fixed here. The parent's generated-fixture structured-blank replay was 6 pass/1 fail; this worker did not rerun that modified fixture. Strict native Clippy, all 1,383 checked-in native tests, theme, 42 parity tests, scoped formatting and normal/snapshot builds pass. Exact command, source, exit and hash receipts: /private/tmp/native-factory-2f5f764a/136-intake-rebase-917/summary.json and the adjacent receipts. No new native UI invocation or captures were performed for this metadata-only rebase.

Preserved pre-intake evidence on 516576321c6c46263f3a5be2acafc4c112165367: four offscreen behavioral regressions fail before the focus fix: pending confirmation, successful default reset, stale target removal and stale denial. All four now route Cmd-F, Tab and Escape through actual Settings handlers with rendered focus ancestry. These checks retain pending state and use only synthetic in-memory projection/restriction before returning ahead of store/RPC. Two additional captures show the pending/reset states. The original E0432 missing-module red log remains unchanged and is not behavioral red proof; intermediate validator and Cmd-F findings are retained too.

Local evidence (no uploads):

  • Original UI before: /private/tmp/native-factory-2f5f764a/136-evidence/before.png
  • Original confirmation copy: /private/tmp/native-factory-2f5f764a/136-evidence/final-custom-readable.png
  • Behavioral before: /private/tmp/native-factory-2f5f764a/136-r2/red-pending.png
  • Behavioral after: /private/tmp/native-factory-2f5f764a/136-r2/final/green-pending.png
  • Pending/reset state captures: /private/tmp/native-factory-2f5f764a/136-r2/final/state-pending.png, /private/tmp/native-factory-2f5f764a/136-r2/final/state-success.png
  • Full source/build/capture/exit/hash records: /private/tmp/native-factory-2f5f764a/136-r2/summary.json, /private/tmp/native-factory-2f5f764a/136-r2/manifest.sha256

Limits: real mutation/cleanup RPCs remain unexercised. Separate #202 cached offscreen glyph loss remains visible in some captures. ST-PROVIDERS remains partial; #139's concurrent argument merges and the other 130 ledger rows are unchanged. Web/mobile, contracts and adapters need no changes.

Closes #136.

Built with GPT-6.1 Sol in Codex

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