Skip to content

[services/verifier] Validate crypto v0 test vectors #38

@FlowmemoryAI

Description

@FlowmemoryAI

Objective

Add service-side validation for FlowMemory crypto test vectors so verifier implementations cannot drift from the published v0 schemas.

Allowed folders

  • services/verifier/
  • crypto/
  • docs/ARCHITECTURE.md only for short cross-links if needed

Forbidden folders

  • contracts/RootfieldRegistry.sol
  • apps/
  • hardware/
  • deployment scripts
  • tokenomics
  • production L1/appchain implementation
  • zk proof implementation

Acceptance criteria

  • Verifier-side tests load crypto/test-vectors/flowpulse-observation-v0.json.
  • Tests recompute pulseId, observationId, eventArgsHash, receiptHash, artifactRoot, reportId, worker digest, and verifier digest where supported.
  • Negative tests cover changed blockHash, logIndex, URI hash, Merkle leaf order, wrong verifier set root, and expired signatures.
  • No network, RPC, database, or secret dependency is introduced.

Risk level

Medium

Recommended agent

Services Verifier Agent, with Crypto Agent review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/cryptoCrypto schemas, receipts, attestations, commitments, proofsagent/indexerIndexer and verifier service workenhancementNew feature or requestpriority/p1Important next prioritytype/buildBuild, test, fixture, or implementation work inside scoped boundaries

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions