Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Please choose versions by [Semantic Versioning](http://semver.org/).
* MINOR version when you add functionality in a backwards-compatible manner, and
* PATCH version when you make backwards-compatible bug fixes.

## Unreleased

- feat: post-compact re-anchors on conventions after re-arm β€” emits a one-line `πŸ“Œ Conventions: run /recall if you feel drifted` pointer (full doc re-read skipped; CLAUDE.md re-injects each turn), skipped when drift risk is low

## v0.114.7
- fix: sync-progress re-reads the daily note immediately before writing and merges β€” prevents a sibling session's concurrent write from being silently clobbered (lost entries never reach git history)

Expand Down
10 changes: 10 additions & 0 deletions commands/post-compact.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ Each check falls back to its `|| echo "..."` text when the tool is absent on the

The fresh post-compact context lost track of background watchers / monitors that were running before compaction. From the resume block's `Live background:` line and the carry-over `background` items, re-establish anything still alive β€” restart the Monitor / background watch / watcher so completion and failure signals reach this session again.

## Re-anchor on conventions (optional, one line)

Compaction restores *state* (carry-over items, watchers, next actions) but not *rule-awareness* β€” the summarized context is exactly the drift trigger `/recall` exists for. After the re-arm step, emit a single pointer line β€” never the full doc re-read (the harness already re-injects `CLAUDE.md` into context each turn, so a full recall mostly re-emphasizes rather than recovers):

```
πŸ“Œ Conventions: run /recall if you feel drifted β€” re-reads global + project CLAUDE.md.
```

Skip this step entirely when the session's drift risk is low (nothing touched git, worktrees, or repo conventions during the resumed task).

## Surface next actions

Print the concrete next steps, sourced from the verified items:
Expand Down
Loading