feat(verifier): Kindling Verifier v1 — Phase 1 Implementation#1
Open
feat(verifier): Kindling Verifier v1 — Phase 1 Implementation#1
Conversation
added 2 commits
March 31, 2026 04:55
Kindling Verifier v1 foundation per spec v0.4: src/verifier/ - types.ts: Decision semantics (6 outcomes), drift categories, API types - detector.ts: Claim detection (Verbatim, Summarized patterns) - scorer.ts: Material drift detection (6 categories per rubric) - retriever.ts: Transcript storage and search (v1: in-memory) - index.ts: Main verifyCheck() and verifyStatus() functions tests/verifier/ - detector.test.ts: Claim detection tests - scorer.test.ts: Drift detection tests - corpus/README.md: Evaluation corpus structure v1 scope: Verbatim + Summarized only (Implicit is Phase 2) Schema doc: https://github.com/Kind-ling/docs/blob/main/verifier.md Full spec: P-U-C/pft-audit (private)
- Remove uuid dependency, use inline implementation - Fix undefined vs null type mismatches in scorer.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Kindling Verifier v1 foundation — forensic claim-checking for explicit self-referential statements.
Schema doc: https://github.com/Kind-ling/docs/blob/main/verifier.md
What's Included
src/verifier/
types.ts— Decision semantics (6 outcomes), drift categories, API typesdetector.ts— Claim detection (Verbatim, Summarized patterns)scorer.ts— Material drift detection (6 categories per rubric)retriever.ts— Transcript storage and search (v1: in-memory)index.ts—verifyCheck()andverifyStatus()functionstests/verifier/
detector.test.ts— Claim detection testsscorer.test.ts— Drift detection testscorpus/README.md— Evaluation corpus structurev1 Scope
Decision Semantics
Six outcomes: supported:exact, supported:paraphrase, unsupported:drift, unsupported:no_match, inconclusive:insufficient, inconclusive:conflict
Drift Categories
Per the material drift rubric: temporal_shift, confidence_shift, scope_shift, conditionality_removed, precision_added, actor_shift
Next Steps