Skip to content

sync: upstream 974bb4a7ca into swaplabs/main - #85

Closed
kiwidream wants to merge 134 commits into
swaplabs/mainfrom
main
Closed

kiwidream wants to merge 134 commits into
swaplabs/mainfrom
main

Conversation

@kiwidream

@kiwidream kiwidream commented Nov 4, 2026 •

Copy link
Copy Markdown

Daily upstream sync (auto-sync run 43, minidev-alex1).

Upstream range: ed54ecfa9c..974bb4a7ca, 134 commits (compare).

orca-fork-ops status (integration c093320f07, mirror 974bb4a7ca): 0 merged upstream, 0 pending upstream, 93 local forever (30 unprefixed with no upstream PR); 18 merge carriers, 0 unchecked. Upstream tag v1.4.248 was copied to the fork this run.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

OrcaWin and others added 30 commits November 3, 2026 03:10
* test: remove 30 low-value web and compatibility tests

* test: retire obsolete browser schema evidence from active gate
* test: remove 16 low-value behavior and UI tests

* test: remove 30 low-value client and benchmark tests

* test: prune timeout ratchet after test removal

* test: correct remaining split benchmark coverage claims
…i#37825)

* test: remove 20 low-value harness and client tests

* test: retire fake-agent and layout-oracle self-tests

* test: retire source route for removed usage smoke

* test: include 21 further low-value tests and remove unused fixture helper

---------

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
* test: remove 47 low-value main-process test registrations

* test: remove 10 further low-value main-process checks

* test: remove 16 low-value main-process test registrations

* test: retire deleted ZCode suite from transcript contract command
* test: remove 55 low-value checks across 15 whole suites

* test: retain persisted usage mapping boundary coverage
* fix(relay): admit reassigned combined hosts

Keep epoch-one bootstrap only when no durable assignment exists.

Fixes stablyai#37679

* chore(relay): brace admission conditionals
…7703)

A restored agent can stay quiet until its next turn; keep the pane's
resume identity until replacement or confirmed exit.
* fix(mobile): stream desktop-hosted server browser tabs

* test(mobile): record paired desktop browser interactions

* fix(mobile): type browser relay settings and test adapters

* fix(browser): avoid redundant retained paint mutations

* fix(browser): keep retained viewer state free of React
* fix(terminal): pipeline ordered mobile input

Keep unary delivery for desktop relays while the existing host ledger
orders complete sends under a capability-gated, bounded input session.

* fix(terminal): charge retained raw input controls

The dispatcher retains original control values while strict sends wait.
Reserve their bytes before normalizing execution controls.

* test(terminal): align input fixtures and paste recordings
* fix(runtime): revoke forked keys with their pairing

Fixes stablyai#37749

* test(runtime): fix revocation fixture expiration
OrcaWin and others added 26 commits November 3, 2026 21:45
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
* Add Ultracode to Claude chat effort

* Correct Ultracode test type annotations

* Keep Claude workflow effort observations consistent

* Make effort picker test follow async option contract

* Keep effort coverage at its owning behavior layer

* Exercise workflow readback with recorded native settings

* Preserve configured workflow during effort reapplication
* feat(mobile): bring back the terminal key row and one live input

Every terminal tab, shell or agent, gets the dock from before stablyai#36166:
the scrolling key row (desktop width, Paste, the built-in keys, custom
keys, add) above one live field that types straight into the terminal,
with the attach and mic buttons beside it. The field keeps today's 3:1
outline and focus ring, and the keys use today's chips and press styles.

The Keys/Message toggle, the Message composer, the arrow pad, the ⋯
sheet on the row and the per-terminal mode preference go. A stored mode
from an older build is never read. Sticky ctrl/alt/shift and the More
keys sheet stay only behind the iPhone Duo rail, which shipped shells
still draw; the page reports no composer, so shipped shells grey their
input-mode key and newer shells hide it.

* refactor(mobile): delete the buffered terminal line

With one live input there is no way to write a terminal line first and
send it, so the per-terminal drafts and their storage, the Send path,
command-field dictation, draft restoration and the terminal setting for
autocomplete and autocorrect (which only applied to that line) go.
Dictation in a terminal always types into it live. Drafts and the setting
saved by older builds are never read.
stablyai#38021)

* feat(onboarding): studio theme picker with plugin themes and Match Terminal palettes

