pascalkienast/understandproof
Acerca de
Proof of Understanding. Starting with GitHub: show that you understand the change before it merges.
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -7
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
UnderstandProof
Proof of Understanding.
Creating an output and understanding it are different things. UnderstandProof makes room for the person who needs to explain what they take responsibility for, whether or not they created it themselves.
The first application is code: AI can write the pull request; the person proposing it should be able to explain what it does, why it belongs, and where it can fail.
UnderstandProof turns that understanding into a required GitHub check. The author explains the exact patch on live video, giving maintainers patch-bound evidence before merge. Understanding complements code review and tests; it does not replace them.
Run the full stack yourself or try understandproof.paskie.me. Each proof stays bound to the current head SHA, so a new push requires a fresh explanation.
The contributor view for a pull request: Practice is optional. Proof is required.
How it works
- The GitHub App receives a pull-request event and binds a check to that head SHA.
- Practice is optional. You can study patch-bound learning goals and private coaching. Practice never counts as the proof.
- Proof opens on a phone through a one-time QR link. You answer a
risk-adjusted set of patch questions in one continuous recording. The
recording tab has to stay in the foreground. Switch to another app, a
second screen, the lock screen, or another tab, and the take aborts as
visibility_lost. That is the help/no-help guarantee. You cannot read notes on a second screen while the take runs. - The browser encrypts each recording chunk before upload. The object store gets ciphertext only.
- A worker builds a bounded transcript and a few frames. A multimodal model compares those with the patch and rubric.
- A maintainer can review the take and the model finding.
- A new push invalidates the attempt. Evidence lasts at most 24 hours, and may be deleted as soon as a maintainer accepts it.
UnderstandProof does not run pull-request code. It does not do face recognition, gaze tracking, room scanning, identity verification, or persistent contributor scoring.
Product tour
The GitHub App comment shows the current interface. Some other production captures still show earlier branding; those historical captures remain unaltered.
The flow starts where contributors already work. The GitHub App posts a revision-bound link directly on the pull request.
The contributor checks the camera and privacy terms, then answers the patch-bound questions in one continuous take.
Preflight explains the one-take and retention rules. |
Each live question stays bound to the current revision. |
The result returns to the same head SHA on GitHub.
Optional Practice — inspect the patch map and rehearse privately
Maintainer review — inspect private evidence when the model asks for review
See it
- Live landing: understandproof.paskie.me
- Local demo: http://localhost:3000/demo after
docker compose up --build - Curated production screenshots: docs/assets/
Local demo
The reference demo needs Docker with Compose:
docker compose up --build
Open http://localhost:3000/demo. The stack creates three synthetic pull
requests and uses local fake adapters for GitHub, generation, transcription,
and multimodal evaluation. Demo ports bind to 127.0.0.1 by default. Do not
expose DEMO_MODE=true to a network.
For development without the application containers, install Node.js 24 and pnpm 10.8:
corepack enable
pnpm install --frozen-lockfile
pnpm dev:keys
pnpm verify
PostgreSQL integration tests also need TEST_DATABASE_URL. Playwright needs a
migrated and seeded database. The CI workflow records the order.
Production shape
A production deployment needs:
- a GitHub App with the permissions and webhook events listed in the self-hosting guide;
- PostgreSQL 18 with
pg-bossin the same database; - private S3-compatible object storage with browser CORS and a lifecycle backstop;
- an HTTPS reverse proxy that serves the static
landing/payload at/; - a transcription provider and a multimodal model provider;
- a local RSA wrapping key pair or a compatible KMS adapter;
- separate Web, Worker, GitHub Control, and migration processes.
DEPLOYMENT_PROFILE=production rejects demo adapters, loopback or public HTTP
endpoints, placeholder secrets, and incomplete provider configuration. The
checked-in automation under scripts/production-* is the maintainer's current
hardened profile. There is no one-command installer.
UnderstandProof is pre-1.0. The hosted flow has run against a real pull request: Practice, encrypted phone recording, provider processing, maintainer review, check completion, retention, backup, and restart. Config and migrations can still change before a stable release.
Security and privacy
UnderstandProof handles video evidence and repository content. Read these before you run it for other people:
- Threat model
- Provider data flow
- Recording cryptography
- Production configuration
- Incident response
- Security reporting
Provider terms, lawful basis, retention notices, and data-processing agreements stay with the operator. The controls in this repository do not prove a third party's retention or training policy.
Repository map
landing/: static marketing source and published output forGET /apps/web: contributor, mobile, and maintainer interfaces plus HTTP routesapps/worker: queues, private media processing, providers, and retentionapps/github-control: installation-token and GitHub reconciliation processpackages/domain,packages/db,packages/policy: state machine, database constraints, and review policypackages/media,packages/storage: encrypted recording protocol and S3 transportpackages/analysis,packages/questions,packages/providers: bounded patch analysis, planning, and provider adaptersdocs: project status, security, privacy, maintainer, and operations guidesscripts: verification, release, backup, and deployment tooling
Browse the documentation or read the current project status.
Previously named SlopProof. See the rename compatibility notes for the existing App link, check name, and deployment settings retained during the transition.
Contributing
Read CONTRIBUTING.md before opening a pull request. Security reports go through GitHub's private vulnerability-reporting flow, not public issues. Support routes are in SUPPORT.md.
The project is maintained by Pascal Kienast.
License
Copyright © 2026 Pascal Kienast and contributors. UnderstandProof is licensed under the Apache License, Version 2.0.
Explorar proyectos relacionados
Cargando…