Repository navigation
Description
Summary
PR #114's final head adds the independent P2MR v1 oracle and required Core gate, but the workflow cannot create jobs because job-level env references ${{ runner.temp }} where the runner context is unavailable. The oracle also validates CHECKSIGADD and data-signature fixtures outside its script evaluator rather than independently executing their stack semantics.
The inherited corpus-generation and LF defects belong to the PR #113 follow-up and are not repeated here. PR #118 fixes the workflow and opcode-execution defects at its reviewed head; the new issue should treat #118 as the candidate resolution and close only after those fixes land and are reverified.
Current behavior at PR #114's final head
.github/workflows/core-checks.ymlassignsCARGO_TARGET_DIR: ${{ runner.temp }}/...at job scope.- Exact-head Core Checks runs fail before creating jobs.
- The Rust evaluator does not execute CHECKSIGADD/NUMEQUAL stack behavior for the relevant boundary row.
OP_SWAP,OP_CHECKDATASIGPQC, andOP_CHECKDATASIGADDPQCare reconstructed or primitive-checked outside the evaluator, so the report can claim agreement without independently proving stack behavior and error ordering.
Expected behavior
The required workflow must schedule successfully, and every claimed oracle result for supported PQC signature opcodes must flow through independently implemented script semantics.
Acceptance criteria
- Initialize the Cargo target directory through step-level environment or
$GITHUB_ENV, where the runner context is valid. - Require a successful exact-head Core Checks run containing the visible P2MR v1 conformance job and gate.
- Execute CHECKSIGADD plus numeric/clean-stack semantics in the independent evaluator.
- Execute
OP_SWAP,OP_CHECKDATASIGPQC, andOP_CHECKDATASIGADDPQCin the evaluator. - Cover empty signatures, invalid non-empty signatures, wrong domain/message/key, underflow, clean stack, and validation-weight charging.
- Make required ancillary fixtures fail closed when absent or malformed.
- Prove the oracle reports the same exact error stage/result as qbit for every supported row.
- Retain the independently generated corpus requirements tracked from PR test: add the qbit P2MR v1 conformance corpus #113.
Consensus impact
Consensus-adjacent. Node consensus code is unchanged, but this oracle and CI gate are intended to detect divergence in P2MR consensus behavior before release.
References
- Root contract: Document and freeze the qbit P2MR v1 consensus profile before mainnet #105
- Affected final head: PR ci: gate qbit P2MR v1 conformance with an independent oracle #114 at
60ef8e1701008f902c155e2bfb7c758e0f118267 - Corpus root cause: PR test: add the qbit P2MR v1 conformance corpus #113 under issue Document and freeze the qbit P2MR v1 consensus profile before mainnet #105
- Fixing integration PR: P2MR v1 conformance and release framework #118 at reviewed head
d3496d6ad7de4ce946f69c21efd6eea7c5c20f31
Activity