Replace the three System/Light/Dark tiles with a live look picker: big
preview, bundled GitHub/VS Code app themes, curated terminal palettes that
recolor Orca via Match Terminal, and per-slot dark/light looks under System.
Picks repaint the app live and never change the mode; skip restores the full
arrival look.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(onboarding): simple theme tiles with optional look carousel

Restore the original System/Dark/Light tiles and move theme looks into an
optional carousel beneath them. Add a theme-plugin directory link that opens
the system browser at onorca.dev/plugins?kind=themes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(onboarding): label color mode and theme sections on theme step

Add Color mode / Theme section headings and replace the step subtitle with
guidance on what to pick.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(onboarding): preserve arrival look across Ghostty import

* fix(onboarding): follow moved terminal theme modules

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…38056)

Group accounts needing attention, clarify account details, and highlight
Codex sessions that still need to restart after an account switch.
* fix(automations): say the run's worktree was deleted; document plain run-use recovery

* revert(automations): drop the deleted-worktree wording change (not reproducible)

* docs(orchestration): list Tasks on recovery and note run-use drops other Runs

* docs(orchestration): delete the legacy takeover guide; keep orchestration docs to the normal flow
…lyai#38068)

* refactor: group sidebar admission and workspace creation owners

* refactor: consolidate defining-owner imports at first evaluation
* Keep local folder creation on the current workspace surface

* Prepare folder workspace tabs before selecting the destination

* Provide inventory boundary in folder creation regression

* Use the composer empty-link contract in re-entry coverage

* Complete the composer re-entry test input

* Preserve sidebar key comparison through creation progress
…yai#38020)

* fix(automations): accept Pi model and thinking extra arguments

* fix(automations): keep Pi provider pins and refuse unpinned inline keys

* fix(automations): match Pi value options to its argument parser

* fix(automations): refuse Pi model overrides beside unscoped inline keys

* test(automations): cover Pi's last-provider-wins key pin

* fix(automations): refuse any Pi custom Command text with --api-key

* fix(automations): drop the Pi inline-key pin guard

