Repository navigation
docs(auto-sync): stage patch targets in scratch cwd for offline check - #427
Merged
Merged
Conversation
- Stage MCP-fetched upstream files in the current scratch directory before git apply --check. - Refresh .auto-sync/digests.lock.json for the updated .auto-sync/instructions.md SHA-256 digest. Signed-off-by: thxCode <thxcode0824@gmail.com>
There was a problem hiding this comment.
Code Review
This pull request updates the auto-sync instructions to stage files in the current working directory instead of $TMPDIR when verifying patches, and updates the corresponding digest lock file. The reviewer noted that running git apply --check in a fresh, isolated directory will fail without a git repository, and suggested explicitly adding a git init step to the instructions.
Contributor
Author
Review Feedback Summary
|
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
Relates #426
PR #426 merged (
e7166b1) while its inline review round was in flight, so this follow-up PR lands the post-review adjustment as a standalone commit on top ofmain:mcp__github__get_file_contentsat their patch-relative paths in the current working directory (fresh per-callscratchcwd) rather than$TMPDIR, ensuringgit apply --check "$CANDIDATE_DIR/<patch-path>"resolves target paths directly..auto-sync/digests.lock.jsonvialoopwright digest sync --taskpack .auto-sync/taskpack.yaml --repo ..Verification
loopwright digest sync --taskpack .auto-sync/taskpack.yaml --repo . --check --jsonuv run bash .auto-sync/checks/validate_candidate.shuv run pytestuv run mkdocs build --strictuv run pre-commit run --all-files