Skip to content

pohi-protocol/pohi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ” Proof of Human Intent (PoHI)

AI executes. Humans authorize. Machines verify.

Demo npm CI codecov ePrint License GitHub

Try the Live Demo - Verify your humanity with World ID

English | ζ—₯本θͺž


🎯 What is PoHI?

Proof of Human Intent is a protocol that creates cryptographically verifiable proof that a real human approved critical software actions.

β€œWho approved this?” β€œThe AI did.” This protocol ends that conversation.

World ID (ZK Proof) Γ— Git Signing Γ— Transparency Log
= Verifiable Human Approval

πŸ”₯ Why Now?

2024: GitHub Copilot writes code
2025: AI Agents create PRs autonomously  
2026: AI Agents deploy to production     ← We're heading here

Question: Can you PROVE a human approved it?

The Problem

Traditional AI Era
Human writes code AI writes code
Human reviews AI reviews
Human merges ???

Humans are shifting from "implementers" to "approvers."

But there's no way to cryptographically verify that a humanβ€”not an AIβ€”actually approved an action.


πŸ’‘ How It Works

PoHI answers three questions:

Question Technology Proof
Who? PoP Providers Unique human verification
What? Git + DID Specific commit approved
When? SCITT Log Immutable timestamp

Supported PoP Providers

Provider Verification Type Sybil Resistance Status
World ID ZK proof (Orb/Device) High βœ… Tested
Gitcoin Passport Web3 identity score Medium βœ… Tested
BrightID Social graph verification Medium βœ… Implemented
Civic Gateway Pass Medium βœ… Implemented
Proof of Humanity Kleros registry High βœ… Implemented
Holonym ZK identity (Gov ID/ePassport) High βœ… Implemented
Idena AI-resistant CAPTCHA High βœ… Implemented
Coinbase Verifications KYC attestation (EAS) High βœ… Implemented
Humanity Protocol Palm biometric High βœ… Implemented

πŸ“– Provider Documentation - Configuration, usage examples, and integration guides for each provider.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  Proof of Human Intent                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                              β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
β”‚   β”‚  VERIFY  │───▢│   BIND   │───▢│  RECORD  β”‚              β”‚
β”‚   β”‚ "Human?" β”‚    β”‚  "What?" β”‚    β”‚ "Proof"  β”‚              β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β”‚
β”‚        β”‚               β”‚               β”‚                     β”‚
β”‚        β–Ό               β–Ό               β–Ό                     β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
β”‚   β”‚   PoP    β”‚    β”‚ Git+DID  β”‚    β”‚  SCITT   β”‚              β”‚
β”‚   β”‚ Provider β”‚    β”‚ Signing  β”‚    β”‚   Log    β”‚              β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β”‚
β”‚                                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Approval Flow

sequenceDiagram
    participant AI as πŸ€– AI Agent
    participant GH as πŸ™ GitHub
    participant Human as πŸ‘€ Human
    participant PoHI as πŸ” PoHI
    participant WorldID as πŸ‘οΈ World ID

    AI->>GH: Create PR
    GH->>Human: Review request
    Human->>PoHI: Request approval
    PoHI->>Human: Show World ID QR
    Human->>WorldID: Scan (World App)
    WorldID-->>PoHI: ZK Proof (signal=commit SHA)
    PoHI->>GH: Status: Verified Human βœ…
    GH->>AI: Merge enabled
Loading

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • World ID App (Download)
  • GitHub repository

Installation

# Core library (chain-neutral, zero dependencies)
npm install pohi-core

# EVM utilities (for on-chain recording)
npm install pohi-evm

# SDK (full client for World Chain)
npm install pohi-sdk

# CLI tool
npm install -g pohi-cli

Basic Usage

import { createAttestation, computeSignal, validateAttestation } from 'pohi-core';

// Create an attestation
const attestation = createAttestation(
  // Subject: what is being approved
  {
    repository: 'owner/repo',
    commit_sha: 'abc123...',
    action: 'DEPLOY',
    description: 'Production deployment v2.0'
  },
  // Proof: evidence of human verification
  {
    method: 'world_id',
    verification_level: 'orb',
    nullifier_hash: '0x...',
    signal: computeSignal('owner/repo', 'abc123...')
  }
);

// Validate structure and hash integrity
const result = validateAttestation(attestation);
console.log(result.valid); // true

CLI Usage

# Request human approval for a commit
pohi request --repo owner/repo --commit abc123

# Verify an existing attestation
pohi verify --repo owner/repo --commit abc123

GitHub Action

# .github/workflows/human-approval.yml
name: Require Human Approval

on:
  pull_request:
    types: [labeled]

jobs:
  verify:
    if: github.event.label.name == 'ready-to-merge'
    runs-on: ubuntu-latest
    steps:
      - uses: pohi-protocol/action@v1
        with:
          world-id-app: ${{ secrets.WORLD_ID_APP_ID }}
          required-level: orb

πŸ“¦ Packages

Package Description Status
pohi-core Core types & validation (zero deps) βœ… v0.1.0
pohi-evm EVM utilities (keccak256, encodePacked) βœ… v0.1.0
pohi-sdk World Chain client βœ… v0.1.0
pohi-cli Command-line tool βœ… v0.1.0
pohi-action GitHub Action βœ… v0.1.0
pohi-gitlab-ci GitLab CI Component βœ… v0.1.0
pohi-bitbucket-pipe Bitbucket Pipe βœ… v0.1.0
pohi-contracts Solidity contracts (Foundry) βœ… v0.1.0
pohi-demo Next.js + World ID demo βœ… Live

πŸ“„ Paper

