Skip to content

docs(openspec): proposal/spec/tasks for target-repo script distribution#667

Merged
NagyVikt merged 2 commits into
mainfrom
agent/claude/distribute-autofinish-watcher-stalled-re-2026-06-30-02-56
Jun 30, 2026
Merged

docs(openspec): proposal/spec/tasks for target-repo script distribution#667
NagyVikt merged 2 commits into
mainfrom
agent/claude/distribute-autofinish-watcher-stalled-re-2026-06-30-02-56

Conversation

@NagyVikt

Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

NagyVikt added 2 commits June 30, 2026 03:16
…epos

gx claude install bakes a SessionStart hook calling scripts/agent-stalled-report.sh
into a target repo's settings.json, but neither that shim nor the watcher it wraps
(scripts/agent-autofinish-watch.sh) was ever delivered — gx claude install only
copies .claude/hooks/*.py, and the two scripts were not in TEMPLATE_FILES. So target
repos got a hook pointing at a missing script.

Wire both via the PAIRED pattern (like agent-preflight.sh): move the real files to
templates/scripts/, symlink scripts/<file> back, register in TEMPLATE_FILES (so
gx setup copies them verbatim into a target's scripts/) and in
check-script-symlinks.sh. Verified end-to-end: gx setup --target now delivers both
as runnable executables; setup.test.js requiredFiles asserts their presence.
@NagyVikt NagyVikt merged commit 03c7551 into main Jun 30, 2026
@NagyVikt NagyVikt deleted the agent/claude/distribute-autofinish-watcher-stalled-re-2026-06-30-02-56 branch June 30, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant