Skip to content

[documentation] v2 design: on-chain GitHub merge proof (PRD NG2, deferred) #34

Description

@yinkscss

Context

PRD non-goal NG2 defers on-chain GitHub light client / ZK proof of merge. v1 uses authorized gateway attestation (oracle model).

Problem

Contributors ask whether WaveFlow trusts GitHub. We need a published v2 design doc explaining tradeoffs and why v1 uses gateway attestation.

Proposed scope

  • Add docs/future/on-chain-github-proof.md design outline
  • Compare oracle vs light client cost, latency, and Soroban feasibility
  • Explicitly mark out of v1 scope; link PRD NG2

Acceptance criteria

  • Document states v1 scope exclusion clearly
  • Summarizes security model of current gateway
  • Lists open research questions for v2
  • Linked from PRD appendix or README future work section

References

  • docs/PRD.md NG2, OQ3
  • crates/gateway/src/webhook.rs
  • contracts/waveflow-escrow/src/contract.rs (record_merge gateway auth)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:highComplex feature or new integrationcontractsSoroban escrow contractdocumentationImprovements or additions to documentationwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions