G1 logo G1 Docketby G1163RT Security Labs v1.0.2

Cryptographic Data Attestation · Zero-DB-Call AI Gateway Prevalidator

Data attestation for your gateway and your AI.

Your AI gateway can inspect what passes through it — the conversation, and the data in or referenced by the request. What it isn't given is that data's record at the source: who owns it, how it's classified, whether this copy matches the attested bytes, or whether its approval has expired. G1 Docket inspects your storage, issues every file a signed, expiring record, and checks that record before any AI touches the data. No record, no service.

Open source · Apache-2.0Runs in your boundaryIn front of the gateway you already runpip install G1-Docket-SDK

39Fields in every attestation record, across seven groups
≤ 5.0 msPublished p99 hot-path budget for the Prevalidator check
0Database calls in the request path — the snapshot lives in memory
3Request formats spoken at the door — OpenAI, Anthropic, Gemini
Voiceover Walkthrough Hear the four parts explained, in order — inspector to door guard.
00:00
Read the transcript

Welcome to G1 Docket. The idea is simple: your data needs papers, not paperwork. Before any record, document, or file from your estate is allowed anywhere near a large language model, Docket's engine classifies it where it sits. It never moves your data. And issues it a signed, expiring attestation record.

The record carries 39 fields, arranged in seven groups, covering what the data is, how sensitive it is, where it came from, and what may be done with it.

Then Docket's prevalidator stands at the door, in front of your existing AI gateway, or directly in front of the model if you do not run a gateway, and checks the papers on every request, in order: Is there a record? Is the signature valid? Has it expired? Is every chunk covered? Does policy allow this use?

Papers in order, the request goes through. Expired record, denied. A restricted chunk, stripped, where policy allows. No papers at all, the whole request stops. Expired means expired.

Think of it as a virtual pod: vetted data separated from unvetted by proof, not by place. The separation of a dedicated AI pod, without the dedicated hardware, the isolated network, or the duplicated copy.

And think of Docket as the thermostat for your data: you set the limits once, and Docket holds them, consistently, on every request.

Rollout is deliberately boring: test one collection, stand the prevalidator in front of one gateway, and expand collection by collection.

And be clear about what Docket is not: it does not screen prompts, it does not move or copy your data, and it does not replace your gateway. It papers your data and checks the papers. Safer, because nothing unpapered ever reaches the model. Faster, because the check is a fingerprint and a signature, not another model call.

Docket is open source under the Apache license. There is no license fee, and it runs on infrastructure you already have. One line installs it: pip install g1-docket-sdk.

Keep your gateway, keep your model. Just make your data show its papers. That is G1 Docket.

01_public_release_notes.md PUBLIC ISSUED
PREVALIDATOR: PASS (ALLOW)

Canonical Locator: file://pc-dir/pc_demo_folder/01_public_release_notes.md

Ownership, Governance & Asset Identity Groups 1 & 2

Accountable Ownerpc-folder-owner@example.org
Data Stewardopen-data-steward@contoso.com
Organizational UnitEnterprise Data & AI Governance
JurisdictionGLOBAL
Attestation Record IDpod-rec-59d925b2d90e4005
Object Type & Envdocument • production

Classification & Sensitive Entity Findings Group 5

Classified TierPUBLIC
Confidence Score95.0% (0.9500)
Classifier Enginepresidio
Detected Entities✓ 0 Sensitive PII / PHI / PCI / Credential Entities Detected — Verified Clean (Public)

AI Handling & Zero-Trust Gate Policy Group 6

AI Eligibility Ruleallow
Minimum ClearancePUBLIC
Allowed Egress Classpublic_api
Allow RAG Indexing✓ Allowed (true)
Allow Model TrainingProhibited (false)
Redaction CategoriesNone

Cryptographic Integrity & RAG Chunk Digests Group 4

Attested SHA-2567bf146ea89a5e99c…b46d45b42
Observed Disk SHA-2567bf146ea89a5e99c…b46d45b42 (✓ Match)
Fingerprint Methodraw_bytes_sha256
Size & Row Count99 bytes
Verified Chunk Hashes6 canonical paragraph/row SHA-256 chunk digest(s)

Provenance, Discovery & OpenLineage Group 3

Attested By Enginepod-engine-v0.1
Source Systemapache-tika-local+presidio
Scanner Version0.1.0
Upstream LineagePrimary Source Object (0 upstream lineage dependencies)

Lifecycle, Validity & Ed25519 DSSE Signature Group 7

Lifecycle Statusissued — PASSED (ALLOW) — Hash & policy verified
Issued At (UTC)2026-10-29T23:56:18Z
Expires At & TTL2027-10-29T23:56:18Z (TTL: 365 days)
Previous Record IDpod-rec-0f35e095d35e44f1
DSSE Signing Key IDkeyid: 4aea47f14975f437 (Ed25519)

Registry

Signed · DSSE envelope · in-toto v1 attestation statement

Sample attestation record — demonstration data.

The Problem

The front door has a guard. The warehouse has none.

Everything your AI can reach sits in storage that was never given papers — and nothing checks papers at the moment of use.

01

No reliable label

Documents and records carry no owner, no sensitivity level, no expiry. The label that would say whose it is and how it must be handled simply isn't there.

02

The gateway sees the request, not the record

A gateway can inspect what passes through it. It still doesn't know what the data is at the source — who owns it, how it's classified, whether this copy matches the attested bytes, or whether its approval has expired. Docket checks the record before the gateway has to guess.

03

Labels that exist aren't enforced

Where labels do exist, they are unsigned, they never expire, and nothing checks them at the moment of use.

The Door Check

The data never moves. The proof does.

Every request that references data meets the Prevalidator before it meets your gateway. The guard doesn't re-read the document — it checks the record against the signed snapshot it already holds in memory: signature, fingerprint, expiry, clearance, egress. Pick a request below and run it through the door.

Request at the door

POST /v1/chat/completions · references file://pc-dir/pc_demo_folder/01_public_release_notes.md · requester clearance: PUBLIC · egress: public_api

  • ✓Record found — looked up in the in-memory signed snapshot, zero database calls
  • ✓Signature verified — DSSE envelope, Ed25519 key 4aea47f1…f437
  • ✓Fingerprint matches — observed bytes hash to the attested SHA-256
  • ✓Record in date — expiry checked against the tier TTL
  • ✓Clearance & egress — requester clearance and destination class against the handling rules
ALLOW

Five checks, one glance at the stamp — the document itself is never re-read.
Zero database calls in the request path. The verdict comes from the snapshot the guard already holds.
Published budget: p99 hot path ≤ 5.0 ms. Scanning happens in the background — the request never waits for it.

How It Works

Four parts. One stamp book.

An inspector, a passport office, a courier, and a door guard — each doing one job, in that order. Each part carries its own color; no part outranks the others.

1

The Engine

The Inspector

The Engine walks your storage in the background — file shares, cloud buckets, document libraries, databases. It fingerprints each item with a hash, where one changed letter changes the fingerprint. It reads the contents and detects categories of sensitive information — types and counts, never the values — then proposes a level. In the code it works through Apache Tika extraction and Microsoft Presidio classification, reads embedded Purview sensitivity labels, and also takes real-time ETL intake webhooks from dbt Cloud and Apache Airflow.

PublicInternalConfidentialRestricted
2

The Registry

The Passport Office

The Registry keeps every record — locator, owner, fingerprint, level, handling rules, expiry — as the authoritative catalog on PostgreSQL. Levels can be raised anytime. Lowering a level takes two people's sign-off. Restricted and low-confidence findings wait in a human-review queue, content-hash drift triggers re-classification, and any record can be revoked on the spot.

3

The Snapshot

The Courier

Records are packed into one compact signed file and delivered to the door: a short-TTL, DSSE-signed snapshot with monotonic sequence numbers and active, expired, and revoked tombstones. The guard carries a fresh signed copy of the whole stamp book in memory — and never phones the office mid-conversation.

4

The Prevalidator

The Door Guard

The Prevalidator sits in front of your existing gateway and checks the record for the data a request references. It speaks the standard OpenAI (/v1/chat/completions), Anthropic (/v1/messages), and Google Gemini request formats, including SSE streaming, evaluating records entirely from the in-memory snapshot — zero database calls in the request path. It gives one of three answers:

ALLOW

The record is valid, the requester has clearance, the destination is allowed. Papers in order — the request proceeds to your gateway.

STRIP

Go ahead without this piece — the sensitive part is removed and the rest flows.

DENY

One plain, identical refusal that reveals nothing about which rule fired, so probing can't map your data.

The Record

Seven things, or it doesn't travel.

Every attestation record carries 39 fields across the same seven mandatory groups. No exceptions, no partial papers.

1

Where it lives

The locator — the address of the data in your storage.

2

Who owns it

The accountable owner of the data.

3

Its fingerprint

A content hash of the item as inspected.

4

Its sensitivity level

Public, Internal, Confidential, or Restricted.

5

What was detected

What kinds of sensitive data were detected — types and counts, never values.

6

Handling rules

Who may use it, whether AI may use it, where it may travel.

7

An expiry date

Sensitive data expires fastest — 30 days for Restricted, 90 for Confidential, 180 for Internal, 365 for Public, by default.

Missing any one of them, the data gets no record — and no record means invisible to AI.

Why It's Safer

The default answer is “no.”

Default is “no”

Unstamped data is invisible to AI. Access is something data earns, not something it starts with.

Stamps can't be forged

Records are cryptographically signed in DSSE envelopes and can't be quietly altered — a changed file no longer matches its fingerprint.

Approval is never forever

Every record expires. The more sensitive the data, the sooner the record runs out.

Revocation is fast

Kill a record and the next snapshot — minutes later — enforces it everywhere.

Refusals leak nothing

Every “no” is identical, so a refusal never explains itself to someone probing.

Everything is written down

Every door decision is logged with its reason. After an incident, answer exactly what data went to which AI, under whose authority, and why it was allowed.

Why It's Faster

Check the stamp, not the suitcase.

Other tools re-read the whole document on every request. Docket reads it once, stamps it, and every later request is a glance at the stamp. The published budget for that glance: p99 hot path ≤ 5.0 ms, with zero database calls.

One honest note: if your gateway does no content checking at all today, G1 Docket adds one small lookup to each request. What it removes is every repeated full inspection downstream.

Governance

What happens at the door is on the record.

The governance subsystem runs downstream of the Prevalidator: the audit trail, the exceptions process, and the telemetry feed.

WORM LEDGER

An audit ledger that can't be edited

Every decision lands in a write-once ledger: triggers reject any UPDATE or DELETE, and each entry is SHA-256 hash-chained to the one before it, from the genesis block to the tip. A chain-walk verification re-checks the whole ledger and pinpoints any tampering.

FOUR-EYES TRIAGE

Two keys for every exception

Unattested data, forged envelopes, and policy denials are quarantined. Release takes two distinct authorized operators: a requester stages the override with a rationale, and a different approver co-signs an Ed25519 DSSE emergency admission ticket. One person can never let their own exception through.

OPERATOR ACCESS

Named operators, real roles

Consoles authenticate operators by name and role — admin, triage operator, security approver, read-only auditor — with PBKDF2 password derivation, TOTP two-factor for approvers, brute-force lockout, and enterprise SSO/OIDC through Entra ID, Okta, Google Workspace, or Ping. Every auth event is itself written to the WORM ledger.

SIEM forwarding, built in. Door decisions stream to seven pre-configured destinations — Splunk HEC, Elasticsearch / OpenSearch, Syslog CEF, OpenTelemetry, Datadog, Microsoft Sentinel, and AWS CloudWatch — with payloads scrubbed to hashes, rule IDs, and ticket identifiers, and a persistent buffer that retries when a destination is offline.

Rollout

No big-bang cutover.

Docket earns its place one area at a time, starting by watching rather than blocking.

1

Run the stack where your data lives

Standard containers, started with a single docker compose command. Your keys, your boundary — nothing phones home.

2

Point the Engine at your storage — read-only

The first walk only looks. It fingerprints, detects, and proposes levels; it changes nothing.

3

Start with the hot paths

Begin with the data your AI actually reads, not the whole estate at once.

4

Run in audit mode

Nothing is blocked. Unstamped requests are logged and jump the scan queue — your own traffic writes the priority list. The Audit Runway monitor tracks coverage, denial stability, and triage disposition until the exit criteria say you're ready.

5

Flip to enforce, one area at a time

When an area's papers are in order, its door starts checking them.

