Repository navigation
fix(hub): an agent switched off loses devstack's skills, and no empty folder stays (ADR-0083) - #408
Merged
Merged
Conversation
… folder stays (ADR-0083) The hub refreshed a generated devstack skill in every agent's folder and never removed one, so switching Codex off left .agents/skills/devstack in place. It now takes a generated copy out of the folders of agents switched off (none switched on reads it, [agents] skills does not name it), and after removing any skill it removes the folders left empty, up to the working tree's root or the home. The hub's tests no longer reach this machine's registry of stacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Switching Codex, GitHub Copilot and OpenCode off on the Skills page cleared the pool's skills from
.agents/skills, but devstack's generated skills (devstack,devstack-config) stayed there and were refreshed every minute; and removing a skill left the emptied.agents/skillsand.agentsbehind.Review card
Approved by the owner in the conversation on 2026-11-02 (both points):
[agents] skillsdoes not name..agents/skillsand.agentsleft behind.Decided on my own
.claude/skillscounts as named by[agents] skillswhen the key names none (devstack skills installwrites there), so it is never cleared.SKILL.md+.gitignorein the folder (a project's extra file keeps it); the text is not held against the templates, the hub overwrote such copies before as well.local()against this machine's real registry of stacks (they would now delete generated skills in real repositories): the stacks are an injected field.ADR-0083 records what was built; ADR-0079 point 5 notes the amendment.
Tests
devstack-skills:the_hub_takes_a_copy_out_of_a_folder_switched_off,pruning_stops_at_a_folder_with_something_in_it_and_at_the_rootdevstack-hub:the_generated_skills_leave_the_folders_of_an_agent_switched_off;an_accepted_set_is_installed_into_the_agents_switched_onnow checks the emptied~/.agentsgoes and a folder with a user's skill stays.🤖 Generated with Claude Code