fix(framework): guarantee and report Claude agent copy on reload#375
Merged
Conversation
`claude plugin install` copies bundled agents into the installPath implicitly and printed claude:ok whether or not the copy happened, so a skipped copy silently dropped executor/checker with no signal. Force-sync every declared agent into the freshly installed version dir and print the count, mirroring the existing Codex agent net. A miss is now repaired and reported instead of vanishing silently. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6200126 to
5da2a3b
Compare
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.
Why
make reload(dev-sync.sh) runsclaude plugin install, which copies a plugin's bundled agents into the installedinstallPathimplicitly. The script printedclaude:okwhether or not that copy happened, so a skipped copy silently droppedexecutor/checkerwith zero signal — matching the reported "agents no longer copied on reload".What
Force-sync every declared agent into the freshly installed version dir and print the count, mirroring the existing Codex agent net:
claude:ok(+2 agents)— present and verifiedclaude:ok(+2 agents, repaired N)— install skipped N, script recovered themclaude:ok(agents:NO-INSTALLPATH)— hard failure, now visible instead of silentA miss is repaired and reported instead of vanishing.
Test
Agents confirmed at
cache/aidd-framework/aidd-dev/2.1.0/agents/{executor,checker}.md.Note
This branch also carries
196fbce Refine README positioning for AI-driven development, a pre-existing local commit onnext.🤖 Generated with Claude Code