Skip to content

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

Merged
Bill-Billion merged 3 commits into
shareAI-lab:mainfrom
0xJieREN:fix/s08-recursive-glob-conditional-micro-compact
Aug 24, 2026
Merged

fix(s08): support recursive glob and conditional micro compact#537
Bill-Billion merged 3 commits into
shareAI-lab:mainfrom
0xJieREN:fix/s08-recursive-glob-conditional-micro-compact

Conversation

@0xJieREN

Copy link
Copy Markdown
Contributor

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
@Bill-Billion

Copy link
Copy Markdown
Collaborator

Thanks for the focused fix. I pushed two follow-up commits to extend bounded recursive glob behavior across the relevant lessons and align s08/s15 compaction so it runs only under pressure while every shortened result remains recoverable; the full Python suite, web build, and real-model checks for **/*.py plus a persisted 60K tool result all pass.

@Bill-Billion
Bill-Billion merged commit d39ac1b into shareAI-lab:main Aug 24, 2026
3 of 5 checks passed
@0xJieREN
0xJieREN deleted the fix/s08-recursive-glob-conditional-micro-compact branch August 24, 2026 10:39
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 无条件执行导致左脚踩右脚陷入死循环

2 participants