Skip to content

Add trust_gate: pre-ingestion document verification (reliable input) - #178

Open
Sketchjar wants to merge 1 commit into
gomate-community:mainfrom
Sketchjar:add-stipple-source-gate
Open

Add trust_gate: pre-ingestion document verification (reliable input)#178
Sketchjar wants to merge 1 commit into
gomate-community:mainfrom
Sketchjar:add-stipple-source-gate

Conversation

@Sketchjar

Copy link
Copy Markdown

""" + body + """

Strengthens the 'reliable input' half of TrustRAG: before a document is
parsed and indexed, verify it with forensic authenticity signals
(tamper risk band + per-signal evidence) and AI-written-prose detection
via the Stipple API (free anonymous tier, no key).

- TrustGate: reusable gate with configurable band policy
  (should_index / gate one-shot); fails open when service is down
- verify_document: standalone function
- Wired nowhere by default — pure addition, opt-in per application

Live-verified: minimal PDF -> risk_band low + warrant id via
TrustGate().gate().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant