Repository navigation
0.5.0: the plugin carries on while Codex holds its hooks for a review, and a session's token counts travel beside it - #8
Merged
Conversation
…, and a session's token counts travel beside it Since Codex 0.164.0, Codex keeps your trust of a plugin's hooks against the plugin's files, so it sets the five hooks aside each time the plugin updates, until you review them again, and it installs an update by itself. Until then no hook ran: nothing was recalled and no session was sent, and a run with no screen said nothing about it. Codex still starts the plugin's recall tool, so the plugin now carries on from there while the hooks wait. `past_recall`'s answer and `$past:status` say that the hooks wait and where to review them. One watcher on the machine sends each thread once it has been quiet for its sitting length, so no sitting is sent twice; it leaves ignored folders and subagent threads alone, and records the connection a thread is typed under as a hook does. It runs only where the hooks ran before: hooks you never trusted send nothing. Recall before a prompt stays off until you review the hooks. Beside each sitting and each recall go the model's name, the token counts Codex recorded, how the model is paid for and whether Codex's own memory is on; none of it is part of what is rendered, so nothing already in past.dev is sent again. The sittings sent before the update get their counts once, with no text. `"modelUsage": false` sends none of it. hooks/hooks.json is untouched. Like every update, this one makes Codex ask you to review the hooks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Blapi
marked this pull request as ready for review
November 17, 2026 15:08
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.
What changes
While Codex holds the hooks for a review
Since Codex 0.164.0 (openai/codex#54619), Codex keeps your trust of a plugin's hooks against the plugin's files. So each update of this plugin sets its five hooks aside until you review them again, and Codex installs an update by itself. A terminal session asks ("5 hooks are new or changed"), the desktop app asks on the plugin's page, and a run with no screen says nothing. Until the review, earlier versions recalled nothing and sent nothing.
Codex still starts the plugin's recall tool, so from 0.5.0 the plugin carries on from there:
past_recall's answer says that the hooks wait and where to review them, so that Codex tells you.$past:statussays it on its Hooks line, with the day the hooks last ran.denyand a subagent's thread are left alone, and what was typed before connecting, or under another project's key, stays on the machine."ingest": falsein~/.past/config.jsonor disable the plugin.Beside a session, what it ran on
"modelUsage": falsein~/.past/config.jsonsends none of it.$past:cutand$past:statussay what travels.hooks/hooks.jsonis untouched. Like every update, this one makes Codex ask you to review the hooks once.Checked
By hand, in throwaway homes against a local stand-in for the Memory API, on Node 16 and 22:
$past:connectand a new prompt, only that prompt's sitting goes.$past:statusand goes at the next try.modifiedafter the update to 0.4.0, and again after 0.4.1 with no command run; with the hooks held, Codex started the plugin's server, the server the watcher, and a quiet thread reached the stand-in.cutprints the same bytes as 0.4.1 over real threads. The script parses on Node 14.Not run: a turn on a model. Nobody has watched Codex skip a held hook, or the model pass the notice on.
🤖 Generated with Claude Code