Repository navigation
Preserve task Notes moved across project boundaries - #363
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 5 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This was referenced Oct 22, 2026
This branch was successfully deployed
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.
Updating a saved task Note could overwrite it after a Finder move or containing-folder move into another project, because those moves can retain its revision. An initial caller-side scope check also reused the Notes watcher's stale location snapshot.
The Notes store now checks the associated Note's revision and current project against freshly loaded mutation state, then saves using that same state. A moved or edited Note is preserved; the task saves a replacement in its original project and updates its association. Same-project moves continue to update the associated Note.
For #280. This fixes moved/cross-project save behavior; read-only task-view reopening and the remaining acceptance criteria stay open.
Validation:
pnpm build,pnpm typecheck, andpnpm testpassed: 1,911 passes, 16 skips.No renderer change. Logs are retained outside disposable worktrees under
Codex/artifacts/modex-land-and-prune/cf7-*.Required-CI follow-up
The initial required run39525423522 passed build/unit checks but failed one unrelated full-log E2E (375 desktop passes, 3 skips). Its setup could click a live turn-label span after observing the sidebar's initial idle state; completion then folded the tool history and hid Show full log. The test now waits for the completed turn's actual button and asserts it expanded before opening the tool. No product behavior or log assertions were weakened.
The original timing-dependent test passed three local repetitions; the corrected two-test file passed three repetitions (6 checks). Independent review found no blockers. Fresh
pnpm build && pnpm testpassed: 1,911 passes and 16 skips across all suites. Required CI must run again on the new head. Logs and failure trace are retained outside the worktree in modex-land-and-prune/pr363-* artifacts.