docs: note that Codex runs the opt-in session hook - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #18. Follow-up to #19.
What changed
#19 said Codex has no plugin hook runtime. That is wrong for Codex 0.157.1. Codex runs
hooks/hooks.jsonfrom the installed pstack plugin and records trust for it underhooks.state."pstack@open-pstack:hooks/hooks.json:session_start:0:0"in~/.codex/config.toml. Twenty Codex sessions from 2026-09-27 onward contain the old<EXTREMELY_IMPORTANT>poteto-mode mandate as a developer message, so Codex was auto-firing pstack too.The opt-in gate from #19 therefore applies to Codex with no extra AGENTS.md block. This PR corrects the README table row, the
docs/reference.mdtree comment and Codex bullet, and the unreleased CHANGES entry. The bullet also tells Codex users to runcodex plugin marketplace upgrade open-pstackafter an update. The 0.9.5 changelog entry stays as written because it was accurate then.No plugin code or skill content changes.
Verification
Local gate:
bun run test198 pass, 0 fail.bun run typecheckclean.PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.shall ok.claude plugin validate plugins/pstackpassed.Codex install:
codex plugin marketplace upgrade open-pstack(codex-cli 0.157.1) refreshed the snapshot to7a8d534. The installed~/.codex/plugins/cache/open-pstack/pstack/1.4.1/hooks/matches main byte for byte, and~/.codex/config.tomlis unchanged, including hook trust state.Live evidence:
Pending. A fresh Codex session should show the
<pstack-opt-in>developer message, no pstack skill read for an unrelated small fix, and apoteto-moderead when the request names pstack.A pull request without live evidence remains a draft. Do not merge, tag, release, or roll it out.