v13.10.1

tokio-rs/axumv13.10.1Jul 4, 2026by thedotmack

AI Summary

A patch release fixing a critical startup failure in the Codex SessionStart hook and context injection.

Key Highlights

  • Codex SessionStart hook no longer fails at startup.
  • Fallback output now matches Codex validator expectations.
  • Empty-string `additionalContext` is preserved.

New Features

  • Codex SessionStart hook startup failure fixed
  • Context injection payload corrected for Codex validator
  • Empty-string `additionalContext` preservation

Full Release Notes

## Fixes

- **Codex SessionStart hook no longer fails at startup.** When a hook errored before its handler ran (missing `session_id`, invalid `cwd`, or a missing transcript path), claude-mem fell back to a bare `{"continue":true}` regardless of which hook fired. Codex's strict `SessionStart` validator rejects that shape as "invalid session start JSON output," breaking context injection at Codex startup. The fallback now emits a valid `hookSpecificOutput: { hookEventName: "SessionStart", additionalContext: "" }` for the `context` hook, matching what Codex expects.
- Fixed a related gap where the Codex adapter silently dropped an explicit empty-string `additionalContext` from its output instead of preserving it, which could leave the SessionStart payload incomplete.

Closes #2947, #2972. Supersedes #2953 and #2948.