From fe873b685ebcfc42e87ce2e65ad6cb5f28ca1a9f Mon Sep 17 00:00:00 2001 From: Olivier Date: Mon, 23 Nov 2026 16:59:50 -0600 Subject: [PATCH] 0.5.2: the script names its own version, so the plugin carries on while the hooks wait 0.5.1 changed words alone and left the script at 0.5.0. The script knows the hooks wait for a review by comparing the version they last ran under with its own, so on 0.5.1 a person who had reviewed 0.5.0 got neither the notice from the recall tool nor the watcher that keeps sending. 0.5.2 is 0.5.1 with the manifest and the script at one number, and nothing else changed. Co-Authored-By: Claude Fable 5.2 --- AGENTS.md | 5 +++++ plugins/past/.codex-plugin/plugin.json | 2 +- plugins/past/bin/past-hook.mjs | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2bb1346..146bace 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -235,6 +235,11 @@ activity files in `activity/codex/` and its hook stamp in `hosts/codex.json`. Th a screen, and says nothing in a run that has none. A release therefore costs every person on the plugin one review: put what is ready into one release, and say in its notes that Codex will ask. Rule 16 is what the plugin does meanwhile. +- **`VERSION` in the script is the manifest's version, in every release.** Rule 16 knows the hooks + wait by comparing it with the version they last ran under. 0.5.1 changed words alone and left + the script at 0.5.0, so a person who had reviewed 0.5.0 got neither the notice nor the watcher + while 0.5.1 waited for its review; 0.5.2 names itself. The `User-Agent` and the recall tool's + server name it too. - **The hooks file is written once.** An edited definition changes that hook's first hash, and a renamed plugin or marketplace, a moved hooks file and a reordered entry change the key: each asks for a review where no release did. So `hooks/hooks.json` holds the five events and a mode each, diff --git a/plugins/past/.codex-plugin/plugin.json b/plugins/past/.codex-plugin/plugin.json index 315ebd2..c94f952 100644 --- a/plugins/past/.codex-plugin/plugin.json +++ b/plugins/past/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "past", - "version": "0.5.1", + "version": "0.5.2", "description": "One memory for every teammate and every agent on a project. Your Codex sessions go in, and each prompt gets what was decided before, with dated sources.", "author": { "name": "past.dev", "url": "https://past.dev" }, "homepage": "https://github.com/pastdotdev/codex-plugin", diff --git a/plugins/past/bin/past-hook.mjs b/plugins/past/bin/past-hook.mjs index deba864..c0de174 100755 --- a/plugins/past/bin/past-hook.mjs +++ b/plugins/past/bin/past-hook.mjs @@ -45,7 +45,7 @@ const MIN_SITTING_KILOBYTES = 10; const COMPACTION_RESEND_MS = 60 * 60000; const DEFAULT_API_URL = 'https://api.past.dev'; const MARKER = '=== past ยท recalled from memory ==='; -const VERSION = '0.5.0'; +const VERSION = '0.5.2'; // ---------------------------------------------------------------------------------------- Codex