Repository navigation
feat: verify receipt v3 evidence (v3-core) - #63
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
datetime.fromisoformat accepts a trailing Z only from Python 3.11, so on 3.10 every v3 timestamp failed the schema check. Pass the equivalent +00:00 form; the timestamp pattern already requires the Z.
|
/review |
|
The requested diff review didn't complete. Treat this run as incomplete. Inspect and fix the diagnosed cause before a fresh review command on the current snapshot; Actions reruns are refused. Captured base |
Import appraise where it is used so the verifier has no module-level import cycle, import the sqlite3 module once for annotations and use, explain the intentional fall-through in head_expectation, and return the default after each match statement. Behaviour is unchanged; the local changes are recorded in pipelock_verify/v3/SOURCE.
The 1,929 shared corpus files from Pipelock 89ba9038a move into one deterministic archive whose digest the test pins before unpacking it, so the source diff stays within hosted review limits. Also check that the v3 modules import in either order.
decision.py no longer imports verify for its two annotation-only types, so the modules form no cycle and verify imports decision at module level as upstream does. The scratch database keeps its single deferred sqlite3 import. Behaviour is unchanged.
|
@coderabbitai review |
Action not completed
|
51aea72 to
e5ef626
Compare
What changed
pipelock-verifyverifies Pipelock receipt v3 evidence through a newv3command and thepipelock_verify.v3API, using the v3-core verifier synced from Pipelock commit89ba9038a(recorded inpipelock_verify/v3/SOURCE). It produces the same verify_result document and exit codes as Pipelock's other verifiers. A directory or file list that also holds legacy (v1/v2) evidence returnsUSE_HOST_VERIFIERwith an unsupported verdict and exit 3, pointing topipelock verify-receipt --chain <dir>; no flag turns that into success. Existing v1 and v2 commands and APIs are unchanged.Summary by CodeRabbit