Skip to content

Git for AI Agents

v0.2.0 Breaking

This release includes 3 breaking changes for platform teams planning a safe upgrade.

Published 20d Version Control
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agent claude-code developer-tools devtools go version-control

Affected surfaces

auth breaking_upgrade

ReleasePort's take

Light signal
editorial:auto 13d

Release 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 summary

Session IDs now follow a canonical format and rgt init no longer installs a PostToolUse hook for Claude Code.

Changes in this release

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 supportrgt init --agent codex (or --agent both) configures Codex hooks automatically
  • Shared capture engine — Claude Code and Codex adapters now use a unified internal/capture recorder
  • 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 initrgt init supports --agent auto|claude|codex|both and --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 init no longer installs a PostToolUse hook for Claude Code (migrated to UserPromptSubmit + PostToolBatch + Stop)
  • Removed /rewind skill (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 /hooks in 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

Track Git for AI Agents

Get notified when new releases ship.

Sign up free

About Git for AI Agents

All releases →

Related context

Beta — feedback welcome: [email protected]