Skip to content

Latest commit

 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBL MASTER

Deterministic chip-processing runtime with cryptographic receipts, policy enforcement, and operational rollout controls.

What This Repo Contains

  • Rust workspace implementing the full gate pipeline: KNOCK -> WA -> CHECK -> TR -> WF
  • Unified receipt model with stage chain + signature verification
  • Durable commit boundary (SQLite): receipts + idempotency + outbox
  • Rich URL verification (shadow/strict)
  • Runtime self-attestation, metrics, manifests, and MCP proxy endpoints

Quick Start

cargo build --workspace
cargo test --workspace
cargo run -p ubl_gate

Gate default: http://localhost:4000

Primary Endpoints

  • POST /v1/chips
  • GET /v1/chips/:cid
  • GET /v1/chips/:cid/verify
  • GET /v1/receipts/:cid/trace
  • GET /v1/receipts/:cid/narrate
  • GET /v1/runtime/attestation
  • GET /metrics
  • GET /openapi.json
  • POST /mcp/rpc

Documentation Entry Point

Start here: docs/INDEX.md LLM/human canonical entrypoint: START-HERE.md

Key docs:

  • ARCHITECTURE.md (normative architecture)
  • TASKLIST.md (execution status)
  • START-HERE.md (declarative canonical guardrails)
  • docs/canon/CANON-REFERENCE.md (exhaustive canon reference)
  • ROLLOUT_P0_TO_P1.md (rollout sequence)
  • /openapi.json (OpenAPI 3.1 surface generated by gate runtime)
  • docs/reference/README.md (official reference sources and paths)
  • SECURITY.md (signature/verification model)
  • GOVERNANCE.md (documentation/process governance)
  • docs/ops/INCIDENT_RUNBOOK.md (operational response)

Development Notes

  • Prefer deterministic, canonical paths for CID/sign/verify (ubl_canon, NRF).
  • Treat docs as code: update relevant docs in the same PR as behavior changes.
  • Archive superseded strategy/checklist docs under docs/archive/ instead of deleting.

Security Notes

  • Production signature path is Ed25519 (receipt/runtime attestations).
  • PQ dual-sign (ML-DSA3) is feature-gated as a rollout stub (ubl_kms/pq_mldsa3): API/wire shape is present, and PQ signature currently returns None until backend integration is completed.

About

No description, website, or topics provided.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages