Repository navigation
Stop reporting a kept memory script on every sync - #291
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 1 day and 6 hours by commenting |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Reviewer's GuideImplementationStop retaining a modified legacy script in the starter manifest after reporting it, so later syncs leave it alone without reporting it again.
DocumentationClarify that any hook entry pointing to a memory script keeps the memory directory, and explain when sync removes or leaves legacy files.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
What and why
Two leftovers from the bundled memory removal, found in the pre-release test of the 3.0 line.
A kept script was reported forever. In a config from 2.8 whose memory hooks were deleted and one script edited, every
syncprintedstarter files: ... kept modified 1andkept (modified by you): memory/hooks/common.sh. tackroom no longer ships that file, so there is nothing left to track: sync now lists it once, drops it from.tackroom-starter.jsonand leaves the file alone.The docs said "while a hook runs a script". The code keeps
memory/while a hook entry points at a script there, enabled or not, which is the safe behaviour: a config that still names a script must not lose it. The code is unchanged;docs/memory.mdand the skill now say what it does, including that deleting the hook entries only lets sync remove untouched scripts before the first sync with this release. After that the files are the user's to delete.No leftover tells a user to run
tackroom memsearch: the only mentions are history lines in the Memory page and the release notes.Known and left as is: a config root with no
.tackroom-starter.jsonat all (from before 0.9.0, or with the manifest deleted) and edited legacy files still repeats the report, because no manifest is ever written there.The 3.0 release note for this comes with the docs PR that collects the notes for the pre-release fixes.
How I checked it
go build,go vet,go test ./...pass; lint reports 0 issues; the docs site builds 17 pages with no warnings.2.8.0
setup --no-cron --memory basicin a throwaway home, one script edited, hooks set to[], then three syncs with this branch: the first printsremoved 7 ... kept modified 1, the second and third print no starter lines. The edited file has the same checksum before and after, and the manifest is{"version": 1, "files": {}}.With both hooks at
enabled: false, sync printsmemory/ in ~/.agents is yours nowand all scripts stay.go test ./...andgo vet ./...passI can explain this change without an AI tool
Summary by Sourcery
Stop recurring reports for legacy memory scripts and clarify their migration and retention behavior.
Bug Fixes:
Enhancements:
Documentation: