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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- `request_compaction` internal tool: agent-initiated context compaction on demand (ARC #4020).
Config: `[memory.compression.arc]`. Rate-limited to one compaction per turn via `CompactionState`.

- Context-Adaptive Memory (CAM) Phase 1 MVP (`zeph-common`, `zeph-llm`, `zeph-context`,
`zeph-agent-context`, `zeph-config`): three-level fidelity scoring for context messages
(Full/Compressed/Placeholder) with heuristic `FidelityScorer` (temporal decay, role importance,
keyword overlap, plan-tool relevance), proactive AgeMem regrade trigger in `maybe_compact()`,
Placeholder exclusion from hard compaction summarizer input, `[context.fidelity]` config section
with `enabled = false` default (no behavioral change when disabled). Closes #4547.

- `zeph-skills`: `promoter` module — pure-logic helpers for `AutoSkill A6` heuristic promotion:
`compute_batch_hash` (BLAKE3, order-independent), `build_promotion_prompt`, `parse_promotion_response`,
`PromotionRecommendation` enum (`BodyEnrichment`, `NewSkill`, `None`). No async/DB/LLM dependencies.
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions config/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,22 @@ autosave_assistant = true
# Maximum recent messages to include in the shutdown summary LLM prompt
# shutdown_summary_max_messages = 20

# ── Context-Adaptive Memory (CAM) fidelity scoring (#4547) ──────────────────
# Assigns Full / Compressed / Placeholder levels to historical messages to
# reduce token usage without hard compaction. Off by default for v0.21.
# [memory.fidelity]
# enabled = false
# w_semantic = 0.3
# w_temporal = 0.3
# w_importance = 0.2
# w_plan = 0.2
# full_threshold = 0.7
# compressed_threshold = 0.3
# compressed_max_tokens = 50
# regrade_threshold = 0.6
# min_query_length = 8
# max_scored_messages = 500

[memory.sessions]
# Maximum number of sessions returned by list operations (0 = unlimited)
max_history = 100
Expand Down
Loading
Loading