v2.42.0: POSIX init-session.sh portability + plugin-vs-skill install transparency + Topic Handoff docs
Merges two contributor PRs from @carterusedulm2-maker (2026-05-25) and adds v2.42 transparency documentation that surfaced from a deep audit of the v2.38.0 turn-loop integration on the same day.
What shipped
Fixed
- POSIX
init-session.shportability across the 8 mirrors (PR #169). The script's shebang is#!/usr/bin/env bash, buttests/test_init_session_slug.py:27invokes it viash, bypassing the shebang. On Ubuntu where/bin/shisdash, thewhile [[ $# -gt 0 ]]bashism was a syntax error. v2.42 swaps to POSIXwhile [ $# -gt 0 ]so the slug-mode test suite runs portably under both bash and dash.
Added
- Install-scope transparency block in canonical
SKILL.md(Turn-Loop Integration section). Documents that/plugin installships thecommands/folder with/plan-goaland/plan-loop, butnpx skills add(and ClawHub) install onlyskills/planning-with-files/and do not register the wrapper slash commands. The PreCompact hook is in the SKILL.md frontmatter and works for both routes. - Manual fallback procedure for
/plan-goaland/plan-loopinline in the canonicalSKILL.md. Lets the agent reproduce wrapper semantics by issuing Claude Code's native/goaland/loopprimitives directly. Also covers thedisable-model-invocationrefusal pattern from anthropics/claude-code #26251 and #41417 where some sessions decline to fire the wrapper even when the user types it.
Docs
- Topic Handoff Pattern documentation in
docs/quickstart.mdanddocs/workflow.md(PR #170). Optional convention for splitting unrelated topics across.planning/<slug>/directories or a manualhandoffs/<topic>.mddetail layer alongsideprogress.md. Documentation only; no shipped script readshandoffs/.
Verification
- 130 pass, 2 skip (Windows exec-bit, pre-existing baseline), 0 fail.
- Security audit completed 2026-05-25: semgrep 0 findings on 23 critical scripts, no preinstall/postinstall in any package.json, no remote fetches in shipped runtime code, SLUG_RE path-traversal defense parity confirmed across the 14 SKILL.md variants, attestation + delimiter framing intact.
- Web research basis: Anthropic skill docs at code.claude.com/docs/en/skills confirm prompt-based slash commands are the blessed pattern (matches bundled
/loop,/goal,/run,/verify,/debug).
Parity bump
Version bumped to 2.42.0 across 17 parity-locked files via scripts/bump-version.py. .continue, .gemini, .pi, .kiro lag intentionally per AGENTS.md release scope.
Thanks
@carterusedulm2-maker for PR #169 and PR #170, both filed on 2026-05-25, first contributions to the repo.