feat: add externally reproducible PromiseProof verification#1
Merged
Conversation
The check command re-runs the evaluator on the supplied evidence, rebuilds the full report, and compares the whole canonicalized document rather than trusting the embedded hashes. A report with the right digest and fingerprint but a faked verdict no longer passes. Works for single bundles and OFF/ON gates, with exit codes 0 reproduced, 4 mismatch, 3 invalid, 1 error. Adds 16 adversarial tests.
A no-network page that runs the same verifier modules as the CLI over the passing OFF and ON example, opening on PASS with a bound report. Tampering the OFF evidence adds one identifiable activity and receipt, so the evaluator returns a broken promise and the sealed report stops reproducing. Re-sealing binds the broken verdict, never a pass. It also verifies bring-your-own bundles and downloads the report. build:site now assembles /verify/ next to / and /walkthrough/. A Playwright suite covers the load state, the absence of network traffic, the tamper flip, and byte-identical browser and CLI reports.
Add a Try PromiseProof Verify section to the README that links the hosted Judge Mode and shows the init, gate, and check commands with their exit codes. Add ADOPTION.md, a developer guide covering the evidence envelope, the CLI, the report format, outcomes, binding semantics, trust boundaries, limits, and platforms. Add a compact bring-your-own-evidence section and a footer link on the landing page so the verifier is discoverable without changing the hero or walkthrough.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
PromiseProof Verify exposes the unchanged deterministic authority layer through:
promiseproof check;/verify/;BROKEN_PROMISE;Trust boundaries
activity-personalization/v1.checkre-runs the evaluator and compares the complete regenerated report.Preserved