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
References
docs/PRD.md NG2, OQ3
crates/gateway/src/webhook.rs
contracts/waveflow-escrow/src/contract.rs (record_merge gateway auth)
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
docs/future/on-chain-github-proof.mddesign outlineAcceptance criteria
References
docs/PRD.mdNG2, OQ3crates/gateway/src/webhook.rscontracts/waveflow-escrow/src/contract.rs(record_mergegateway auth)