Skip to content

feat: implement online play, resident review and recoverable card returns - #176

Merged
capz merged 44 commits into
mainfrom
codex/online-play-poc
Dec 4, 2026
Merged

capz merged 44 commits into
mainfrom
codex/online-play-poc

Conversation

@capz

@capz capz commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Existing memory-card towns can host or visit an unattended backend town with one local player and two guests over certificate-validated HTTPS/WSS. The PoC includes movement and supported rooms, owned placements, shopping, eligible resident jobs with portable earnings, town chat, resident text mail, reconnect, and return to the original home card. Persistent local hosting, account management, free Cloudflare Quick Tunnels, backup and isolated restore helpers ship with the compiled backend.

Review shows the actual current town on the left half and decisions on the right; the stick inspects the selected resident, home, object or recipient. Offline profile additions/deletions, completed two-card resident moves and hosted edits use durable decisions. Removed profiles explicitly assign new online value to a surviving resident. Last-resident deletion waits for settled activity, and whole-town erasure archives and retires the hosted identity before local deletion.

Card lineage is read back before upload. Reservations, immutable checkpoints, dual recovery banks, card readback and acknowledged publication protect interrupted operations and earned value. Destination projections cannot become home saves. The backend enforces recipient privacy, ownership, ticket/epoch/worker fences, bounded replay and transactional receipts. Unsupported guest tool actions/jobs remain hidden and rejected; cloned-card reconciliation and online mail attachments are outside this PoC.

DolphinDotNet is pinned to published 0.1.0-preview.392.1 (SDK #196), with verified public package hashes and the explicit Hypercube 55 ABI override. Framed HTTPS responses complete before the client closes their connection. Numeric transport diagnostics omit credentials and payloads. Nearby human models receive foreground residency demand and measured instance reservations within the existing allocation ceilings and six-MiB heap. Large transfers honor bounded, cancellable Retry-After delays while production request limits remain enabled. Delayed movement samples expire at the authoritative position and are acknowledged safely.

Validation and merge status (4 December 2026):

  • PR feat: implement online play, resident review and recoverable card returns #176 remains draft and unmerged at 00c9da5. The reviewed follow-up fixes are in PR #181, candidate 037d2a1; they have not yet been merged into this PR.
  • That exact candidate pins validation fc659b94 in both dependency references. Its build and release run failed in candidate job 145019930625. The renderer run, online prechecks and native compilation passed.
  • The approved public target report records gameplay_passed: true: actual SDK HTTPS/WSS, three humans, both remote draws, movement, chat, fenced reconnect, final card publication/acknowledgement, a Ready journal and the home world. Return retries were zero; the card sequence advanced from 1 to 4.
  • Required shutdown failed: clean exit was false, forced kill was false and return code -11 records SIGSEGV. Its cause is unknown. Overall passed remains false; card export and independent final card verification are false. There is no matching publication and no unchanged retry. These follow-up fixes remain outside feat: implement online play, resident review and recoverable card returns #176 until ci: externalize qualification and repair online card returns #181 is merged.
  • The previous 33617b3 candidate passed compilation and reached actual console setup, then failed pairing after DNS readiness with a fixed I/O failure marker. It established no HTTP status, saved link, live world, final card proof or publication. The current candidate preserves both 1,024-byte limits and adds header-boundary handling plus fixed numeric failure categories without raw error or credential output.
  • An earlier target candidate 0dd0c52 reached gameplay, acknowledged card return and the home world, then Dolphin aborted during host shutdown. The independent final card verifier did not run. That remains an incomplete result.
  • Host/native suites and independent reviews cover the integrated card, NPC ownership, mail scheduling, departed visit seats, return-publication and SDK compiler fixes. They do not replace exact-candidate target qualification.

Merge #181 into this PR only after its complete required checks and matching NKit ISO, Depot app, backend, tools and update metadata are published. Then qualify the resulting exact #176 head before merging it to main. Temporary PR #186 qualifies the same #181 candidate while GitHub's #181 merge preview remains unavailable; it does not replace the intended #181 merge.

Phase 1 resource work is prepared separately in PR #184 and reviewed follow-up branches. The second short pilot timed out before initial home-world readiness; its underlying cause is unknown, and it establishes no completed baseline/online pair or full resource budget. The full matched resource gate and physical DOL-015 qualification remain open. Excluded emulator-shutdown repair remains for the user to handle; this failed run is not a new OpenAI block. Scope and acceptance: online-play-poc.md.

@capz capz changed the title feat: implement the hosted online play PoC feat: implement online play, resident review and recoverable card returns Nov 27, 2026
leroy ketelaars and others added 22 commits November 27, 2026 01:34
Prepare pageable species before loading the required cohort, preserving the selected player and existing MEM1 reserves. Align hosted calendar months with memory cards, restore writable CI intermediates, and require both remote humans to reach the actual renderer.
Wait for an actual Cloudflare connection before querying the newly printed hostname. Keep DNS propagation and endpoint retries bounded and complete them before binding any card. Exercise registration, delayed DNS and unhealthy origins with isolated production-bootstrap checks.
@capz capz closed this Nov 27, 2026
@capz capz reopened this Nov 27, 2026
capz added 7 commits November 27, 2026 16:26
Pin compiler, assets and runtime to verified DolphinDotNet 0.1.0-preview.392.1 and retain its actual published package hashes in locked restores. Keep the explicit Hypercube 55 ABI override.

The SDK lets framed TLS responses finish before the client closes its transport. Record numeric socket/provider errors if a native transfer fails, without logging payloads or credentials. Preserve the full home-world return, clean emulator exit and independent card readback gates.
Track the current online frame and TLS call with fixed native words. After a failed controller scenario, read only that known probe and bounded stack linkage from the child emulator's existing shared MEM1 file, symbolizing code addresses against the candidate map.

Retain two progress samples and host thread wait names without heap dumps, credentials or an interactive debugger. Add five early tests for endian/range validation, stack cycles, racing probes and code-only reports. Keep input timeouts, return retries, clean shutdown and canonical card verification unchanged.
Keep all eighteen appearances, 128px villager maps, expanded capture evidence and the new provenance records. Combine measured home-origin restoration with the online branch's bounded alternating visual walk.

Retain SDK 392, split review, streamed card recovery and native stall diagnostics. Budget the shared release job for online transport plus the expanded appearance capture set while preserving each native input/operation deadline. Preserve the frozen baseline and both unique four-line request summaries.
The fixture links the production connection without the console renderer. Supply a no-op diagnostic facade there while retaining the actual native probe and strict bridge in the full GameCube build.
@capz
capz added this pull request to stack #183 December 1, 2026 15:22
@capz
capz merged commit ba96c8f into main Dec 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant