This release includes 3 breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
Affected surfaces
ReleasePort's take
Light signalRelease v0.2.0 introduces a canonical session ID format and removes the PostToolUse hook for Claude Code during `rgt init`.
Why it matters: Update any scripts referencing Session IDs to use the `<origin>:<escaped-id>` format before first use, and adjust hook configurations that relied on `PostToolUse` for Claude Code.
Summary
AI summarySession IDs now follow a canonical format and rgt init no longer installs a PostToolUse hook for Claude Code.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Breaking | Medium |
Session IDs now use canonical format `<origin>:<escaped-id>`; legacy IDs adopted on first use Session IDs now use canonical format `<origin>:<escaped-id>`; legacy IDs adopted on first use Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Breaking | Medium |
`rgt init` no longer installs a `PostToolUse` hook for Claude Code; migrated to `UserPromptSubmit`, `PostToolBatch`, and `Stop` `rgt init` no longer installs a `PostToolUse` hook for Claude Code; migrated to `UserPromptSubmit`, `PostToolBatch`, and `Stop` Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Codex CLI hook support via `rgt init --agent codex` or `--agent both` configures Codex hooks automatically Codex CLI hook support via `rgt init --agent codex` or `--agent both` configures Codex hooks automatically Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Shared capture engine used by Claude Code and Codex adapters with unified `internal/capture` recorder Shared capture engine used by Claude Code and Codex adapters with unified `internal/capture` recorder Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Per-turn steps now capture all tool calls in a single conversation turn Per-turn steps now capture all tool calls in a single conversation turn Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Legacy session references are migrated transparently to canonical format on first use Legacy session references are migrated transparently to canonical format on first use Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Duplicate tool-use deliveries become no-ops; conflicting payloads error Duplicate tool-use deliveries become no-ops; conflicting payloads error Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Improved `rgt init` supports `--agent auto|claude|codex|both` and `--skip-skills` flags Improved `rgt init` supports `--agent auto|claude|codex|both` and `--skip-skills` flags Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Skills moved to `.agents/skills/` directory, shared across agent UIs via symlinks Skills moved to `.agents/skills/` directory, shared across agent UIs via symlinks Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Deprecation | Medium |
Removed `/rewind` skill (command not yet implemented) Removed `/rewind` skill (command not yet implemented) Source: llm_adapter@2026-05-21 Confidence: low |
— |
Full changelog
What's New
- Codex CLI hook support —
rgt init --agent codex(or--agent both) configures Codex hooks automatically - Shared capture engine — Claude Code and Codex adapters now use a unified
internal/capturerecorder - Per-turn steps with multiple causes — a single step now captures all tool calls in one conversation turn
- Legacy session adoption — existing pre-canonical session refs are migrated transparently
- Duplicate tool-use idempotency — identical repeated deliveries are no-ops; conflicting payloads error
- Improved init —
rgt initsupports--agent auto|claude|codex|bothand--skip-skills - Skills moved to
.agents/skills/— shared across agent UIs via symlinks
Breaking Changes
- Session IDs now use canonical format
<origin>:<escaped-id>(legacy IDs adopted on first use) rgt initno longer installs aPostToolUsehook for Claude Code (migrated toUserPromptSubmit+PostToolBatch+Stop)- Removed
/rewindskill (command not yet implemented)
Install
go install github.com/regent-vcs/regent/cmd/[email protected]
Notes
- Codex requires manual hook approval on first project use (open
/hooksin Codex) - Test coverage: 45.2% total, 71% on the new capture package
- All tests pass with
-race
Full Changelog: https://github.com/regent-vcs/re_gent/compare/v0.1.2...v0.2.0
Breaking Changes
- Session IDs now use canonical format ` : ` (legacy IDs adopted on first use)
- `rgt init` no longer installs a PostToolUse hook for Claude Code (migrated to UserPromptSubmit + PostToolBatch + Stop)
- Removed `/rewind` skill
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Git for AI Agents
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]