๐Ÿ”– release: 0.6.0, with P-17 agent sessions fail closed

Merged
AT
1mo ago
+2-2

Slice: #45

Minor release 0.6.0, done the way 0.4.0 was. It ships P-17 (#61):

  • env lock in settings: a client's .claude/settings.json holds the lock in env, so a session whose hooks never ran reaches GitHub as nobody. A cloud session's SessionStart hook unsets it.
  • New guard command: a PreToolUse hook runs process-rules guard, which refuses gh and git's remote commands unless session-start recorded the agent identity for that session.
  • Launcher: machine writes ~/.config/process-rules/bin/process-rules, so the hooks need no node on their PATH, and doctor checks 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: onboard upgrades 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. doctor fails until it exists.
  • In each client: run onboard again to upgrade .claude/settings.json.
  • In this repository: a follow-up moves the workflow pin to v0.6.0 and .claude/settings.json to the new hooks. The hooks must wait for the release, because the 0.5.0 CLI has no guard and would refuse every gh and git command.

๐Ÿค– Generated with Claude Code