Repository navigation
Keep canonical read paths valid through directory changes - #237
Merged
Merged
Conversation
canvascoding
marked this pull request as ready for review
November 8, 2026 21:27
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.
After a successful move, a read can observe a regular canonical backlink file and then miss its exact directory entry during a concurrent file publication. The read-only guard interprets those contradictory filesystem observations as
WORKSPACE_PATH_ALIAS. A controlled real-filesystem rename/return reproduces the rejection with the exact original bytes intact. Refresh both filesystem observations once for read-only checks when they disagree. Stable case aliases and every observed symlink remain rejected; mutation checks retain their original single observation and no write is repeated.The Studio navigation test now waits for the existing visible header workspace ID before opening menus. The trace showed the initial
/api/workspacesresponse completing after the click, allowing the keyed Studio boundary to replace the open menu. All feature, permissions, cold-availability and disabled-Undo assertions remain.Validation completed:
test:alland in portable Native API/SDK CI, with retained evidence.Current-source production and Linux image builds pass. On that compiled image, all six original HTML move cases pass (desktop/iPhone, three runs each), both complete Studio cases pass, and installed SDK 0.1.2 passes actual REST/MCP, key lifecycle and two live Yjs editors. Zero retries, skips or flaky results. The SDK artifact is from the previous successful release-commit CI; all eight installed SDK runtime files match current source byte for byte. The original runtime, protected database rows, file bytes and anchors are restored and verified.
Pending: exact-head CI/review and final release-image acceptance.