Repository navigation
Conversation
scripts/install.py copies the pack into a clean project checkout with relative paths preserved, records file hashes and the pack version in .agent/pack.lock, and ignores runtime files. Rerunning from a newer pack replaces only unmodified files; local edits and pre-existing project files are kept with the new version written as *.pack-new. Locally deleted files stay deleted. Runner entry points are opt-in and remembered; --dry-run previews without writing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # .agent/commands/bootstrap.md
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.
Adoption used to mean copying files by hand, with no way to update them afterwards. As a result, existing adopters' copies have drifted. This PR adds
scripts/install.py(standard library only):SPEC.md,.agent/commands/, the config example,scripts/round.py,templates/and the example. The MIT notice goes to.agent/LICENSE. Relative paths are preserved, and.agent-runs/andHANDOFF.mdare added to.gitignore..agent/pack.lockrecords the pack version (fromgit describe), the selected runners and the SHA-256 of each installed file.*.pack-new.--dry-runwrites nothing.AGENTS.mdor.agent/config.toml; merging those stays withbootstrap.bootstrapnow point at the installer, and copying by hand is still supported.Validation:
--dry-runworks on a dirty checkout.python3 -m unittest discover -s testspasses (32 tests on this branch). This includes a check that all markdown links resolve inside an installed project.git diff --checkis clean.*.pack-new, not overwritten.Not included: release tags, a template repository, a plugin or a PyPI package. Those can wrap this same installer later. This PR is independent of #5; once #5 merges, its new files are picked up automatically through the glob patterns.
🤖 Generated with Claude Code