Portable parsing and chunking are derived from zleap-sag 0.15.0,
Copyright Zleap Team, MIT License (see LICENSE).

SAG2 tokenization, expansion, JEV evidence payloads, multi-round retrieval and
local diversity ordering are derived from SAG-Benchmark, Copyright (c) 2026
Zleap AI, MIT License. The frozen upstream file hashes are recorded in
docs/reference-manifest.json in the development workspace.

The bundled o200k_base encoding and its construction parameters are derived
from OpenAI tiktoken 0.14.0 (https://github.com/openai/tiktoken).
Encoding source:
https://openaipublic.blob.core.windows.net/encodings/o200k_base.tiktoken
SHA256: 446a9538cb6c348e3516120d7c08b09f57c36495e2acfffe59a5bf8b0cfb1a2d

MIT License

Copyright (c) 2022 OpenAI, Shantanu Jain

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
