forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Cherry-pick: compaction safeguards, prompt hooks, config fixes #823
Copy link
Copy link
Closed
Labels
cherry-pickCherry-pick from upstreamCherry-pick from upstream
Description
Summary
Compaction/prompt pipeline: require structured summary headings, align AGENTS.md template section names with post-compaction extraction, classify context_window_exceeded as overflow to trigger compaction, skip compaction API call for empty sessions, add summary quality audit retries, flush reply pipeline before compaction wait. Hooks: add prependSystemContext/appendSystemContext to before_prompt_build. Config: prevent RangeError in merged schema cache key, enforce prompt hook policy with runtime validation.
Upstream window: Batch 18 scan
Commits (9)
| Commit | Subject | Tier | Files |
|---|---|---|---|
df0f2e349 |
Compaction/Safeguard: require structured summary headings (openclaw#25555) | AUTO-PICK | — |
96021a2b1 |
fix: align AGENTS.md template section names with post-compaction extraction (#25 | AUTO-PARTIAL | — |
60a6d1111 |
fix(embedded): classify model_context_window_exceeded as context overflow, trigg | AUTO-PARTIAL | — |
6c0376145 |
fix(agents): skip compaction API call when session has no real messages (openclaw#36451) | AUTO-PARTIAL | — |
036c32971 |
Compaction/Safeguard: add summary quality audit retries (openclaw#25556) | AUTO-PARTIAL | — |
7a22b3fa0 |
feat(agents): flush reply pipeline before compaction wait (openclaw#35489) | AUTO-PARTIAL | — |
09c68f8f0 |
add prependSystemContext and appendSystemContext to before_prompt_build (fixes # | AUTO-PARTIAL | — |
a0b731e2c |
fix(config): prevent RangeError in merged schema cache key generation | AUTO-PICK | — |
688b72e15 |
plugins: enforce prompt hook policy with runtime validation (openclaw#36567) | AUTO-PICK | — |
Adaptation Notes
- 6 AUTO-PARTIAL — gutted files (pi-embedded-runner, pi-embedded-utils, memory, zh-CN docs) are FORK_DELETED. Alive parts touch compaction logic, hooks, config that exist in fork.
09c68f8f0(before_prompt_build hooks) is a feature addition — 9 alive files including hooks infrastructure- Compaction changes touch middleware-adjacent code — verify ChannelBridge integration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cherry-pickCherry-pick from upstreamCherry-pick from upstream