Repository navigation
Conversation
… and doctor hint match Entire-Checkpoint: f2846fbe256d
Entire-Checkpoint: a2f082fef698
4 tasks done
4 tasks
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
copyDircalledwriteFileon an existingscripts/devsymlink, which follows links: the link stayed and its target (npx cache or a sibling dev checkout) was overwritten. It now unlinks symlinks first; in thescripts/devcopy branch regular files are kept unlessforce.previewScriptsSymlinkTargetsreportsold → (copy)in copy mode;doctornames the fix that changes the link.Acceptance criteria
--force(replaces a foreign symlink)npm install sequant --save-dev && sequant syncwithout a local install,sequant syncwith one; no--forcesync --dry-runlistsold → (copy)(copy mode preview+ real-fs preview test)npm run build && npm testleft to the runner per the runner-context comment; build and lint pass locally, the three named test files pass (176/176)Mutation-verified: AC-1 — removed the symlink unlink in
copyDir; src/lib/templates.test.ts > templates > scripts/dev symlink target routing (#990) > copy mode over existing scripts/dev entries (#1053) > replaces a foreign symlink failed; restored.Mutation-verified: AC-3 — copy-mode preview returned no entries; src/lib/templates.test.ts > templates > scripts/dev symlink target routing (#990) > copy mode over existing scripts/dev entries (#1053) > previewScriptsSymlinkTargets reports old → (copy) for a foreign link and nothing for a regular file failed; restored.
Notes for the owner
git -C ../sequant statusfor ad-motion and matcha-maps.run: sequant syncfor the no-local case; it now asserts the new hint.Closes #1053
🤖 Generated with Claude Code
Runner verification (guard-2026-09 wave 1, 2026-09-20)
016c348e): the doctor fixture creatednode_modules/sequant/...withmkdirSync recursiveand removed the whole tree inafterEach, which would delete a pre-existing or npm-linked install; it now creates and removes only when none exists.doctor.test.ts65/65.copyDirunlink applies to every template tree, doctor duplicates part of the resolver predicate, the fix(sync): never rewrite a user-owned AGENTS.md or write a machine-specific scripts/dev symlink (absorbs #991) #990 assertion was loosened to match the new hint.npm testfrom a clean shell on this branch: 322 files, 6557 passed, 1 expected fail, 3 skipped, 405 s. Trial merge with test(#1106): register writeFile sites individually in the ownership gate #1117 (sharedtemplates.test.ts): clean.