Skip to content

fix(runner): seed clean workspace task brief - #246

Closed
YOMXXX wants to merge 1 commit into
TencentCloud:mainfrom
YOMXXX:fix/l1-extractor-task-brief
Closed

fix(runner): seed clean workspace task brief#246
YOMXXX wants to merge 1 commit into
TencentCloud:mainfrom
YOMXXX:fix/l1-extractor-task-brief

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 24, 2026

Copy link
Copy Markdown

Summary

  • seed the default CleanContextRunner workspace with compact AGENTS.md and SOUL.md task briefs so OpenClaw lightweight runs do not inject missing 76-byte stubs
  • preserve the explicit system prompt/user prompt path and disabled-tools behavior for L1 extraction and other text-only runner calls
  • add a regression test that clears the default clean workspace and verifies the brief files before the embedded agent receives the run

Verification

  • npm test
  • npm run build

Fixes #176
Related: #179

Signed-off-by: 李冠辰 <liguanchen@xiaomi.com>
@Maxwell-Code07

Copy link
Copy Markdown
Collaborator

Awesome work! 13 fixes in one batch covering Gateway hardening, embedding compatibility, Hermes memory injection, offload stability, and pipeline optimization — a very productive cleanup session 👏

We'll review and merge them one by one 🚀

@YOMXXX

YOMXXX commented Jul 9, 2026

Copy link
Copy Markdown
Author

Closing as duplicate/superseded by #179.

#179 fixes the same #176 clean-workspace task brief issue and has been locally verified/approved:

  • full Vitest suite passed
  • build passed
  • git diff --check passed

Keeping #179 as canonical avoids maintaining two equivalent task-brief seeding implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] l1-extractor 用 clean-workspace + 76 字节 stub context, LLM 返回空字符串

2 participants