Skip to content

mapper: make LLM context output adaptive - #574

Merged
wesleysimplicio merged 9 commits into
mainfrom
agent/adaptive-toon-02619
Aug 11, 2026
Merged

mapper: make LLM context output adaptive#574
wesleysimplicio merged 9 commits into
mainfrom
agent/adaptive-toon-02619

Conversation

@wesleysimplicio

Copy link
Copy Markdown
Owner

What changed

  • Enable the economical LLM-facing output path by default for orient and handoff.
  • Select JSON or TOON adaptively from the estimated token cost.
  • Preserve explicit --json, --for-llm toon, and SIMPLICIO_TOON=0 overrides.
  • Bump the synchronized package version to 0.26.19.

Validation

  • python scripts/check-version-sync.py
  • python -m compileall -q simplicio_mapper
  • python -m unittest discover -s tests/python -p 'test_orient.py'
  • python -m unittest tests.python.test_cli_toon_asolaria.ForLlmToonWiringTest
  • git diff --check

The adaptive default chooses JSON for small payloads and TOON when it materially reduces the context size.

@wesleysimplicio
wesleysimplicio merged commit 42c0d17 into main Aug 11, 2026
1 check failed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Simplicio - Mapper Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant