-
Notifications
You must be signed in to change notification settings - Fork 1
Make server codec counterfactual proofs declarative #26
Copy link
Copy link
Closed
Labels
authority:githubGitHub is the authoritative lifecycle record for this workGitHub is the authoritative lifecycle record for this workbeta:compatibleMay be completed without changing the frozen beta contractMay be completed without changing the frozen beta contractkind:defectA public product behavior is incorrectA public product behavior is incorrectpriority:P2Normal-priority product workNormal-priority product workrepo:serverOwned by the standalone server repositoryOwned by the standalone server repositorystatus:doneDerived from the authoritative closed issue stateDerived from the authoritative closed issue state
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
authority:githubGitHub is the authoritative lifecycle record for this workGitHub is the authoritative lifecycle record for this workbeta:compatibleMay be completed without changing the frozen beta contractMay be completed without changing the frozen beta contractkind:defectA public product behavior is incorrectA public product behavior is incorrectpriority:P2Normal-priority product workNormal-priority product workrepo:serverOwned by the standalone server repositoryOwned by the standalone server repositorystatus:doneDerived from the authoritative closed issue stateDerived from the authoritative closed issue state
Problem
Server codec counterfactual validation currently accepts candidate-authored PHP proof tests after scanning them with a partial tokenizer and denylists for branching, callbacks, process APIs, reflection, and other capabilities. Each newly discovered PHP execution shape can require another policy exception or blacklist entry even though the evidence contract only needs a fixed operation: invoke one claimed server boundary and assert the candidate/base/sentinel/revert outcomes. This couples regression-evidence integrity to incomplete PHP source classification and makes the guard costly to extend safely.
How to fix
Define a constrained, versioned counterfactual proof format or generate the executable proof from trusted validator-owned inputs. The validator-owned harness should select the fixture, instrument the claimed boundary, collect attestation, and run candidate, base, causality-sentinel, and boundary-revert checks without using arbitrary candidate-authored PHP control flow as the proof contract. Keep untrusted pull-request isolation at the CI runner boundary.
Acceptance criteria
Delete when server codec counterfactual evidence is expressed through the constrained versioned contract and the validator no longer source-classifies arbitrary candidate-authored PHP to establish causality.