A demo repository for Proof of Human Intent.
Fork this repository to experience the PoHI human approval flow.
In an era where AI writes code, PoHI is a protocol that cryptographically proves "who approved it."
- Who? - Human verification via World ID
- What? - Approval for a specific commit/PR
- When? - Tamper-proof timestamp
Details: pohi-protocol/pohi
Click the "Fork" button in the top right corner
After forking, enable workflows in the "Actions" tab
git checkout -b test-pohi
echo "// test" >> src/hello.ts
git add .
git commit -m "Test PoHI approval"
git push origin test-pohiCreate a PR on GitHub
Add the ready-to-merge label to the PR
- The workflow starts and displays an approval URL
- Scan the World ID QR code at pohi-demo.vercel.app
- Approve with World App
The approval result will be commented on the PR:
- Attestation Hash
- Nullifier Hash
- Approved At
- World App (iOS/Android)
- GitHub account
This repository has the following workflow configured:
# .github/workflows/pohi-approval.yml
name: PoHI Human Approval
on:
pull_request:
types: [labeled]
jobs:
verify:
if: github.event.label.name == 'ready-to-merge'
uses: pohi-protocol/pohi/.github/workflows/pohi-approval.yml@main
with:
approval-url: https://pohi-demo.vercel.app
world-id-app-id: app_staging_5cdaf82b6bf48a0829c74584eb3aa23b
world-id-action: approve_commit- Copy
.github/workflows/pohi-approval.yml - Customize the configuration as needed
- Get an App ID from World ID Developer Portal
- PoHI Protocol - Main repository
- PoHI Demo - Live demo
- World ID Docs - World ID documentation