Repository navigation
docs(archdev-skill): refresh installed hooks from bootstrap; describe nudge hooks - #25
Merged
Merged
Conversation
… nudge hooks The CLI's repo monitor hooks no longer block at Stop: a PostToolUse hook nudges after watched tool calls and a UserPromptSubmit hook repeats unanswered nudges once (ArchAstro/firstlanding#14954). Installed commands now carry --spec N, the CLI's hook wiring version. - archdev and tasks bootstraps run `repo hook setup --refresh` after the CLI check, when the CLI supports it. Only harnesses that already have archdev hooks change; failures go to stderr and never block the skill. PowerShell relays stdout only, since 2>&1 under ErrorActionPreference=Stop throws on any stderr line. - map.md / monitor.md / SKILL.md describe the four hooks, --spec, refresh, and the PATH guard instead of start + stop hooks and the stop checkpoint. 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.
Review on ArchCode
Problem and author intent
Companion to ArchAstro/firstlanding#14954.
--spec N.This change lets the skills keep installed hooks current and updates the docs to match.
What changed
Bootstraps refresh hooks.
archdev/scripts/bootstrap.{sh,ps1}andtasks/scripts/bootstrap.{sh,ps1}runarchdev repo hook setup --refreshafter the CLI check.--refreshappears insetup --help, so older CLIs skip it.archdevearlier on PATH.2>&1underErrorActionPreference=Stopthrows on any stderr line.Docs.
archdev/references/map.md,archdev/references/monitor.mdandarchdev/SKILL.mdnow describe:--specand--refreshThese replace the "start + stop hooks" and stop-checkpoint wording.
Unchanged:
min_versionand every existing CLI capability check.Scope
Skill docs and bootstrap scripts only.
Risk
Low.
--refresh.pwshwas available.User impact
Loading either skill updates stale ArchDev hooks in place, for example from the blocking Stop hook to the nudge hooks, once the CLI release from #14954 is installed.
Testing
tasks/scripts/bootstrap.shwas run against a CLI built from #14954, with a tempHOMEholding an old unstamped Claude Stop hook:settings.jsonended with all four hooks at--spec 2bash -npasses on both bash scripts.🤖 Generated with Claude Code