"Proof of Human Intent: Cryptographically Verifiable Human Approval for AI-Driven Software Development"

  • πŸ“ IACR ePrint: Submitted (pending review)
  • πŸ“ arXiv: Planned (after ePrint publication)
  • πŸ“ Source: paper/

Citation

@misc{pohi2026,
  title={Proof of Human Intent: Cryptographically Verifiable Human Approval for AI-Driven Software Development},
  author={Ikko Eltociear Ashimine},
  year={2026},
  howpublished={IACR Cryptology ePrint Archive}
}

⛓️ On-Chain Verification

On-chain attestation recording is optional and currently in development.

Network Status Contract Address
World Chain Mainnet πŸ”§ Coming Soon TBD
World Chain Sepolia βœ… Deployed 0xe3aF97c1Eb0c1Bfa872059270a947e8A10FFD9d1

Note: PoHI works without on-chain recording. The core protocol uses off-chain attestations that can be independently verified. On-chain recording adds an additional immutable transparency layer.


πŸ” Security Model

Security Considerations

PoHI has undergone an initial self-review focusing on:

  • Replay attacks: Mitigated by binding attestations to specific commit SHAs
  • Impersonation risks: Prevented by World ID's ZK proof of personhood
  • CI/CD workflow integrity: Isolated verification in ephemeral containers

For full security documentation, see SECURITY.md.

Threat Model

Attack Mitigation
Sybil (fake identities) World ID nullifier hash
Replay (reuse proof) Commit SHA in signal
Tampering Merkle tree proofs
Impersonation ZK proof of personhood

Trust Assumptions

  • World ID Orb correctly identifies unique humans
  • Transparency log is append-only
  • Cryptographic primitives are secure

πŸ—ΊοΈ Roadmap

  • Architecture design
  • Paper draft (Abstract)
  • Core library implementation
  • EVM utilities package
  • SDK for World Chain
  • CLI tool
  • GitHub Action
  • GitLab CI Component
  • Bitbucket Pipe
  • Smart contracts (Foundry)
  • Demo application (Next.js + World ID)
  • npm publish (v0.1.0)
  • Live demo deployment
  • Security self-review (see SECURITY.md)
  • IACR ePrint submission
  • arXiv cross-posting
  • External audit
  • v1.0 release

πŸ“š Related Work

Technology Purpose Link
World ID Proof of personhood docs.world.org
IETF SCITT Supply chain transparency datatracker.ietf.org
Sigstore Keyless code signing sigstore.dev
W3C DID Decentralized identifiers w3.org
W3C VC Verifiable credentials w3.org

πŸ“„ Research Paper

We have submitted our academic paper on PoHI to IACR ePrint (pending review). Cross-posting to arXiv is planned after ePrint publication.

Seeking arXiv Endorsement: If you have endorsement capability in cs.CR (Cryptography and Security) or cs.SE (Software Engineering), we would appreciate your support for future arXiv submission. Please open an issue or contact us directly.


πŸ› οΈ Development

Quick Start with Dev Container

Open in GitHub Codespaces

  1. Click the button above, or open in VS Code with Dev Containers extension
  2. Wait for container to build (includes Node.js 20, Foundry, Playwright)
  3. Run npm run dev -w pohi-demo to start the demo app

Manual Setup

# Clone repository
git clone https://github.com/pohi-protocol/pohi.git
cd pohi

# Install dependencies
npm install

# Build all packages
npm run build

# Run tests
npm test

# Start demo app
npm run dev -w pohi-demo

🀝 Contributing

Contributions are welcome! This project is in early stages.

  • ⭐ Star this repo to show support
  • πŸ› Open issues for discussion
  • πŸ”§ PRs welcome after v0.1 release

πŸ“œ License

Apache License 2.0

πŸ“‹ Changelog

See CHANGELOG.md for version history and release notes.


πŸ’¬ Philosophy

Web3 is not for speculation. It's infrastructure for preserving human intent and accountability.

As AI takes over implementation, humans become approvers. PoHI ensures that approval is real, verifiable, and permanent.


πŸ“œ Prior Art Notice

Proof of Human Intent (PoHI) is published as prior art.

This repository and associated publications define the original concept and reference implementation of PoHI. The intent is to enable open research, standardization, and interoperable implementations of cryptographically verifiable human intent in AI-driven systems.

See NOTICE for full attribution and prior art declaration.


πŸ”Œ PoHI-compatible Implementations

An implementation may describe itself as "PoHI-compatible" if it satisfies the following conditions:

Definition

"PoHI-compatible" refers to systems or implementations that align with the Proof of Human Intent (PoHI) protocol as defined in this repository and associated publications.

PoHI-compatible implementations are expected to:

  • Follow the core concept of cryptographically verifiable human intent
  • Preserve the distinction between human approval and automated actions
  • Support verifiable provenance of intent (e.g., signatures, logs, or proofs)
  • Avoid treating PoHI as a mechanism for identity disclosure or KYC

Reference Requirement

Implementations claiming PoHI compatibility are expected to reference this repository as the original definition and prior art of PoHI, and clearly document any deviations from the reference implementation.

Non-Exclusivity

PoHI compatibility does not require strict conformance to a single implementation. PoHI is designed as an open protocol concept, and compatible implementations may vary in architecture or cryptographic primitives, provided the core intent model remains intact.

Trademark Notice

"PoHI-compatible" is a descriptive term, not a trademark. Use of this term does not imply endorsement or affiliation with the PoHI authors.

Projects are encouraged to describe their implementation as "PoHI-compatible" rather than redefining the PoHI concept independently.

For detailed compatibility levels (Core / Extended / Advanced), see docs/pohi-compatibility.md.


Proof of Human Intent
Your approval, cryptographically preserved for the future.