Repository navigation
feat: ship evidence-backed alpha portfolio and optimize protocol - #8
Merged
Zendevve merged 8 commits intoAug 29, 2026
Conversation
Add deterministic no-ROM Proof-of-Play, controller preflight, route policy, match receipts, compatibility publishing, release hardening, and protocol/relay performance improvements.
…tunity-portfolio-2026-08-28 # Conflicts: # .env.example # .github/workflows/release.yml # apps/client/src-tauri/src/commands/process.rs # apps/client/src/App.tsx # apps/client/src/lib/api.test.ts # apps/client/src/lib/api.ts # apps/client/src/lib/report.ts # apps/client/src/lib/snapshot.test.ts # apps/client/src/lib/snapshot.ts # apps/client/src/lib/usePlayableMatch.ts # apps/client/src/routes/Match.tsx # apps/server/src/config.rs # apps/server/src/lib.rs # apps/server/src/lifecycle.rs # apps/server/src/main.rs # apps/server/src/routes/alpha.rs # apps/server/src/routes/alpha_evidence.rs # apps/server/src/routes/rooms.rs # apps/server/src/routes/telemetry.rs # apps/server/src/state.rs # apps/server/tests/api_flow.rs # docker-compose.yml # docs/ARCHITECTURE.md # docs/IMPLEMENTATION_STATUS.md # docs/PRODUCT_TELEMETRY.md # docs/operations/RUNBOOK.md # packages/protocol/src/envelope.ts # packages/protocol/src/generated/ActivationSummaryPayload.ts # packages/protocol/src/generated/LaunchBarrierPayload.ts # packages/protocol/src/generated/MatchPreflightPayload.ts # packages/protocol/src/generated/ProductEventName.ts # packages/protocol/src/generated/ProductEventPayload.ts # packages/protocol/src/generated/ReadinessBlockCount.ts # packages/protocol/src/generated/ReadinessCheckId.ts # packages/protocol/src/generated/RoomInvitePayload.ts # packages/protocol/src/generated/RoomSnapshotPayload.ts # packages/protocol/src/index.ts # packages/protocol/src/lib.rs # packages/protocol/src/messages.ts # services/relay/src/main.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships the evidence-backed OpenCade opportunity portfolio and hardens the community alpha from discovery through deterministic Proof-of-Play. The changes also optimize the shared protocol/server/relay hot path and make tagged releases fail closed on validation.
This PR intentionally combines the product, protocol, evidence, runtime, release, and documentation changes because they form one end-to-end alpha contract: controller-ready peers use a deterministic no-ROM test profile, negotiate an evidence-gated route, produce privacy-safe match evidence, and can continue through an idempotent receipt/invite flow.
What changed
Deterministic Proof-of-Play
opencade_testgame definition.Evidence-backed alpha portfolio
site/compatibility.Protocol and relay performance
BorrowedEnvelopeparsing using raw JSON payloads.Valuecloning.Measured locally on Apple Silicon with:
Result for envelope decode + typed endpoint payload validation:
Operations and release safety
Database migration
Migration
009_opportunity_portfolio.sqlis additive and idempotent:match_preflights.match_receiptswith room/user foreign keys and idempotency constraint.opencade_testgame/version withON CONFLICT DO NOTHING.No tables or columns are dropped or renamed. Existing application versions remain compatible with the expanded schema.
Validation
Executed on the final branch after merging current upstream
main:Results:
Risk and rollout
Deploy risk score: 8/10 (high)
Recommended rollout:
OPENCADE_EVIDENCE_TCP_TUNNEL=falseinitially./health,/ready, auth, room creation, invite/preflight, and the deterministic test profile.Rollback
OPENCADE_EVIDENCE_TCP_TUNNEL=false.Review focus