Skip to content

Complete pending CLI reliability fixes and integrations - #750

Merged
igorcosta merged 19 commits into
mainfrom
repair/cli-completion-20261110
Nov 10, 2026
Merged

igorcosta merged 19 commits into
mainfrom
repair/cli-completion-20261110

Conversation

@igorcosta

@igorcosta igorcosta commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Terminal resize could duplicate full-screen history, compiled tmux startup could exit immediately, and saved-session restoration could block the composer. This integration repairs those paths and completes Igor-authored PRs #745, #743, #742, #727, #690, #669, and #747, plus the saved-session fix from df44f764.

The final implementation includes:

  • Stable full-screen resize with native terminal coverage, compiled tmux startup in the current folder, and editable input while saved history restores. Slash-command completion preserves drafts typed or prefilled while a view was open.
  • The pinned built-in Squad bridge, opt-in background sync with cancellation, and continuation of the latest nonempty project conversation.
  • Bounded model-visible command output with complete private archives, names-only skill discovery, and one confirmed reply after completion review.
  • Scoped Computer Use mode restoration, bounded fragmented MCP framing with cleanup, committed CLI option snapshots, and transported macOS notarization checks.
  • Safe custom-provider removal and cloud restoration, OpenAI-family tool budgets in the main runtime and subagents, and compatible Azure reasoning parameters.

Implementation details and evidence boundaries are documented in the integration notes, terminal compatibility, and the affected provider, configuration, Computer Use, Squad, and CLI contract guides.

Validation on 0afefffd7d3dce5133ae258b2e7a47be307065ae:

  • Complete bun run proof passed: 13,972 unit tests and 560 terminal scenarios; 68 unit and 7 terminal skips remain.
  • Regular CI passed all 12 jobs, including macOS, Linux, Windows, all unit/terminal shards, the Windows UI scenario, and the pinned component.
  • Terminal compatibility passed all five jobs: actual iTerm2, Ghostty, cmux, graphical VS Code, and real tmux. The same commit also passed the independent native probe before integration.

The combined revision passed build, lint, and type checking. Native copy, fixture-state, and baseline-window corrections retain the original content, cursor, exit, identity, and physical resize checks. Native qualification is for graphical Code use; screen-reader-enabled Code remains unqualified.

Live seq 1 400000 probes used 15,539 total tokens with Terra and 24,483 with Fantail. Each executed the command once, returned one answer, and preserved a 2,688,895-byte archive containing 400,000 lines. The existing Free account correctly could not invoke paid Moa review; paid live-review cost remains unqualified. Deterministic required-review approval, rejection, cancellation, and delayed delivery passed separately.

Azure Responses transport and live Azure qualification remain separate follow-ups; #719 and #720 stay open until release. The iTerm2 Python API remains disabled. Native VS Code qualification uses the disposable graphical profile; screen-reader-enabled Code sessions remain unqualified. This integration does not publish a release or enable the manually disabled release workflow. The original checkout's 41 working files are preserved.

Closes #668.

Prevent resize frames from accumulating in terminal scrollback, repair compiled tmux startup, and add native terminal compatibility coverage. Preserve editable input during session restoration and select the latest nonempty project conversation.

Finish sync opt-in and bounded command observations, reduce repeated skill metadata, and publish successful completions once their required review approves them. Integrate the pinned Squad bridge, restore interaction modes after Computer Use, and bound malformed MCP newline frames while preserving permission enforcement and resource cleanup.

Protect the current Commander option contract and verify transported macOS notarization. Incorporate the remaining work from #745, #743, #742, #727, #690, and #669 without enabling release publication.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
@igorcosta igorcosta added the full-proof Run the complete lint, unit, build, and terminal proof on GitHub label Nov 10, 2026
Integrate #747 while retaining the active provider when another custom entry is removed and preserving cancellation of active-provider replacement. Clear previous local transport settings when restoring the signed-in cloud account without discarding account identity or explicit cloud gateways.

Apply the 128-tool OpenAI-family budget to delegated requests with Code Mode disabled, retain discovery and relevant tools, and select compatible completion parameters for Azure reasoning models. Document the separate Azure Responses and live qualification follow-ups.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
@igorcosta igorcosta changed the title Complete pending terminal, session, skills, and MCP changes Complete pending CLI reliability fixes and integrations Nov 10, 2026
igorcosta and others added 6 commits November 10, 2026 13:54
Read native permission text through its supported accessibility attributes, open and inspect the same fresh terminal window, and give VS Code separate profiles with renderer accessibility enabled. Use native terminal menu interaction and XCTest teardown blocks so failed assertions still release applications and interruption monitors.

Align continuation, completion-review, and adaptive-skill scenarios with nonempty implicit resumption, delayed confirmed delivery, and the compact default index. Hold review responses behind explicit gates and retain cancellation, draft history, instruction activation, receipts, and context-budget assertions. Clarify benchmark measurements without changing their legacy JSON keys.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Use short disposable VS Code runtime profiles so macOS can create the main IPC socket, while retaining profile settings and bounded application logs in test artifacts. Bind native window references to accessibility identity and normalize fixture geometry within measured display bounds before the existing four resize gestures.

Cover the observed 57 by 19 streaming viewport through a real PTY, checking intentional clipping, history restoration on growth, retained input and cursor edits, and clean exit. Preserve every native transcript, draft, streaming, cursor, and exit assertion.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Read fresh VS Code terminal buffers when accessibility omits output, keep resize gestures on-screen, and synchronize configuration contention tests before advancing fake timers.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
…ements

Capture one bounded accessibility snapshot and accept complete TextView buffers before using fresh native clipboard readout. Preserve raw duplication, resize, cursor, streaming, and exit assertions.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Inspect the accepted fresh native terminal frame without a second clipboard read, and wait for the mounted question menu before submitting keyboard input. Preserve exact output, lifecycle, cursor, exit, and deadline checks.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Read one unambiguous source-defined screen row list from a fresh application snapshot, preserve raw duplicates, and guard the process and native window identity. Refresh setup geometry around physical gestures before permitting a move.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
igorcosta and others added 3 commits November 10, 2026 16:42
Accept text-scaled accessibility rows that extend beyond their list width while retaining vertical, structural, window, and content checks. Reproduce the captured resize geometry without removing duplicate rows.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Require header, history, draft, and streaming marker presence within the existing resize deadline. Retain exact raw-frame count assertions so duplicated content and permanent marker loss remain failures.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Require a fresh pasteboard generation after focusing the existing terminal and preserve the copied text unchanged. Remove the stale accessibility content adapter while retaining bounded diagnostics and every terminal behavior assertion.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
igorcosta and others added 8 commits November 10, 2026 21:48
Persist capped copy observations and asynchronous fixture metadata with faithful payload, encoding, callback, and backpressure behavior. Retain late events and overflow counts without changing native commands, predicates, cadence, or deadlines.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
…dline

Keep response chunks active through the physical resize, then gate only new fixture updates for a fresh raw terminal copy. Require post-resize progress and resumed output within the original ten-second budget while preserving transcript, draft, cursor, window, and exit assertions.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Consume submitted input at its existing synchronous boundary and remove obsolete late clears that erased newer drafts or prefills. Verify controlled completion in both TUI layouts and separate fully rendered command drafts from Enter in terminal tests.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Record how asynchronous command completion preserves newer composer drafts alongside the existing terminal, provider, sync, and session improvements.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Refresh the paused producer checkpoint when a later TTY size arrives. Verify a bounded atomic state snapshot around native copying and require an emitted post-resume chunk, keeping the original settling deadline and raw screen assertions.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Avoid an ambiguous bottom corner hit on full-width baseline windows. Verify each accepted width and height before moving the same native window, preserving all four scenario resize gestures and existing assertions.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Validate clipboard generation and raw text immediately after the copy command. Preserve the existing two-second fallback and final freshness check for stale or missing data, removing avoidable observation latency without extending the settling deadline.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Remove renderer accessibility forcing left over from the replaced AX content reader. Keep the screen-reader row mirror off only in disposable graphical fixtures, retaining native identity, raw-copy assertions and deadlines while documenting the accessibility coverage boundary.

Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-proof Run the complete lint, unit, build, and terminal proof on GitHub

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Computer Use tasks should enter temporary auto mode and avoid repeated orchestration delays

1 participant