Skip to content

hjs-spec/jep-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

JEP Core

License

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.

Overview

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)

Quick Start

# 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

Compliance

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)

Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   jep-cli   │────▶│  jep-core   │◀────│  jep-wasm   │
│  (CLI tool) │     │ (this crate)│     │(JS bindings)│
└─────────────┘     └─────────────┘     └─────────────┘
                            │
                            ▼
                    ┌─────────────┐
                    │  jep-api    │
                    │(SaaS service)│
                    │  (optional)  │
                    └─────────────┘

Related Repositories

License

Apache-2.0 — See LICENSE

About

Core implementation of JEP

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages