Repository navigation
fix(init): name the agent files the first sync kept - #943
Merged
Merged
Conversation
init syncs agents quietly, and an agent file a tool already had under an agent's name was kept without a word: init said "Synced" while the tool went on loading its own file. A plain sync shows this only as a count. The quiet agent run now returns a line per tool that names the kept files and the command that replaces them, and init prints it with the skill warnings. In symlink mode what is kept is the whole agents folder, so the line says that instead. Closes #938
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
5 of 9 tasks
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.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
Closes #938
Summary
initsyncs agents quietly. An agent file a tool already had under an agent's name was kept without a word, soinitsaid "Synced" while the tool went on loading its own file.initnow prints one line per tool:claude: kept local agents: helper.md (sync agents --force replaces them). It lists up to five names.init.mdand its four translations gain one sentence.A plain
skillshare sync agentsis unchanged: it still shows a kept file as the count1 local.Checks
make checkin a devcontainer: exit 0.HOME:initprinted the line above;sync agents --forcethen replaced the file with a link.TestFirstSyncReportsAgentFileKeptInToolfails without the change.Not run: website build, UI tests, the Windows runbook.
Not covered:
--forcedoes not replace it. That behavior is older than this PR; the new line only makes it visible.cmd/, next to the one ininternal/sync.initruns no first sync, so nothing changes there.Checklist
make check) — for code changes