Skip to content

feat(insight): verify OracleSafetyCheck v3 and isolate synthetic samples - #4

Open
Zk-nd3r wants to merge 3 commits into
mainfrom
feat/insight-oracle-safety-v3
Open

feat(insight): verify OracleSafetyCheck v3 and isolate synthetic samples#4
Zk-nd3r wants to merge 3 commits into
mainfrom
feat/insight-oracle-safety-v3

Conversation

@Zk-nd3r

@Zk-nd3r Zk-nd3r commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Added exact OracleSafetyCheck v2/v3 EIP-712 dispatch. V3 is fixed to domain version 3, 27 ordered fields, and signed requiredSourceGroupCount = 2.
  • Kept the v2 compatibility API v2-only and the retired v2 alias historical-only.
  • Routed the public sample path through the sample-role verifier. Valid samples return UNKNOWN_BLOCKED / SYNTHETIC_SAMPLE_ONLY; malformed or tampered samples fail closed. No observation, replay commit, binding, or action is created.
  • Made raw-byte source hashes stable across Windows and Linux checkouts.

Verified

Exact Node v22.22.2 on a fresh checkout of 5329d33390b85259194e29010f41201f5fa9da61:

  • npm run test:offline — pass, including packed install and MCP handshake
  • npm run test:insight-receiver — pass, 68/68 raw and canonical hashes
  • npm run test:insight-live-sample — pass at 2026-09-03T20:32:12Z; two GETs, no credentials or writes
  • npm run audit:release — 0 vulnerabilities
  • package dry run — 148 files, 130596 bytes

Primary public evidence:

Mutable registry bytes do not admit a signer or trust head. Private correspondence is excluded. This is not a release, deployment, customer, acceptance, adoption, partnership, or endorsement claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant