Status: Alpha — Work in Progress
IETF Draft: draft-wang-hjs-judgment-event-00
Rust implementation of JEP: A Judgment Event Protocol for cross-platform AI accountability attribution.
JEP provides minimal, portable, cryptographically verifiable proof of who is responsible for AI decisions. This crate implements the core protocol:
- 4 Primitives: Judge, Delegate, Terminate, Verify
- Portable Receipts: Self-contained verification credentials
- 3 Verification Modes: platform, open, dual
- IETF Standards: UUIDv7 (RFC 9562), JCS (RFC 8785)
# Build
cargo build --release
# Run CLI
cargo run --bin hjs -- --help
# Create a Judge event (placeholder)
cargo run --bin jep -- judge \
--actor "did:example:ai-agent-1" \
--decision-hash "sha256:abc123..." \
--authority "https://policy.example.com/v1" \
--from 1712345678 \
--until 1714937678| Draft Section | Feature | Status |
|---|---|---|
| 6.1 | Event Model | 🚧 In Progress |
| 6.2 | Common Fields | 🚧 In Progress |
| 6.3 | State Machine | 🚧 In Progress |
| 6.4 | Data Format (JCS) | 🚧 In Progress |
| 6.5 | Receipt Format | 🚧 In Progress |
| 7.2 | HTTP API | ❌ Out of scope (see jep-api) |
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ jep-cli │────▶│ jep-core │◀────│ jep-wasm │
│ (CLI tool) │ │ (this crate)│ │(JS bindings)│
└─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ jep-api │
│(SaaS service)│
│ (optional) │
└─────────────┘
- jep-api — Production SaaS implementation
- jep-spec — Protocol specification and IETF draft
- jep-sdk-py — Python SDK
- jep-sdk-js — JavaScript SDK
Apache-2.0 — See LICENSE