Skip to content

fix(s08): support recursive glob and conditional micro compact - #537

Open
0xJieREN wants to merge 1 commit into
shareAI-lab:mainfrom
0xJieREN:fix/s08-recursive-glob-conditional-micro-compact
Open

fix(s08): support recursive glob and conditional micro compact#537
0xJieREN wants to merge 1 commit into
shareAI-lab:mainfrom
0xJieREN:fix/s08-recursive-glob-conditional-micro-compact

Conversation

@0xJieREN

Copy link
Copy Markdown

Summary

  • enable recursive ** matching in the s08 glob tool
  • run micro_compact only when the context exceeds CONTEXT_CHAR_LIMIT
  • re-check the context size after micro compaction before invoking full history compaction
  • add regression coverage and synchronize the s08 trilingual docs, diagrams, and generated web content

Verification

  • uv run --with pytest --with anthropic --with python-dotenv --with pyyaml python -m pytest tests -q — 226 passed, 92 subtests passed
  • npm run build — production build completed successfully (118 static pages)
  • git diff --check

Closes #531

@0xJieREN
0xJieREN marked this pull request as ready for review August 20, 2026 08:44
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.

s08:run_glob 的 recursive 缺失和micro_compact 无条件执行导致左脚踩右脚陷入死循环

1 participant