Skip to content

docs(s08): clarify tool result budget and bounded retrieval - #607

Open
EvolGAB711 wants to merge 1 commit into
shareAI-lab:mainfrom
EvolGAB711:docs/s08-tool-result-budget-clarification
Open

EvolGAB711 wants to merge 1 commit into
shareAI-lab:mainfrom
EvolGAB711:docs/s08-tool-result-budget-clarification

Conversation

@EvolGAB711

Copy link
Copy Markdown

Closes #605.

What changed

Clarify in the s08 English, Chinese, and Japanese READMEs that the 30,000-character threshold is conditional on the latest tool-result batch exceeding 200,000 characters. Explain when a result is saved, why its tail is absent from the replacement message, and how to retrieve a bounded excerpt without repeating the same large-result cycle. No chapter code or code blocks changed.

Verification

  • git diff --check passed.
  • Focused chapter README and s08 tests: 15 passed, 1 deselected on Windows.
  • The full targeted run had 15 passed and 1 existing Windows-specific failure: test_glob_double_star_matches_files_at_any_depth expects forward slashes, while Windows glob returns backslashes. This PR does not change that code.

AI assistance

Prepared with AI assistance. The explanation was checked against s08_context_compact/code.py.

@EvolGAB711
EvolGAB711 force-pushed the docs/s08-tool-result-budget-clarification branch from 4b8c16e to a6e3c0d Compare November 1, 2026 05:17

This branch has not been deployed

No deployments
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.

Questions: s08 tool result budget

1 participant