Repository navigation
Describe repository hook setup as detecting harnesses; test that contract - #65
Merged
Merged
Conversation
…ract
Since firstlanding #17487 (CLI 0.50.1), `archdev setup` and `archdev repo
hook setup` configure only the coding agents they detect (user config
directory exists, or for repository setup the harness's directory is
already in the repo), plus ArchDev itself; `--harness <names>` selects
specific ones and `--all-harnesses` prepares every supported harness.
The skill still said repository setup prepares Claude Code, Codex, Grok,
Pi and ArchDev even before those tools are installed, and the bootstrap
scripts asserted all five files after plain `--local`. With the released
Rust CLI (v0.52.1) on a clean runner, Codex/Grok/Pi report `absent`, so
"Skill bootstrap with the released CLI" and its Windows twin fail on main.
- archdev/SKILL.md and references/map.md describe detection, `--harness`
and `--all-harnesses` (0.50.1+), and list the Gemini path.
- Plugin copies regenerated with tools/plugin-gen `npm run build`.
- scripts/test-skill-bootstrap-cli.{sh,ps1} test both commands the skill
names: plain `--local` installs only claude and archdev and reports
codex/grok/pi absent without creating their directories; `--local
--all-harnesses` writes all five files. HOME stays unchanged and no
.claude/settings.local.json appears.
- Both snapshots ignore .archdev/hooks/<hash>/queue/, which a background
worker drains on its own schedule (1 of 6 runs flaked on it).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Problem
"Skill bootstrap with the released CLI" and "Explicit placement with the released CLI (Windows)" fail on
main. The last green run was 2026-10-08, and #64 (shots skill) inherits the failure.This isn't a CLI bug. firstlanding #17487 (CLI 0.50.1) deliberately changed
archdev setupandrepo hook setupto configure only the agents they detect, plus ArchDev itself. Detection means the harness's user config directory exists or, for repository setup, its directory is already in the repo.--harness <names>selects specific agents, and--all-harnessesrestores the install-everything behavior. The TS and Rust CLIs behave the same (checked against tagarchdev-ts-final).The skill still told agents that repository setup "prepares Claude Code, Codex, Grok, Pi, and ArchDev, even before those tools are installed", and the bootstrap scripts asserted exactly that.
What changed
archdev/SKILL.md("Scoped hook installation and repair") andarchdev/references/map.mdnow describe the real behavior:--harness claude codexwhen the user picks tools.--all-harnesses(CLI 0.50.1+) to prepare every supported harness for teammates who use other tools..agents/hooks.jsonis listed.plugins/*/skills/archdev/were regenerated withtools/plugin-gennpm run build, with no hand edits.scripts/test-skill-bootstrap-cli.sh/.ps1test both commands the skill names:archdev --json repo hook setup --localinstallsclaudeandarchdev, reportscodex/grok/piasabsent, and creates no.codex,.grok,.pior.agentsdirectories.repo hook setup --local --all-harnesseswrites all five files..claude/settings.local.jsonappears..archdev/hooks/<hash>/queue/. A background worker drains queued hook events on its own schedule, and 1 of 6 runs of the original script failed a HOME byte-comparison on such a file.Testing
install.sh):test-skill-bootstrap-cli.shreproduces the CI failure.scripts/test-skill-bootstrap.shpasses.tools/plugin-gen:npm run check(124 files match),npm run typecheckandnpm test(62/62) pass..ps1was not run locally because PowerShell isn't available. Its new step follows the Windows CI log of run 38412532179 (claude installed; codex/grok/pi absent). This PR's Windows job is its first real run.Follow-ups
--all-harnessesdoesn't exist; the text marks it as 0.50.1+. Raisingmin_versionis a separate decision.🤖 Generated with Claude Code