Pi already sends an unpinned inline key to the chosen model's provider and warns;
the user typed both the key and the model, so Orca does not refuse it.
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…s clicked in (stablyai#38072)

* fix(terminal): a paired-server file link opens in the workspace it was clicked in

Clicking a server terminal link to a file another workspace holds switched to
that workspace: the client asked the host for the holding workspace
(crossWorkspace), and the editor loader moved any absolute-path tab -
including one already holding a grant - to that workspace. Anyone who can
open a tab can already run anything on the host, so the holding workspace
guards nothing. On hosts that save granted files, the link now opens through
a grant in the clicked workspace, and restored tabs re-grant in place. Hosts
that can't (older hosts, their own SSH workspaces) and folders keep opening in
the holding workspace.

* fix(runtime): a desktop client reads and saves a granted file as large as a workspace one

Hosts advertise files.resolve-terminal-path.in-place-files.v1, give desktop
clients a 2 MB grant budget (phones keep 512 KB), and report a grant's size,
so the clicked workspace opens a file another workspace holds in place and
falls back to the holding workspace only where a grant can't serve it.

* fix(terminal): open in place only what a grant can read and save

Review: a grant save must fit one request frame and grants serve no bytes
editors, so the 2 MB budget would open files that can't be saved. Hosts now
report a grant's size and binary content instead, the client opens in place
only text within 512 KB, and only the SSH-workspace refusal moves a restored
tab; other host errors stay retryable.

* docs(terminal): describe the in-place files probe

* fix(terminal): ask the holder first and keep downloads, HTML and missing paths unchanged

Review: the holder answers first, as before, so missing paths, folders, this
computer's files, downloads and HTML previews resolve exactly as they did; only
an existing text file another workspace holds asks again for a grant here.
In-place opens are capped at 256 KB so edits stay within the grant's save limit.

* test(editor): mark the placement test's store stub as a sound cast
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
… switcher (stablyai#38106)

* feat(editor): add a default Markdown view setting with a switcher right-click menu

Markdown files can now open in Source instead of Rich Editor. The choice
lives in Settings > General > Editor and in a right-click menu on the
editor's view switcher. Changing it keeps already-open tabs on their
current view; the right-clicked tab follows the new default.

Closes stablyai#38102

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(editor): switch the right-clicked tab through the normal view toggle

Picking a default from the switcher menu now goes through the same
handler as clicking a segment, so a tab showing Changes or a plugin
editor leaves it for the chosen Markdown view.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
)

* Give unconfirmed chat messages explicit recovery actions

* Resolve receipt settlement code quality findings

* Complete recovery copy localization and callback types

* Align send lifecycle contracts with explicit recovery actions

* Include the unconfirmed opener in the restart fixture type

* fix(chat): preserve recovery ownership across lifecycle boundaries

* Preserve send ownership across context replacement and recovery

* Separate history ingestion from live send settlement

* Preserve original send truth and reconcile acquired history

* Use summary-shaped history responses in acquisition coverage

* Preserve queued image recovery for released readers

* Prove independent late receipt recovery across reopen

* Preserve queued image sources in bounded catch-up projection

* Keep queued input and explicit chat retries in their original domains

* Preserve reader lifetime across main session interfaces

* Fix static checks after main integration

* Migrate retained recovery Stop contracts to current lifecycle

* test: use typed access for journal population counters

* fix: consolidate history page bounds type imports

* test: exercise legacy snapshot reuse through selected handoff

* Fix attachment draft typing and document test boundary casts

* Repair current journal integration types and contract fixtures

* Keep uncertain send recovery in queue reorder reopen contract

* Repair mobile contract boundaries and exact queue lookup

* Align input finalization contracts with current Stop ordering

* Keep recovery copies independent of queued message barriers

* Reconcile Stop and replay contracts with current lifecycle

* Update recovery tests for current module and draft APIs

* Align Stop recovery contracts with independent queue policy

* Expose independent recoveries to current queue controls

* Cover sending-only queue Resume visibility

* Adapt recovery contracts to shared queue projection

* Use current history and failure-word contracts in recovery tests

* test: retain released reader source contracts through queue settlement

* Keep uncertain sends in ordinary history and preserve saved queue choices

* test: prove mobile draft leaf subscription isolation

* Use typed operation instrumentation in mobile recovery test

* Align lifecycle test boundary typing with static rules

* Repair test module typing and retained runtime copy catalog

* Remove unused chat delivery notice translations

* test(chat): retain legacy handback without uncertainty notice

* fix(chat): omit saved uncertainty card captions

* test: bind released readers to exact queue wire and proof

* Replace archived reader evaluator with exact recorded contracts

* Mark queued edit test hook import as type-only

* Isolate queued card tests from native inline composer imports

* Complete structured mobile resolution in queued edit test

* Align mobile attachment cleanup lifetime test with send outcomes

* fix: restore journal prototype delegation methods

* Keep uncertain sends as ordinary messages in memory

* Release notes admission after uncertain opening completes

* fix: end opening selection operations at uncertain completion

* fix: derive selection admission from live requests and repair integration tests

* test: consolidate send imports and use a supported locale

* Fix CI test types and synchronize retired delivery catalogs

* Type exported test fixture mocks through the public Vitest API

* test: align selection and journal verification contracts

* Reconcile acquired history before journal projection

* Preserve saved invocation facts during history catch-up

* Repair journal recovery consumers and CI contracts

* Keep failed legacy import displays serializable and bounded

* Preserve journal owner boundaries in CI import cleanup

* Fix typed test fixtures for session recovery contracts

* fix: align history and recovery contract types

* test: verify logical rewind across released chats

* Bound retained queue and status reads

* Bound Stop and delivery reads to relevant journal inputs

* Bound subscriber catch-up and stopped-history reads

* test: align journal read fixtures and operation counts

* Bound automatic chat reads to current input evidence

* fix: align journal reader contracts and test fixtures

* test: type historical dispatch rejection fixtures

* fix: restore merged session projection and fixture types

* fix: preserve resumed queues across logical fork rewind

* Preserve queue pause chronology across logical rewinds

Keep original Stop and Resume coordinates while retaining matching warm failure evidence in the journal owner. Keep historical fixture authoring separate from current production writes.

* End historical fixture authoring before current queue actions

* Keep answer operations separate from retained messages

* Fix resting chat attention context

* Fix attention regression fixture provenance

* Validate retained RPC test frame reads

* Fix retained attention and RPC contract fixtures

* Keep send observations on canonical delivery evidence
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T11:10:28.761484Z 974bb4a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kiwidream

Copy link
Copy Markdown
Author

Superseded by #86: this head is the mirror main and conflicts with swaplabs/main, so the resolution is on sync/upstream-20261104.

@kiwidream kiwidream closed this Nov 4, 2026
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.

9 participants