Repository navigation
Conversation
Assisted-by: Claude Code (model: Claude Opus 5, autonomous)
… junie Both agents register `/speckit-<name>` commands, and their own `build_command_invocation` returns that form, but Spec Kit showed users the dotted `/speckit.<name>` names in two places: - docker-agent was missing from `ALWAYS_SLASH_AGENTS`, so the `init` next-steps banner and extension hook invocations used dotted names (github#4137 fixed the same gap for alquimia). - The `init` banner special-cased cline and forge but not junie, which installs hyphenated commands the same way. Assisted-by: Claude Code (model: Claude Opus 5, autonomous)
This branch has not been deployed
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.
Description
docker-agent and junie both register hyphenated commands (
/speckit-<name>), and their ownbuild_command_invocationreturns that form. Spec Kit still showed their users the dotted names (/speckit.<name>), which those agents never register:.agents/skills/speckit-<name>/SKILL.md, the same layout as zed and muse, but it was missing fromALWAYS_SLASH_AGENTS. Sois_slash_skills_agent("docker-agent", ...)returned False. Thespecify initnext-steps banner listed/speckit.specify,/speckit.plan, and so on. Extension hooks rendered/speckit.git.commit. fix(alquimia): render/speckit-<name>invocations for the skills-only Alquimia agent #4137 fixed the same gap for alquimia by adding its key to the set. docker-agent has no non-skills mode, so it belongs with zed and muse inALWAYS_SLASH_AGENTS..junie/commands/speckit-<name>.md. Hook rendering already special-cases it, but theinitbanner only special-cased cline and forge. Sospecify init --integration junielisted/speckit.constitution,/speckit.plan, and so on.A check over all registered integrations found no other mismatch between the banner, the hook rendering and
build_command_invocation. Each change follows the existing pattern; the invocation-style mechanism itself is unchanged.Testing
test_is_slash_skills_agentandtest_hook_invocation_renders_the_hyphenated_formintest_integration_docker_agent.py, modelled on the alquimia tests. Onmain:assert False is Trueandassert '/speckit.git.commit' == '/speckit-git-commit'.test_init_next_steps_show_hyphenated_commandsintest_integration_junie.py. Onmainthe banner contains/speckit.plan, not/speckit-plan.tests/integrations,tests/test_extensions.py,tests/specify_cli/integrationsandtests/specify_cli/extensions: 4597 passed, 5 skipped.specify init <dir> --integration <docker-agent|junie> --ignore-agent-tools --non-interactivenow prints/speckit-plan(was/speckit.plan) for both. docker-agent'sbefore_planhook now prints/speckit-git-commit.Equivalent local checks: tests ran with
.venv/bin/python -m pytestand the CLI with the venv'sspecify, on macOS.AI Disclosure
AI disclosure: This contribution was produced by Claude Code running autonomously on behalf of @Chaoqi31. An audit agent (Claude Fable 5.1, max reasoning effort) found the docker-agent gap and wrote a failing reproduction. The orchestrating agent (Claude Opus 5) found the junie banner case. A fix agent (Claude Opus 5, xhigh effort) wrote the fix and tests. A separate review agent checked the branch, and the orchestrating agent wrote the commits and this description. AI generated the code, tests and text. No human reviewed the diff line by line before submission.