[Phase 3.2b] Starter Deck Seeding, Scanned Instance Minting API & Match Audit Log #29

Open
opened 2026-11-17 08:14:16 +00:00 by john4064 · 0 comments
Owner

Goal

Provide canonical Dawn of Perim starter deck provisioning for new accounts, server-authoritative Creature instance minting, and an immutable match outcome/replay audit log.

Metadata

  • Phase / Step: Phase 3.2b
  • Depends On: #7, #12
  • Unlocks: Phase 3+ onboarding & Ranked play
  • Target Crates / Paths: deploy/sql/, server persistence handlers
  • Line Budget Plan: Production .rs <= 400 lines, test .rs <= 600 lines, mod.rs < 80 lines (AGENTS.md Section 2.3)

Acceptance Criteria

  • Seed new player accounts deterministically with a valid starter Dawn of Perim 5-deck collection verified by chaotic_core.
  • Implement server-side minting service generating deterministic/validated ScannedCreatureInstance IDs and offsets.
  • Record completed match winners, replay hashes (state_hash), and timestamps into PostgreSQL for leaderboard and anti-cheat audits.
## Goal Provide canonical *Dawn of Perim* starter deck provisioning for new accounts, server-authoritative Creature instance minting, and an immutable match outcome/replay audit log. ## Metadata - **Phase / Step:** Phase 3.2b - **Depends On:** #7, #12 - **Unlocks:** Phase 3+ onboarding & Ranked play - **Target Crates / Paths:** `deploy/sql/`, server persistence handlers - **Line Budget Plan:** Production `.rs` <= 400 lines, test `.rs` <= 600 lines, `mod.rs` < 80 lines (`AGENTS.md` Section 2.3) ## Acceptance Criteria - [ ] Seed new player accounts deterministically with a valid starter *Dawn of Perim* 5-deck collection verified by `chaotic_core`. - [ ] Implement server-side minting service generating deterministic/validated `ScannedCreatureInstance` IDs and offsets. - [ ] Record completed match winners, replay hashes (`state_hash`), and timestamps into PostgreSQL for leaderboard and anti-cheat audits.
Sign in to join this conversation.
No description provided.