๐ release: 0.6.0, with P-17 agent sessions fail closed
Merged
AT
1mo ago+2+2+0123456789-2-2-0123456789
Slice: #45
Minor release 0.6.0, done the way 0.4.0 was. It ships P-17 (#61):
envlock in settings: a client's.claude/settings.jsonholds the lock inenv, so a session whose hooks never ran reaches GitHub as nobody. A cloud session's SessionStart hook unsets it.- New
guardcommand: a PreToolUse hook runsprocess-rules guard, which refusesghand git's remote commands unless session-start recorded the agent identity for that session. - Launcher:
machinewrites~/.config/process-rules/bin/process-rules, so the hooks need no node on their PATH, anddoctorchecks that it runs. - Failures reach the session: session-start's failures reach the session inside the STOP line.
- Verify step retries: onboard's Verified check asks GitHub again after a transient failure.
- In-place upgrade:
onboardupgrades older hook entries where they stand.
This bumps package.json to 0.6.0 and points the README's install line at the 0.6.0 package. Once this merges, the tag v0.6.0 on main runs the Release workflow.
After the release:
- On each Mac: install 0.6.0, then run
process-rules machine <agent>to write the launcher.doctorfails until it exists. - In each client: run
onboardagain to upgrade.claude/settings.json. - In this repository: a follow-up moves the workflow pin to v0.6.0 and
.claude/settings.jsonto the new hooks. The hooks must wait for the release, because the 0.5.0 CLI has noguardand would refuse everyghandgitcommand.
๐ค Generated with Claude Code