Repository navigation
Typecheck file access and watchers - #27582
Merged
Merged
Conversation
6 tasks done
nwparker
force-pushed
the
nwparker/runtime-file-ownership
branch
from
October 13, 2026 18:36
e8de580 to
99cd26d
Compare
nwparker
force-pushed
the
nwparker/runtime-file-ownership
branch
from
October 13, 2026 20:53
99cd26d to
71d1be5
Compare
nwparker
marked this pull request as ready for review
October 13, 2026 23:31
nwparker
force-pushed
the
nwparker/runtime-file-ownership
branch
from
October 14, 2026 01:37
71d1be5 to
d3eb4cf
Compare
nwparker
force-pushed
the
nwparker/runtime-browser-typed
branch
from
October 14, 2026 07:58
27cc7c3 to
c28489c
Compare
nwparker
force-pushed
the
nwparker/runtime-file-ownership
branch
from
October 14, 2026 07:58
d3eb4cf to
24da39e
Compare
Contributor
Author
|
Rebased again onto current main, which had moved 69 commits. #28240 added a |
nwparker
force-pushed
the
nwparker/runtime-browser-typed
branch
from
October 14, 2026 08:01
c28489c to
80521b5
Compare
nwparker
force-pushed
the
nwparker/runtime-file-ownership
branch
from
October 14, 2026 08:03
24da39e to
c0756f1
Compare
8 of 9 tasks
10 of 11 tasks
6 of 10 tasks
9 tasks done
5hseok
added a commit
to 5hseok/orca
that referenced
this pull request
Oct 15, 2026
Upstream split the runtime file commands into typed domain owners (stablyai#27582), so files.formatOnSave moves from the mechanically split class chain to its own RuntimeFileFormatting owner composed into RuntimeFileCommands, with its test alongside.
marinhooodev
added a commit
to marinhooodev/orca
that referenced
this pull request
Oct 16, 2026
…-image Port the existing-parent upload rule into the runtime file-mutations module that replaced the per-command runtime classes (stablyai#27582), and declare files.upload-existing-parent.v1 beside the other file-mutation capability in runtime-capability-constants. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
ELI5
Type errors now surface in file access and watchers. Users keep the same behavior.
What Changed
Removes 8 unchecked-file baseline entries. Replaces unchecked assumptions with types from the existing producers and installed services. Moves include
src/main/runtime/runtime-file-path-existence.ts→src/main/runtime/files/file-path-existence.ts,src/main/runtime/runtime-file-commands-read-file-explorer-preview.ts→src/main/runtime/files/file-reads.ts.Why
Keep contracts tied to the code that implements them, without a broad assertion on the runtime or a duplicate host model.
Linked Issue
N/A — maintainer restructuring.
Visual Proof
N/A — no visual or interaction change.
Testing
All 32 runtime stages passed the main/runtime typecheck. Four compiler projects and 2,029 affected tests under each runner passed (one existing skip); the packaging prerequisite leaves those TypeScript inputs unchanged.
The cumulative stack at
5c731f58passed the full five-shard unit run: 116,625 tests passed, with no unhandled errors. Actual macOS arm64 and Windows packages passed CLI checks; macOS also covered folder workspaces, measured terminal sizing and an older managed SSH peer, and Windows covered ConPTY cleanup and packaged/standalone host commands. The actual Linux AppImage passed the canonical Ubuntu 20.04 runtime-floor check.Separate full mobile verification also passed. The complete hosted run also passed: changed E2E, managed SSH (38 passed, two explicit skips), layout (21 passed) and terminal sizing (18 passed). In one matched CI pair, preflight took 179 seconds before and 192 seconds after; the slowest unit job took 620 and 613 seconds. The baseline’s unchanged 1ms-sensitive assertion passed one targeted retry. Queue and retry time remain separate; no overall speedup is claimed. Individual PR checks are tracked separately from this cumulative evidence.
Review
Merge 5/33, after
nwparker/runtime-browser-typed. Human review and merge only; no auto-merge.Agent skill upstream boundary
Notes
Execution-host ownership and mixed-peer behavior are preserved. Final validation includes Windows, SSH and folder workspaces.
Checklist