Skip to content

Tier 0 · M1 to M3: per-guard measurement and the Verifier completed #47

Description

@tonytonycoder11

CacheStats.guardRejectionsByGuard is a per-guard breakdown where every configured guard is a key, so a silent guard reads as 0. SemanticCache.explain(prompt, scope) is a read-only diagnostic returning each nearby candidate with every guard's verdict, and whether the threshold or a guard stood in the way. It moves no counter and never runs the Verifier.

Plus fail-closed Verifier semantics, so a verifier that throws or times out rejects rather than serving unconfirmed, and CachingVerifier, which memoizes verdicts per (query, cachedPrompt).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Shipped

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions