Skip to content

fix(manage): preserve Codex SessionStart by injecting per-event hooks #11808

Description

@anthony-chaudhary

Parent: #11555 / #11616 context reduction dogfood. Live managed Codex Astra dispatch fails before model execution: manage_parity.go injects hooks={Stop,...}, and guardCodexSessionStartConfigCollision correctly refuses a whole-table hooks override. Outcome: retain Stop, PreCompact, PreToolUse, PostToolUse managed handlers while preserving guarded SessionStart and its trust state. Minimal scope cmd/fak/manage_parity.go and its existing test. Witness: run actual managed-hook installation through guard SessionStart collision validation and assert all four event handlers survive; then retry bounded live Codex dispatch. Do not weaken collision or trust guards. For operators running guarded Codex workers; enabling all-in-one workflow; next-best is a launch that fails before doing work. Captured private log referenced by _scratch/astra-context-continuation/dispatch-live.json; no private log contents to publish.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    class:devWork class: product/kernel dev leaf (the default day-to-day work)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions