FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Tracking: Verified Completions - OpenAI-compatible endpoint with consistency checking · Issue #89 · inputlayer/inputlayer · GitHub

Tracking: Verified Completions - OpenAI-compatible endpoint with consistency checking #89

Description

What we are building

An OpenAI-compatible chat endpoint inside InputLayer. Clients change base_url and nothing else. On every request the gateway (a) forwards the conversation to Claude for the completion and (b) in parallel, turns the conversation into small factual claims inside a per-conversation knowledge graph, where a fixed rule pack finds contradictions. Findings come back attached to the normal response, each with the quoted sentences that clash and the proof tree that connects them.

Example: message 1 says "flying out of Geneva on August 14th", message 3 says "since we leave on the 12th". The response carries a finding that quotes both spans and shows the rule that fired. Not a second LLM opinion; a deterministic check with receipts.

Why this feature earns its place: the engine's incremental evaluation keeps per-turn checking at milliseconds no matter how long the conversation gets, correct retraction handles clients that edit history, and every finding is grounded in quoted text. It also dogfoods the whole engine (facts, rules, recursion, retraction, proof trees) and gives the repo a thirty-second demo.

Full design: docs/internals/verified-completions/docs/rfc-verified-completions.md (plus REVIEW-GUIDE.md and HANDOFF.md next to it).

Ground rules baked into the design

  • The LLM authors data only, never rules. Rules are human-written and frozen at load
  • Only claims marked as plainly stated (or plainly denied) can trigger findings. Hedges, questions, opinions, and conditionals are recorded but stay inert, so uncertain language never produces a false alarm
  • Every claim must carry a verbatim quote from the source message, or it is dropped
  • A correction ("actually, make that the 12th") retracts and replaces; it is not a contradiction
  • False alarms are the existential risk: a checker that cries wolf gets turned off. CI gates on the false-alarm rate

Work items in order

Open questions to settle along the way

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend/server relatedenhancementNew feature or requestverified-completionsVerified Completions: OpenAI-compatible endpoint with consistency checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL