You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(v0.10.0)!: PostToolUse asyncRewake — zero-latency happy path, wake on backlog
Adopt the undocumented Claude Code 2.1.x asyncRewake hook field
(verified in 2.1.160's Zod schema: asyncRewake + rewakeMessage +
rewakeSummary). PostToolUse hook now runs entirely in background;
model never blocks on `task-journal ingest-hook` on success path.
When pending/ grows past PENDING_OVERFLOW_THRESHOLD (25), the hook
exits 2 — Claude Code interprets as "wake model with system reminder".
User sees rewakeSummary "Task Journal backlog forming" plus hook
stdout pointing at `task-journal pending-gc --days 0`. Classifier-
behind state surfaces before queue grows to hundreds.
Wake-signal gated on TJ_ASYNC_REWAKE=1 env var, set ONLY by the
PostToolUse hook command in hooks.json. CLI invocations + sync
PreCompact/Stop hooks never exit 2 even on overflow — exit 2 from
a sync hook would BLOCK the operation in Claude Code's contract.
Closes tj-857 (X1) under tj-h7d (v0.10.x epic). Plan tj-813 (X2),
tj-x3t (X3), tj-aym (X4) tracked separately.
Migration: `task-journal install-hooks --uninstall && task-journal
install-hooks` to pick up new hook contract. Claude Code 2.1.x+
required for asyncRewake recognition (older versions silently fall
back to synchronous behavior).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plugin/.claude-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "task-journal",
3
-
"version": "0.9.4",
3
+
"version": "0.10.0",
4
4
"description": "Append-only journal of AI-coding task reasoning chains: hypotheses, decisions, rejections, evidence. Renders compact resume packs so an agent can pick up a 2-week-old task with full context.",
Copy file name to clipboardExpand all lines: plugin/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "task-journal",
3
-
"version": "0.9.4",
3
+
"version": "0.10.0",
4
4
"description": "Append-only journal of AI-coding task reasoning chains. Captures hypotheses, decisions, rejections, evidence — renders compact resume packs so an agent can pick up a 2-week-old task with full context.",
0 commit comments