feat: make ephemeral accumulative instead of clearing on read#1
Merged
dnacenta merged 11 commits intodevelopmentfrom Feb 28, 2026
Merged
feat: make ephemeral accumulative instead of clearing on read#1dnacenta merged 11 commits intodevelopmentfrom
dnacenta merged 11 commits intodevelopmentfrom
Conversation
Replace single overview box with three ASCII diagrams: layer architecture, session lifecycle flow, and checkpoint pipeline.
Session end now requires one write (EPHEMERAL.md) instead of two. The CLI promotes EPHEMERAL into an archive log at the next session start via `recall-echo promote`, eliminating the redundant `checkpoint --trigger session-end` + manual fill-in step.
SessionEnd hook runs `recall-echo promote` on exit, archiving EPHEMERAL.md immediately instead of waiting for the next session. Session-start promote kept as a safety net. Refactored init.rs hook installation to handle both hooks in a single read/write. - init: merge_precompact_hook → merge_hooks (PreCompact + SessionEnd) - status: show both hook statuses on one line - protocol/install/README: updated lifecycle and docs
…on start Closes the last voluntary gap in the memory lifecycle. The new PreToolUse hook runs `recall-echo consume` automatically, reading EPHEMERAL.md into context via stdout and clearing the file. No more relying on the agent to "remember" to consume its own memory. - New `consume` subcommand with 5 tests - `init` now installs PreToolUse hook alongside PreCompact and SessionEnd - `status` reports on all three hooks - README updated with new lifecycle diagram and consume docs - Version bump: 0.4.0 → 0.5.0
…tocol template with v0.5 hooks The protocol template still referenced voluntary session-start promotion and npm/TypeScript build steps. Updated to reflect the mechanical PreToolUse consume flow and Rust toolchain. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
consume no longer clears EPHEMERAL.md after reading. sessions append throughout the day and the night reflection handles archival and reset via promote. prevents automated sessions from eating context before human conversations.
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.
Summary
consumeno longer clears EPHEMERAL.md after reading — sessions accumulate context throughout the daypromoteand resets for the next dayTest plan
cargo fmtandcargo clippyclean