Remove redundant named-environment session hook #530

Merged
nelsong6 merged 1 commit from codex/remove-environment-hook into main 2026-07-29 13:07:11 -07:00
nelsong6 commented 2026-07-29 13:01:13 -07:00 (Migrated from github.com)

Summary

  • remove the project SessionStart hook and its trust requirement
  • keep environment identity owned by the existing setup script and worktree-local environment record
  • direct agents to read the stable URL from .codex-session/environment.json with devctl as a diagnostic fallback
  • supersede ADR-0196 with ADR-0197

Testing

  • node --test bin/codex-auth-browser.test.mjs bin/codex-environment-name.test.mjs
  • Node syntax and PowerShell parser checks
  • git diff --check
## Summary - remove the project SessionStart hook and its trust requirement - keep environment identity owned by the existing setup script and worktree-local environment record - direct agents to read the stable URL from .codex-session/environment.json with devctl as a diagnostic fallback - supersede ADR-0196 with ADR-0197 ## Testing - node --test bin/codex-auth-browser.test.mjs bin/codex-environment-name.test.mjs - Node syntax and PowerShell parser checks - git diff --check
Sign in to join this conversation.
No description provided.