Repository navigation
feat(core): enforce prior read before Edit / WriteFile mutates a file #3774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9b0bdf8
feat(core): enforce prior read before Edit / WriteFile mutates a file
wenshao 3c78a1f
test(core): clear shared fileReadCache between write-file.test.ts cases
wenshao 3b79cfc
fix(core): close prior-read enforcement gaps flagged in 3rd review
wenshao 303b6b7
refactor(core): close 4 prior-read enforcement gaps from 4th review
wenshao d6ffe80
refactor(core): close 4 prior-read enforcement gaps from 4th review (…
wenshao 248d179
refactor(core): tighten StructuredToolError naming + add scheduler test
wenshao 323e080
fix(core): close TOCTOU + grammar + directory regressions in PR-B
wenshao f4ef756
fix(core): close fileExists TOCTOU on WriteFile prior-read enforcement
wenshao a9ec1a8
fix(core): close 4 enforcement gaps + 1 critical bug from 5th Copilot…
wenshao fa9344c
fix(core): close new-file race + special-file enforcement loop
wenshao 9df900a
fix(core): close 4 enforcement gaps from 6th Copilot review
wenshao 4482dd5
Merge remote-tracking branch 'origin/main' into feat/edit-write-prior…
wenshao b053ae3
docs(core): clarify stat→write race + EDIT_REQUIRES_PRIOR_READ scope
wenshao 40b7a11
Merge remote-tracking branch 'origin/main' into feat/edit-write-prior…
wenshao 9726c87
chore(core): minor follow-ups from review #4229917446
wenshao de8ddf5
fix(core): close 2 correctness gaps from maintainer review #4232751470
wenshao 72a1d67
fix(core): close 3 correctness gaps from re-review #4233904930
wenshao 70f7223
docs(core): clarify partial subagent isolation per review #4234090906
wenshao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.