docs(spec): SPEC-007 linked (editable) sources - #70
Merged
Conversation
…for .agents artifacts Relative file: scheme (never absolute — sources.lock is git-tracked), reuses Override struct (add link field), symlink into live checkout, managed-clone mode scanned once via SPEC-005, detach = freeze link into vendored copy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🤖 AI Code Review CompleteReview performed on changed files. Check inline comments for specific findings. Severity Levels:
|
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.
Draft spec for issue #69 — an
npm link/go mod replacemode for.agents/artifacts.Core decision (per Nick): paths are relative
file:— never absolute — becausesources.lockis git-tracked and an absolute/Users/...path breaks on clone. Symlinks are created relative too.Design highlights
Overridestruct (addlinkfield, ⊕pin_sha); upstreamowner/repostays insourcesfor identity/re-pin.--link <path> <entry>(checkout you own) and bare--link <entry>(managed clone under.agents/.sources/, scanned once via SPEC-005).pull/updateskip the fetcher for links;indexfollows the symlink;detachfreezes a link into a vendored copy.This PR is spec only — no implementation. Review the design here; implementation lands in a follow-up PR against #69.
Closes: none (tracking issue #69 stays open through implementation)
🤖 Generated with Claude Code