Repository navigation
Add Shift+Enter to insert newline in terminal - #3
Merged
Merged
Conversation
Intercept Shift+Enter and send Ctrl+V + LF (\x16\x0a) to the PTY, which triggers quoted-insert in both bash (readline) and zsh (zle) to insert a literal newline without executing the command. Co-Authored-By: Claude Opus 4.6 <[email protected]>
nwparker
force-pushed
the
feat/shift-enter-newline
branch
from
March 20, 2026 00:37
cf63fe6 to
352e7ba
Compare
10 tasks done
This was referenced May 3, 2026
brennanb2025
added a commit
that referenced
this pull request
May 11, 2026
Instantiates the relay-side hook server in `relay.ts` and forwards every
parsed payload to Orca via `dispatcher.notify('agent.hook', envelope)`. Adds:
- An env-augmenter mechanism on `PtyHandler` so every relay-spawned PTY gets
ORCA_AGENT_HOOK_PORT/TOKEN/ENV/VERSION/ENDPOINT in its env. Server-side
injection avoids ferrying the relay's bearer token across the SSH wire and
keeps the relay the sole source of truth for the live coords (see
docs/design/agent-status-over-ssh.md §3).
- An exit-listener hook on `PtyHandler` so the hook server can evict a
paneKey's cached entry when the backing PTY ends — symmetric with Orca's
local clearPaneState on PTY teardown, prevents ghost replay events.
- Request handler for `agent_hook.requestReplay` — issues replay
notifications BEFORE returning the response so Orca observes every cached
entry strictly before the request resolves.
- Stub handler for `agent_hook.installPlugins` (real impl in commit #7).
- `hookServer.stop()` in shutdown().
Adds an integration test that POSTs a Claude UserPromptSubmit to the relay's
loopback hook server, asserts it reaches Orca's `agentHookServer.ingestRemote`
through the in-memory mux pipe with the right shape and a stamped
connectionId, and round-trips the request-driven replay.
See docs/design/agent-status-over-ssh.md §8 (commit #3, #4).
Co-authored-by: Orca <[email protected]>
brennanb2025
added a commit
that referenced
this pull request
May 14, 2026
Instantiates the relay-side hook server in `relay.ts` and forwards every
parsed payload to Orca via `dispatcher.notify('agent.hook', envelope)`. Adds:
- An env-augmenter mechanism on `PtyHandler` so every relay-spawned PTY gets
ORCA_AGENT_HOOK_PORT/TOKEN/ENV/VERSION/ENDPOINT in its env. Server-side
injection avoids ferrying the relay's bearer token across the SSH wire and
keeps the relay the sole source of truth for the live coords (see
docs/design/agent-status-over-ssh.md §3).
- An exit-listener hook on `PtyHandler` so the hook server can evict a
paneKey's cached entry when the backing PTY ends — symmetric with Orca's
local clearPaneState on PTY teardown, prevents ghost replay events.
- Request handler for `agent_hook.requestReplay` — issues replay
notifications BEFORE returning the response so Orca observes every cached
entry strictly before the request resolves.
- Stub handler for `agent_hook.installPlugins` (real impl in commit #7).
- `hookServer.stop()` in shutdown().
Adds an integration test that POSTs a Claude UserPromptSubmit to the relay's
loopback hook server, asserts it reaches Orca's `agentHookServer.ingestRemote`
through the in-memory mux pipe with the right shape and a stamped
connectionId, and round-trips the request-driven replay.
See docs/design/agent-status-over-ssh.md §8 (commit #3, #4).
Co-authored-by: Orca <[email protected]>
1 of 3 tasks
thomaszdxsn
pushed a commit
to thomaszdxsn/orca
that referenced
this pull request
Jun 15, 2026
Add Shift+Enter to insert newline in terminal
LesleyMurfin
referenced
this pull request
in LesleyMurfin/orca
Jun 20, 2026
…e-runtime e2e Standalone unit test locking in that the runtimeHostIsNonWindows suppression does NOT fire for a win32 host runtime (local Windows-WSL project runtime keeps its shell menu), plus a Playwright e2e for the serve-runtime menu suppression. Per peer-review item #3. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Jinwoo-H
added a commit
that referenced
this pull request
Jun 29, 2026
Five native-chat improvements: - Per-leaf toggle eligibility (CodeRabbit #3 follow-up): a split pane can mix a supported agent (Claude/Codex) in one leaf with an unsupported one (Grok) in another. The header toggle now gates on the active leaf and the context-menu toggle on the menu's target leaf, each keyed by makePaneKey(tabId, leafId). A leaf's live agent is authoritative; tab-wide launch/title hints only fill in pre-hook so they can't enable the toggle on a sibling running an unsupported agent. Scoped + shallow-compared store selector avoids re-rendering on unrelated tabs' status ticks. - Backspace/Delete focuses the composer when the pane (not the field) is focused, mirroring the printable-typing redirect — focus only, no insert. - Composer textarea uses scrollbar-sleek so the overflow gutter stops showing the heavy native scrollbar once the draft exceeds max-height. - Cmd/Ctrl+V pastes a clipboard image as an attachment (TUI parity) even when the chat pane — not the textarea — holds focus, via a new pasteFromClipboard handle that tries image first then falls back to text. Routes the context-menu and app-menu paste through the same path. - Draft text now survives a TUI->GUI->TUI toggle: extracted useNativeChatDraft backs the draft by a module-level scope cache (same key as attachments). Co-authored-by: Orca <[email protected]>
AmethystLiang
added a commit
that referenced
this pull request
Jul 19, 2026
Applies the code-review findings for the reworked pairing UI: - Clear a displayed Relay QR on sign-out in both MobilePage and MobilePane (the rework dropped the wasSignedInRef watcher, leaving a stale Relay QR next to a "sign in required" prompt). Anywhere stays selected; the QR re-mints as local-only. [#1, #3] - Extract useMobilePairingConnectionMode so both panes resolve the saved preference identically instead of duplicating the state + resync effect. [#6] - Delete ~24 i18n keys the rework left unreferenced; sync locale catalogs to parity. [#4] - Give the connection-path radiogroup roving tabindex + arrow-key nav and document why it diverges from SettingsSegmentedControl. [#7] - Add MobilePane.test.tsx (previously untested safety logic) and a MobilePage saved-local-only restore test. [#2, #5] Verified: 22 targeted tests pass, typecheck + oxlint clean, localization catalog/coverage and max-lines ratchet green.
gaberudy
added a commit
to goldenhelix/vsagent
that referenced
this pull request
Jul 19, 2026
VSWarehouse packaging feedback stablyai#3 (their top UX gap): - `project setup-existing-folder` no longer requires --project: when omitted, the identity derived from the imported folder is used, making it an idempotent "open this folder" upsert (addRepo already dedupes by path+host). --kind is auto-detected from the presence of .git when not passed. Applies to the runtime RPC, desktop IPC, and CLI paths. - vsagent-serve honors VSAGENT_OPEN_FOLDER=<path>[:<path>...]: once the server prints its ready URL, the launcher runs the CLI upsert for each folder in the background, so a container can pass the user-picked folder and it appears as a project in every paired browser. Verified live: booted with a git repo + plain folder, both auto-imported with correct kinds and derived identities; rerunning the upsert does not duplicate. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01EuXM3YjGg6Wot5X2C7YWMu
AmethystLiang
added a commit
that referenced
this pull request
Jul 19, 2026
* Restructure mobile pairing setup into a clear stepped layout * Rework mobile pairing UI: radio-style path selector with sign-in gate fo * fix(mobile): resolve mobile-pairing review findings Applies the code-review findings for the reworked pairing UI: - Clear a displayed Relay QR on sign-out in both MobilePage and MobilePane (the rework dropped the wasSignedInRef watcher, leaving a stale Relay QR next to a "sign in required" prompt). Anywhere stays selected; the QR re-mints as local-only. [#1, #3] - Extract useMobilePairingConnectionMode so both panes resolve the saved preference identically instead of duplicating the state + resync effect. [#6] - Delete ~24 i18n keys the rework left unreferenced; sync locale catalogs to parity. [#4] - Give the connection-path radiogroup roving tabindex + arrow-key nav and document why it diverges from SettingsSegmentedControl. [#7] - Add MobilePane.test.tsx (previously untested safety logic) and a MobilePage saved-local-only restore test. [#2, #5] Verified: 22 targeted tests pass, typecheck + oxlint clean, localization catalog/coverage and max-lines ratchet green. * fix(mobile): resolve adversarial-review findings for pairing UI Address accepted findings from the mobile pairing UI rework: - MobilePane: add a request-generation epoch so a late getPairingQR response can't paint a stale Relay QR after sign-out, a mode switch, or an address change; arm rotation when discarding a pending mint. - MobilePage: on sign-in, upgrade a signed-out local-only fallback QR to Relay (invalidate + rotate-regenerate); handle null->connected too. - Extract useMobilePairingQrInvalidation so both sign-in/out edges and cross-window preference syncs invalidate/re-mint the QR consistently. - MobilePane: clear + rotate the QR when the selected address changes (manual pick or refresh-driven) so it can't encode the old endpoint. - MobilePairingConnectionOptions: guard the Sign in CTA on configured; show an Unavailable panel on unconfigured builds instead of dead CTA. - Drop the duplicate sign-in helper from MobilePairingSetupSection. - Remove dead i18n keys (title, recommended, signInToGenerate) and add relayUnavailable across all locale catalogs. - Add tests: deferred sign-out/mode-switch races, sign-in upgrade, cross-window sync, unconfigured build, arrow-key radiogroup. TODO left for the relay-label-honesty finding: getPairingQR does not expose the actually-encoded mode when an automatic offer degrades to local-only, so the mismatch can't be surfaced without a new return field. * fix(mobile): resolve relay-pairing deep-review regressions - MobilePane: invalidatePairing now clears loading so a superseded mid-flight generate can't wedge Generate disabled forever - MobilePage: stop auto-minting a local-only QR under the Relay label when signed out with Anywhere; gate Step 2 auto-generate and the Generate button on a shared canMintMobilePairingOffer helper, align with Settings, clear QR + loading on sign-out, mint Relay on sign-in - qr-invalidation: clear pairQrDataUrl (and loading) on every invalidation path so a stale QR can't stay scannable during rotation - Strengthen MobilePane/MobilePage tests for the aligned behavior and stuck-loading coverage - Translate relayUnavailable in es/ja/ko/zh Co-authored-by: Orca <[email protected]> * fix(mobile): refuse to mint QR when signed-out with Anywhere selected Replace silent degradation of Anywhere mode to local-only QR with explicit refusal. Add canMintMobilePairingOffer guard across all mint paths (address change, network invalidation, connection mode switch). This ensures the UI honestly encodes the selected pairing path. Improve keyboard focus visibility on the path selector by adding a persistent focus ring. * fix(mobile): detect and flag Relay provisioning degradation When Relay provisioning fails during automatic (Anywhere) pairing offer creation, the offer silently degrades to local-only. This confuses users who selected Anywhere expecting cellular capability. Add connectionMode field to the pairing offer result to expose what the offer actually encodes. The UI now flags degradation when the offered mode mismatches the user's selection. Also move credential rotation logic to the main process: rotate when requested mode differs from the pending token's encoded mode. This ensures QR codes displayed under an old policy can't pair under a new one, and windows reminting after preference sync converge on one token. Rename MobileRelayBetaAvailability → MobileRelayBetaNotice. * test(mobile): verify pairing codes don't flash during Relay mint Assert that the pairing QR and URL remain hidden while the Relay mint is pending, preventing confusing intermediate states when signing in unlocks Relay. --------- Co-authored-by: Orca <[email protected]>
nwparker
added a commit
that referenced
this pull request
Jul 21, 2026
- Coordinator now propagates the rekey result: a collision/stale AFTER a successful on-disk rename triggers an inverse rename + throws, instead of reporting success with the source tab stranded at a vanished path (#1). - Cross-worktree: affected set spans all worktrees at the source path, sub-ops scoped per (worktree, owner), and the rekey partitions tab/group/tab-bar migration by each file's own worktree (was applied under one scope) (#2). - Diff tabs: single-file unstaged diff tabs are now retargeted on a directory move (rebuild the diff id + relative path) instead of stranding (#3). - Mirror close-notify moved to AFTER a successful rename so a failed rename can't desync the host by closing its authoritative tab (#4). Adds tests: collision->inverse-rename, diff-tab retarget. 6698 tests green. Co-authored-by: Orca <[email protected]>
nwparker
added a commit
that referenced
this pull request
Jul 22, 2026
) * fix(editor): don't flag editor-initiated moves as changed-on-disk An in-app move/rename (explorer drag-drop, inline rename, tab rename) re-homes the open tab to the new path and carries its unsaved draft forward. The move also physically relocates the file, which the worktree watcher reports as delete(old)+create(new) a few ms later. Because the tab already lives at the new path by then, that create echo was treated as an external write landing on a dirty tab and raised a spurious "changed on disk" banner. Add a short-lived self-move registry (the move analog of the existing self-write registry) stamped at the single remap choke point, and have the external-watch handler recognize the move's own watcher echo: suppress the changed-on-disk mark on the re-homed dirty tab and the tombstone on the source path. Genuine external edits are unaffected. Covered by unit tests for the registry, the remap recorder, and the watch-hook suppression (plus a no-over-suppression guard). Co-authored-by: Orca <[email protected]> * refactor(editor): harden move-echo suppression per adversarial review Addresses review findings on the self-move suppression: - Stamp the self-move at the call sites BEFORE the on-disk rename (recordSelfMoveForOpenTabs), not after the tab re-home, so the watcher echo can't win the race. This makes the source-side delete guard actually effective and removes a possible one-frame flash. - Suppress only the move's own create echo, not update events, so a genuine external write to the moved path within the TTL still raises the changed-on-disk banner (closes an over-suppression gap). - Track source/target roles independently per path so an immediate undo can't clobber the original move's still-in-flight stamp. - Raise the registry cap above realistic bulk-move sizes so a large directory move never self-evicts its own not-yet-echoed stamps. Updated + added tests: registry undo/role + cap, the new call-site helper (incl. directory move), and a real-update-still-marks case. Co-authored-by: Orca <[email protected]> * fix(editor): make move-echo suppression watcher- and TTL-robust Round-3 hardening after adversarial review: - Suppress the move's own watcher echo regardless of event kind. The main-process watcher coalesces a create+attr-change burst into a lone update, so a create-only gate let the echo through on some hosts and re-exposed the false banner. Suppression is now bounded by the self-move TTL; a genuine write to the exact path within that short window is the documented trade-off (draft is preserved regardless). - Bracket the on-disk rename with the self-move stamp via a single renameOpenTabsPathOnDisk wrapper: stamp before (to beat the watcher), re-stamp on success (a slow SSH/runtime rename can outlive the TTL, so the fresh window must start when the file actually moved), and clear on failure (a rename that never happened must not suppress real events). All move entry points (explorer move, inline/tab rename incl. undo/redo, untitled rename) route through it. - Treat a tab as remote for TTL purposes when it has a runtime owner OR an SSH worktree connection (an SSH tab can carry a null runtime owner). - Registry tracks source/target roles independently per path so an immediate undo can't clobber the original move's in-flight stamp; cap raised above realistic bulk-move sizes. Tests: registry role/clear/cap, the rename wrapper (success re-stamp + failure clear), the call-site helper (dir move + clear), and watch-hook coalescing-robust suppression + post-TTL surfacing. Co-authored-by: Orca <[email protected]> * fix(editor): refcount self-move roles so a failed move can't clear a live one Two concurrent moves onto the same destination both stamp that path as a target; if the second rename fails and clears, it must not erase the first (successful) move's still-live target stamp. Reference count each role's registrations and clear only the failed move's own contribution. Adds a regression test for the shared-destination case. Co-authored-by: Orca <[email protected]> * fix(editor): give self-move stamps per-registration expiries + retract tokens The refcount model used a single shared expiry scalar per role that only grew via max() and reset at refs=0, so releasing the max-contributing registration left survivors inheriting an over-extended window (and an expired registration could be resurrected by a later stamp on a key the opposite role kept resident). Both over-suppress genuine changes. Model each stamp as an independent registration carrying its own expiry (a list per role). recordSelfMove returns a ticket; clearSelfMove retracts exactly that registration. A role is live while any of its registrations is unexpired, so concurrent stamps, failed-move clears, and expiry are all precise. Wrapper/helper thread the tickets through. Adds regressions for the over-extension and resurrection cases. Co-authored-by: Orca <[email protected]> * test(editor): cover source-side self-move guard in the pre-remap ordering Adds the case where the watcher's delete(old) arrives while the tab is still at the old path (before remap re-homes it): with a live self-move source stamp the tombstone must be suppressed. Pairs with the existing naked-delete control (no stamp → deleted) to pin the guard's behavior. Co-authored-by: Orca <[email protected]> * docs(editor): document the failed-move suppression window as a bounded trade-off A self-move stamp is placed before the rename and retracted if it fails, so an event consumed during the pre-failure window is swallowed. Note that this only matters for the rare unrelated-dirty-tab-at-destination case and the recoverable missed-source-tombstone case, and that a move has no bytes to echo-verify the way self-writes do. Co-authored-by: Orca <[email protected]> * feat(editor): decide move echo vs external write by content identity Replaces the time-bounded self-move suppression heuristic with a correct-by-construction identity check, so a genuine external write to a just-moved path is never swallowed and the move's own echo is never a false conflict — regardless of watcher event-kind coalescing or timing. - Remap now carries the edit-session identity (lastKnownDiskSignature, externalMutation, pendingDiskBaselineVerification) onto the re-homed tab. Previously the close+reopen dropped it, so a moved tab lost its disk baseline (and any pre-existing changed-on-disk conflict silently vanished on move). - On a live self-move-target dirty event the watch hook now reads the destination and compares getDiskBaselineSignature(disk) to the tab's carried baseline: equal => move echo (suppress), differ/binary => genuine write (banner). Autosave is suspended synchronously before the read so a write landing mid-read can't be overwritten; a generation token makes overlapping reads safe. Fails CLOSED (marks changed) on a missing baseline or read error — never blind-suppresses. - The self-move registry now only scopes WHEN to verify. The source-side delete still can't be content-verified (nothing to read), so it stays a bounded, documented suppression. - Trim the verbose Why-comments across these files to 1-2 lines. Adds content-identity verification tests (echo/differ/no-baseline/read- error/binary/autosave-gate) and a remap test for the carried identity; splits the watch-hook suite to stay under the max-lines limit. Co-authored-by: Orca <[email protected]> * fix(editor): give live move-verification its own autosave gate The live self-move echo verification reused pendingDiskBaselineVerification as its autosave gate, but that field is also the always-mounted restored-tab conflict scanner's work queue: the scanner scans any pending dirty tab, launches its own read, and clears the flag without checking the live generation — so it could lift the gate mid-read and let autosave overwrite a genuine external write. Give live verification a dedicated pendingLiveDiskVerification field (both suspend autosave; each cleared only by its owner). Transient, not persisted, not carried across a re-home. Co-authored-by: Orca <[email protected]> * feat(editor): atomic rekeyOpenFilesForPathChange store action (move restructure stage 1) Foundation for treating an Orca-owned move as an in-place retarget of the open edit session (not close+reopen), per the locked design. One commit-only store update migrates every path-derived id + all id-keyed state (openFiles full-spread, the 6 file-id maps, activeFileId(+byWorktree), tabBarOrder, unified tabs/groups via the now editor-family-widened migrateHydratedEditorTabsAndGroups, pendingEditorReveal, untitled consume). Preflight fails closed on collision (never merges two live sessions) or stale with zero mutation. Not yet wired to a coordinator (stage 4). Stage 1 of 5; behind the shipped content-identity fix. Co-authored-by: Orca <[email protected]> * feat(editor): op-scoped in-flight move registry + source integration (stage 2) editor-path-move-inflight.ts tracks Orca-owned moves for the exact duration of the rename+rekey (no TTL): source paths suppress the delete tombstone, target paths latch a destination event seen before the rekey (never suppress). Wired into the watcher's delete filter alongside the old TTL registry (OR fallback) so suppression keeps working until the stage-4 coordinator drives every move through beginEditorPathMove. Stage 2 of 5. Co-authored-by: Orca <[email protected]> * feat(editor): move-echo provenance + autosave gate on OpenFile (stage 3 store) Adds pendingSelfMoveEcho {operationId,targetPath} to OpenFile and has the rekey action install it + pendingLiveDiskVerification on dirty autosave-capable destinations (moveOperationId arg), atomically in the same commit that re-homes the tab — so the verify gate survives the rekey and its op-id token supersedes a stale in-flight verification. Replaces the module-scoped generation map (which broke under rekey). Verification-reader wiring + coordinator follow. Co-authored-by: Orca <[email protected]> * refactor(editor): remap moves via atomic in-place rekey, not close+reopen (stage 4a) remapOpenEditorTabsForPathChange now builds an owner-aware rekey plan (plain-path id to the first owner, owner-qualified to the rest; previews resolve their source to the moved edit's new id) and applies it via rekeyOpenFilesForPathChange in one commit — preserving the full OpenFile + cursor/view/group/MRU state and closing the close/reopen watcher-race window. Passes moveOperationId through so dirty destinations get the content-verify gate. 4545 tests green. Co-authored-by: Orca <[email protected]> * feat(editor): move coordinator drives rename/drag/undo/redo/untitled (stage 4b) executeOpenEditorPathMove is the single transaction for every in-app move: quiesce affected saves -> op-scoped begin (per runtime owner) -> on-disk rename -> atomic in-place rekey (installs the content-verify gate/provenance) -> settle -> re-verify any destination echo latched before the rekey. On failure the store is untouched. Verification now triggers off the on-OpenFile provenance (consumed on resolve) and the watcher latches pre-rekey destination events. Wired into all five call sites; old renameOpenTabsPathOnDisk + separate remap removed from them. 2751 tests green. (TTL self-move registry now dead; removed next.) Co-authored-by: Orca <[email protected]> * refactor(editor): remove the dead TTL self-move registry (stage 4c) The coordinator + op-scoped in-flight suppression + on-OpenFile provenance fully replace the time-bounded self-move registry, so delete it and its two helper modules (record-self-move-for-open-tabs, rename-open-editor-tabs-path). The watcher source filter now uses only isActiveMoveSourcePath and the verification trigger only the tab's pendingSelfMoveEcho. Rewrote the self-move test suite onto the new primitives. 7225 tests green. Co-authored-by: Orca <[email protected]> * test(editor): end-to-end coordinator move test (stage 4 done) executeOpenEditorPathMove renames on disk, retargets the session in place with draft/dirty/baseline preserved + gate/provenance installed, settles the in-flight transaction; on rename failure the store is byte-identical and the transaction is released. Co-authored-by: Orca <[email protected]> * feat(editor): mirror-safe move — detach moved mirrored tab + close-notify host (stage 5) The atomic rekey changes a tab's id, so a moved mirrored tab would be culled by the host snapshot (losing its draft) or resurrect the old path. Ship the safe minimum: the rekey detaches a moved tab from the host mirror (mirroredFromRuntimeSession cleared) and the coordinator close-notifies the host's old-path tab (close intent suppresses re-mirroring). Prevents the data-loss/resurrection; the moved tab becomes companion-local. The full host-rekey path-change protocol (preserving mirror ownership) is a documented follow-up. Co-authored-by: Orca <[email protected]> * fix(editor): address review round 1 (4 majors) - Coordinator now propagates the rekey result: a collision/stale AFTER a successful on-disk rename triggers an inverse rename + throws, instead of reporting success with the source tab stranded at a vanished path (#1). - Cross-worktree: affected set spans all worktrees at the source path, sub-ops scoped per (worktree, owner), and the rekey partitions tab/group/tab-bar migration by each file's own worktree (was applied under one scope) (#2). - Diff tabs: single-file unstaged diff tabs are now retargeted on a directory move (rebuild the diff id + relative path) instead of stranding (#3). - Mirror close-notify moved to AFTER a successful rename so a failed rename can't desync the host by closing its authoritative tab (#4). Adds tests: collision->inverse-rename, diff-tab retarget. 6698 tests green. Co-authored-by: Orca <[email protected]> * fix(editor): review round 2 (mirror ordering, rollback error, diff sources) - Close the host mirror tab only AFTER the rekey commits (capture pre-rekey resolution first): a rekey collision after a successful rename no longer desyncs the host by closing its authoritative tab (high). - Surface a failed inverse rename instead of swallowing it: the thrown error now states the on-disk move may remain at the new path (high). - Restrict diff-tab retargeting to staged/unstaged (purely path-derived ids); branch/commit diffs carry compare metadata and combined 'Changes' is worktree-rooted, so rebuilding them from path would produce a wrong id (med). Co-authored-by: Orca <[email protected]> * fix(editor): resolve the move verify gate proactively (review round 3) The rekey gates every dirty moved tab pending a destination content check, but verification only ran when a watcher event arrived for that path. If the watcher was down, throttled, or the event coalesced away, the gate never cleared and autosave stayed suspended for the tab. The coordinator now drives verification for every tab it gated once the rename has committed, so the gate resolves on its own. That makes the destination-side event latch redundant, so the in-flight tracker is source-only again. Co-authored-by: Orca <[email protected]> * fix(editor): review round 4 (gate strand, cross-worktree verify path, leak) - Don't install the move-echo verify gate on a tab already showing the changed-on-disk banner: it's autosave-suspended via externalMutation and verification skips a 'changed' tab, so the gate would strand forever. - Content-verify reads each moved tab's own filePath. A cross-worktree/ floating tab's relativePath is relative to its own root ('../…') and must not be joined onto the initiating worktree path (would read the wrong file and raise a false conflict banner on unsaved work). - Coordinator settles the in-flight source suppression in a finally so a throw between rename and commit can't leak it, and only after the rollback rename so a late forward-rename delete stays suppressed. - Migrate pendingEditorReveal.fileId across the rekey (matcher prefers it). Co-authored-by: Orca <[email protected]> * fix(editor): don't consume move-echo provenance in the safety-net verify (round 5) The round-3 proactive post-commit verify ran resolveLiveMoveVerification, which consumed pendingSelfMoveEcho. On FSEvents/SSH the real destination watcher event reliably lands AFTER the fast local read, so it then found no provenance, took the immediate changed-on-disk mark (no baseline check when there is no recent self-write), and raised a false conflict banner on the just-moved dirty tab — the exact data-loss this change removes. The proactive verify is a safety net: it now releases the autosave gate but leaves the provenance, so a later destination event is still recognized as the move's own echo and content-verified. Only a real watcher event consumes the provenance. Keeping it is safe — every watcher consumer verifies by content, which is strictly safer than the immediate mark. Co-authored-by: Orca <[email protected]> * fix(editor): scope move rekey to the initiating execution host (round 6) Co-authored-by: Orca <[email protected]> * fix(editor): prefix-suppress the move root so late tabs under a dir move aren't flagged (round 8) Co-authored-by: Orca <[email protected]> * chore(editor): trim move-fix comments to the why; drop redundant rename quiesce Co-authored-by: Orca <[email protected]> * fix(editor): record mirrored-close intent synchronously to close the ghost-tab window Co-authored-by: Orca <[email protected]> * fix(editor): use flavor-aware path containment for move selection (Windows/UNC case) Co-authored-by: Orca <[email protected]> * fix(editor): reconstruct moved path by segment count (WSL alias / duplicate-separator safe) Co-authored-by: Orca <[email protected]> * fix(editor): infer moved-path flavor by syntax, preserving legal POSIX backslashes Co-authored-by: Orca <[email protected]> * test(editor): lock POSIX ancestor-backslash destination flavor Co-authored-by: Orca <[email protected]> * fix(editor): flavor-aware trailing-separator strip; preserve POSIX literal backslashes Co-authored-by: Orca <[email protected]> * fix(editor): flavor-aware separator folding in relative-path recompute (POSIX backslash) Co-authored-by: Orca <[email protected]> * perf(editor): keep the fs-watcher delete path O(deletes) when no move is in flight Co-authored-by: Orca <[email protected]> * docs(editor): tighten move-fix comments to one-line why-only Co-authored-by: Orca <[email protected]> --------- Co-authored-by: Orca <[email protected]>
AmethystLiang
added a commit
that referenced
this pull request
Jul 24, 2026
…rvability - move the SSH status==='connected' liveness gate and canonical host-id derivation into the shared buildFileMutationOwnership so web fails closed on a reconnecting connection the same way mobile does; reduce buildMobileFileMutationOwnership to a thin delegate (removes the undocumented override/divergence) [#1] - log a cause tag at every mobile fence rejection via runtimeChangedError() so a repeated 'Orca server changed' toast is diagnosable, mirroring the transport '[net]' convention [#2] - add tests for the post-create files.open failure, replacement-runtime reply, and transport-cutover-before-open branches [#3] - log ownership route mismatches in the server gate (assertRuntimeFileMutationExpectation), matching the file's other logged failure paths [#4] - add a web regression test for the non-connected SSH fail-closed path Co-authored-by: Orca <[email protected]>
Open
2 of 3 tasks
This was referenced Oct 22, 2026
Closed
9 tasks done
9 of 11 tasks
2 of 3 tasks
This was referenced Nov 17, 2026
Merged
This was referenced Nov 23, 2026
epocsohtets
added a commit
to epocsohtets/orca
that referenced
this pull request
Nov 29, 2026
…question waits in Needs me), so Home and the board agree; a past day reads as its date, a weekday only ahead; tile keys dropped (Riko stablyai#3 stablyai#10 stablyai#13, PoC) Co-Authored-By: Claude Opus 5.5 <[email protected]>
nwparker
added a commit
to NicholasTing/orca
that referenced
this pull request
Nov 29, 2026
…e share a name Check runs were keyed by suite and name, so two same-named runs in one suite shared one saved row. Every poll one of them carried a different run id than the saved row and read as a rerun, posting a new "CI green" line for the same head. Sort observed runs by run id and suffix repeated names (stablyai#2, stablyai#3) so each run keeps its own row and an unchanged read compares equal. Fixes stablyai#52700 Co-authored-by: Neil <[email protected]>
10 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
\x16\x0a(quoted-insert + LF) to the PTYCtrl+Vquoted-insert by defaultTest plan
🤖 Generated with Claude Code