GroundGuard v0.2.2
GroundGuard v0.2.2 tightens correctness and multi-tenant behavior after the v0.2 extractor and policy expansion.
Highlights
- Repeated facts with the same key now match against the latest registered value, which prevents false contradictions after tool retries or refreshed data.
extract_output_claims(...)andLedger.coverage_report(...)now accept request-scoped extractors, so services can avoid process-global extractor mutations.Ledgerprotects its in-memory indexes with a re-entrant lock for safer parallel tool-call registration inside one session.- Matcher unit buckets are sorted and searched with
bisect, reducing same-unit candidate scans for larger ledgers. - Shadowed duplicate implementations were removed from the core extractor and unit normalization modules.
Install
python -m pip install "git+https://github.com/chasen2041maker/GroundGuard.git@v0.2.2"
groundguard-demo
groundguard-benchmark