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
Read transcript JSONL on PreCompact, enqueue entries newer than the
active task's last event timestamp as pending v2 chunks, spawn the
classify-worker. Closes the gap between the final PostToolUse and the
compaction event, where chunks were previously lost.
Also fix plugin/hooks/hooks.json PostToolUse template — was passing
\$TOOL_OUTPUT (an env var Claude Code never sets), so the plugin
install path always fed the classifier empty text. Stdin parse is the
correct wiring, matching install-hooks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
// Forge a transcript JSONL with two entries strictly newer than any
2508
+
// timestamp `task-journal create` could have produced (year 2099) —
2509
+
// so the catch-up walk sees them as "post-last-event".
2510
+
let transcript = workdir.join("session.jsonl");
2511
+
let line_user = r#"{"type":"user","uuid":"u1","timestamp":"2099-01-01T00:00:00.000Z","sessionId":"s1","message":{"content":"I think the auth middleware drops the token at the refresh boundary"}}"#;
2512
+
let line_assistant = r#"{"type":"assistant","uuid":"a1","timestamp":"2099-01-01T00:00:05.000Z","sessionId":"s1","message":{"content":[{"type":"text","text":"Confirmed: src/auth/refresh.rs uses < instead of <= at the expiry comparison."}]}}"#;
let line_old = r#"{"type":"user","uuid":"u1","timestamp":"2000-01-01T00:00:00.000Z","sessionId":"s1","message":{"content":"ancient chatter that classifier already processed"}}"#;
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.7.0",
3
+
"version": "0.7.1",
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.",
0 commit comments