# Core profile: Engine, Registry, Snapshot Publisher, Postgres docker compose --profile core up -d --build # Demo profile: core + Prevalidator + local AI gateway + synthetic estate docker compose --profile demo up -d --build # Prevalidator only, beside an existing AI gateway docker compose --profile prevalidator up -d --build

The Stack

Five services, one boundary.

Each component runs as its own service inside your boundary, with its own API docs — plus a mock gateway used only for testing, listed last.

PortServiceRole
18080Registry ServiceAuthoritative PostgreSQL catalog of DSSE-signed in-toto attestation records and review queues.
18081Snapshot PublisherIssues short-TTL, monotonic DSSE snapshot contracts for zero-DB gate evaluation.
18082Prevalidator ProxyOpenAI / Anthropic / Gemini gateway proxy, continuous estate scanner, and unified operator dashboard.
18083Attestation Engine ServiceEnterprise crawler, Purview / Presidio classifier, and cloud / warehouse connector API.
18084HITL Governance & SIEM HubCryptographic WORM audit ledger, dual-key quarantine triage, and multi-target SIEM dispatcher.
14000LiteLLM Mock GatewayUpstream OpenAI / Anthropic model router and mock gateway for testing.

The Wedge

Keep your gateway.

G1 Docket doesn't replace your gateway — it stands in front of it and feeds it verified data. Docket screens and tags the data referenced in each request and speaks the standard OpenAI, Anthropic, and Gemini request formats. Any gateway that speaks those formats can sit behind it — including every gateway on the AI gateway landscape we track:

Kong Gateway Enterprise
Portkey (Palo Alto Prisma AIRS)
TrueFoundry AI Gateway
Netskope One AI Gateway
Solo.io agentgateway
LiteLLM
Vercel AI Gateway
Requesty
Eden AI
Sensedia
Zenlayer AI Gateway
Adastra AGate
Aptible AI Gateway (Opti9)
NewAPI (Yunqiao)
Headroom
OpenClaw (Waltsoft)
Mission AI Gateway
Chaos Gears Private AI Gateway
TTEC Digital AI Gateway
ADEO Imaging AI Data Protection Gateway
…and any other gateway that speaks the standard formats. If it takes OpenAI-, Anthropic-, or Gemini-shaped requests, Docket can stand in front of it.

For applications and agents, the G1-Docket-SDK wraps RAG chunks in canonical <pod:object> tags with RFC-009 Merkle chunk proofs, and ships adapters for the frameworks agents already run on:

MCP — DocketMCPServer / Interceptor LangChain LlamaIndex CrewAI AutoGen LangGraph Pinecone · Qdrant · Milvus · Chroma · Weaviate · PGVector Snowflake BigQuery

Current Release

v1.0.2 — the remediation release.

Checked against the repository at github.com/cgilbert61/G1-Docket. The current release closes out the 2026-11-21 independent assessment of v1.0.1 — all 15 verified findings across three tiers: the trust core, shipped-artifact correctness, and hardening & claims hygiene. The release notes report verification by 173 automated unit, integration, and conformance tests.

Run it, or just use the client

Host the full stack with Docker Compose (profiles above) or the Helm chart under deploy/helm/. Application developers who only need to talk to a running gateway install the client SDK alone:

pip install G1-Docket-SDK

The thermostat for your data

The principal sets the limits — tiers, TTLs, egress classes, clearance — and Docket holds them consistently, on every request, at the door. The SDK is client-side only: it queries attestation records and wraps RAG chunks; it does not run the server infrastructure. Licensed under Apache-2.0. Security reports: security@g1163rt.ai.

“Expired means expired.”

The stamp is the wall and the Prevalidator is the only door. Data earns its way to AI — it doesn't start there. No record, no service.

What It's Not

Four honest lines.

It does not replace your gateway.

It does not make the AI smarter.

It does not move your data anywhere.

It does not inspect values it doesn't need.The initial walk of a very large estate takes real time — it happens off to the side, in audit mode, while your AI keeps working.

The G1163RT Suite

Six Products, One Discipline

Five open-source modules under Apache 2.0 and one enterprise gateway — nothing acts, nothing is read, nothing changes, nothing is trusted, no grant lives, and no derivative travels without proof.

G1 Docket social card: Data attestation for your gateway and your AI. G1163RT Security Labs, featuring Bongo.