mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-21 10:22:18 +00:00
docs(compression): fix stale 'discarded' wording on in_place config flag
Review nit (yoniebans): the config.py comment still said compaction is 'lossy: the pre-compaction transcript is discarded, matching Claude Code / Codex' — leftover from the original destructive design. The shipped behavior is soft-archive: lossy for the LIVE context (what the model reloads), but the pre-compaction turns are kept on disk (active=0, compacted=1), searchable via session_search and recoverable. Comment now says so. Comment-only; no behavior change.
This commit is contained in:
parent
854d75723f
commit
69716a2e6f
1 changed files with 6 additions and 3 deletions
|
|
@ -1295,9 +1295,12 @@ DEFAULT_CONFIG = {
|
|||
# renumbering). Eliminates the session-rotation
|
||||
# bug cluster (#33618 /goal loss, #14238 lost
|
||||
# response, #33907 orphans, #45117 search gaps,
|
||||
# #42228 null cwd) — see #38763. Compaction is
|
||||
# lossy: the pre-compaction transcript is
|
||||
# discarded, matching Claude Code / Codex.
|
||||
# #42228 null cwd) — see #38763. Non-destructive:
|
||||
# the live context is compacted (lossy for what
|
||||
# the model reloads), but the pre-compaction
|
||||
# turns are soft-archived under the same id
|
||||
# (active=0, compacted=1) — still searchable via
|
||||
# session_search and recoverable, not deleted.
|
||||
# Default False during rollout; will flip on
|
||||
# after live validation.
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue