fix(runner): seed clean workspace task brief - #179
Conversation
|
Verified locally on Hermes 0.16.0 with the TencentDB-Agent-Memory plugin. We hit the same #176 symptom — L1 extractor returning empty content / EMPTY_DUMP on a 147-session cold start seed. Since this PR was still open, I applied the fix from this PR as a local patch to our plugin install (file changes: +27/-3 src + 59 lines test, matches this PR diff). After the patch, L1 extraction behavior changed completely:
The fix works. Recommend merging. |
3bca6ed to
0e0a844
Compare
|
Hi @Maxwell-Code07 — gentle ping on #179. You earlier confirmed the clean-workspace seed approach for #176 was the right fix ("seeding with AGENTS.md and SOUL.md is a practical fix that keeps the workspace low-context"). Since then, @ikelvingo reported independently verifying this patch locally on Hermes 0.16.0 with 92 L1 records and 0 empty-content records, and explicitly recommended merging. I rebased onto current |
YOMXXX
left a comment
There was a problem hiding this comment.
Approved as the canonical fix for #176.
Local verification:
COREPACK_ENABLE_AUTO_PIN=0 pnpm test(68/68 passed)COREPACK_ENABLE_AUTO_PIN=0 pnpm buildgit diff --check
This seeds the clean workspace with compact AGENTS.md/SOUL.md task briefs while preserving the explicit prompt path for L1 extraction and other text-only runner calls.
Signed-off-by: Ziyang Guo <121015044+RerankerGuo@users.noreply.github.com>
0e0a844 to
3729f15
Compare
|
Maintenance update: rebased onto current |
Description | 描述
Seed the default CleanContextRunner workspace with small AGENTS.md and SOUL.md task brief files so OpenClaw lightweight embedded runs no longer inject missing 76-byte stubs. The runner still passes the L1 extraction system prompt and user prompt explicitly, while the clean workspace remains low-context and stable for plugin cache behavior.
Related Issue | 关联 Issue
Fix #176
Change Type | 修改类型
Self-test Checklist | 自测清单
Additional Notes | 其他说明
Verified with
npm testandnpm run buildusing Node v24.15.0.