Repository navigation
setup and sync leave an existing config repository unchanged - #266
Conversation
|
Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 3 days and 1 hour by commenting |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Reviewer's GuideImplementationAvoid writing a new hold entry when its hold has already expired, and skip registry lookups for Pi packages unless Pi is detected.
Limit starter assets on existing config roots to the enabled memory layer, and leave an unchanged tackroom.yaml unrewritten.
DocumentationExplain that setup adds starter assets only to new config roots, while existing roots receive only missing files for an enabled memory tier.
Document when freshness holds are recorded and that Pi package lookups require Pi to be detected.
Document the setup behavior change, unchanged config formatting, and the new-root-only starter rule.
TestsRemove the test that expected setup to install memory hooks and the starter skill in an existing root containing only tackroom.yaml.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
What and why
tackroom setupand a firsttackroom syncchanged a config repository that already existed. On a fresh clone that left tracked files modified, so the nextgit pullcould stop.setupwrites them only into a config root that had notackroom.yaml. A role, skill orplugin.jsondeleted from the repository stays deleted. With a memory tier on, an existing config still gets missing files undermemory/.tackroom.yaml:setupno longer rewrites the file when its content is the same.tackroom.lock: a sync no longer records a freshness hold for a new entry when the hold had already expired at lookup time. Pi packages are looked up only where Pi is detected.Behaviour that changes for users, also in
docs/upgrading.md:tackroom.yamlno longer gets starter roles or the starter skill fromsetup.Deleted
TestSetupMemoryBasicUsesCustomRootCommands: it expectedsetupto create the starter skill in a root that held only atackroom.yaml.How I checked it
Built this branch and ran it on fresh clones of a real config repository, each in a throwaway home with a stub
claudeonPATH:tackroom setup --no-crongit statusemptytackroom sync --replace-conflictsgit statusemptytackroom setup --overlay cloud --no-crongit statusempty, overlay appliedA first-time
setupin an empty home still scaffolds the full starter set. A hold still in force is still recorded and still blocks.go test ./...andgo vet ./...passSummary by Sourcery
Keep existing config repositories unchanged during setup and initial sync unless required memory files are missing or an active package decision must be recorded.
Bug Fixes:
Enhancements:
Documentation: