[PR #92] [MERGED] Keep turn-game boards synced after bot moves #800

Closed
opened 2026-10-20 17:31:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/92
Author: @SpicyMarinara
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @SpicyMarinara

Base: main ← Head: agent/91-turn-game-refresh


📝 Commits (3)

  • 12f9233 Keep turn-game boards synced after bot moves
  • d7a22d8 Build turn-game package refreshes
  • 0999fbf Refresh turn-game catalogs after rebase

📊 Changes

28 files changed (+352 additions, -352 deletions)

View changed files

➕ artifacts/chess-1.0.3.zip (+0 -0)
➕ artifacts/eightball-1.0.3.zip (+0 -0)
➕ artifacts/poker-1.0.3.zip (+0 -0)
➕ artifacts/rock-paper-scissors-1.0.3.zip (+0 -0)
➕ artifacts/tic-tac-toe-1.0.3.zip (+0 -0)
➕ artifacts/uno-1.0.3.zip (+0 -0)
📝 catalog/catalog.json (+37 -37)
📝 catalog/v2/catalog.json (+37 -37)
📝 catalog/v3/catalog.json (+37 -37)
📝 packages/chess/client.js (+35 -35)
📝 packages/chess/manifest.json (+3 -3)
📝 packages/eightball/client.js (+35 -35)
📝 packages/eightball/manifest.json (+3 -3)
📝 packages/poker/client.js (+35 -35)
📝 packages/poker/manifest.json (+3 -3)
📝 packages/rock-paper-scissors/client.js (+35 -35)
📝 packages/rock-paper-scissors/manifest.json (+3 -3)
📝 packages/tic-tac-toe/client.js (+35 -35)
📝 packages/tic-tac-toe/manifest.json (+3 -3)
📝 packages/uno/client.js (+35 -35)

...and 8 more files

📄 Description

Linked issue

Closes #91
Addresses Pasta-Devs/Marinara-Engine#3802

Why this change

  • Downloaded turn-game boards disabled their React Query state observer after initial hydration.
  • Package server-event handling only invalidates that query, so completed bot turns could remain invisible and leave the board showing the AI as thinking indefinitely.

What changed

  • Kept the shared state query active for UNO, Chess, Poker, 8-Ball Pool, Tic-Tac-Toe, and Rock-Paper-Scissors.
  • Reused the existing package event bridge and store hydration path, allowing each bot state patch to invalidate, refetch, and update the visible board.
  • Rebuilt all six package bundles, manifests, 1.0.3 artifacts, and catalog lanes.

Package and security impact

  • Affected package IDs: uno, chess, poker, eightball, tic-tac-toe, rock-paper-scissors
  • Engine compatibility impact: None; existing Marinara Engine 2.3.x package event contracts are reused.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Package updates replace client bundles only; no storage schema or cleanup changes.

Automated validation completed

  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-catalog.mjs
  • git diff --check
  • Archive guard confirming all six artifacts contain the event-aware client bundle
  • GitHub catalog validation and PR checks

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Install or update the affected packages, then verify a human move followed by an AI move refreshes each board.
  • Verify a completed bot turn returns input control to the human and does not leave the thinking status stuck.
  • Verify package update, restart, and uninstall behavior.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • Screenshot or recording to be attached after manual browser verification.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/92 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/19/2026 **Status:** ✅ Merged **Merged:** 7/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `agent/91-turn-game-refresh` --- ### 📝 Commits (3) - [`12f9233`](https://github.com/Pasta-Devs/Marinara-Agents/commit/12f923353612b0f3d121773ace0b55c321c3c685) Keep turn-game boards synced after bot moves - [`d7a22d8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d7a22d8f393e5fe53f98d8ab4f877eebba3cc6f4) Build turn-game package refreshes - [`0999fbf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0999fbf4cc4371ed9af43701223bf162c53c9db2) Refresh turn-game catalogs after rebase ### 📊 Changes **28 files changed** (+352 additions, -352 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/chess-1.0.3.zip` (+0 -0) ➕ `artifacts/eightball-1.0.3.zip` (+0 -0) ➕ `artifacts/poker-1.0.3.zip` (+0 -0) ➕ `artifacts/rock-paper-scissors-1.0.3.zip` (+0 -0) ➕ `artifacts/tic-tac-toe-1.0.3.zip` (+0 -0) ➕ `artifacts/uno-1.0.3.zip` (+0 -0) 📝 `catalog/catalog.json` (+37 -37) 📝 `catalog/v2/catalog.json` (+37 -37) 📝 `catalog/v3/catalog.json` (+37 -37) 📝 `packages/chess/client.js` (+35 -35) 📝 `packages/chess/manifest.json` (+3 -3) 📝 `packages/eightball/client.js` (+35 -35) 📝 `packages/eightball/manifest.json` (+3 -3) 📝 `packages/poker/client.js` (+35 -35) 📝 `packages/poker/manifest.json` (+3 -3) 📝 `packages/rock-paper-scissors/client.js` (+35 -35) 📝 `packages/rock-paper-scissors/manifest.json` (+3 -3) 📝 `packages/tic-tac-toe/client.js` (+35 -35) 📝 `packages/tic-tac-toe/manifest.json` (+3 -3) 📝 `packages/uno/client.js` (+35 -35) _...and 8 more files_ </details> ### 📄 Description ## Linked issue Closes #91 Addresses Pasta-Devs/Marinara-Engine#3802 ## Why this change - Downloaded turn-game boards disabled their React Query state observer after initial hydration. - Package server-event handling only invalidates that query, so completed bot turns could remain invisible and leave the board showing the AI as thinking indefinitely. ## What changed - Kept the shared state query active for UNO, Chess, Poker, 8-Ball Pool, Tic-Tac-Toe, and Rock-Paper-Scissors. - Reused the existing package event bridge and store hydration path, allowing each bot state patch to invalidate, refetch, and update the visible board. - Rebuilt all six package bundles, manifests, 1.0.3 artifacts, and catalog lanes. ## Package and security impact - Affected package IDs: `uno`, `chess`, `poker`, `eightball`, `tic-tac-toe`, `rock-paper-scissors` - Engine compatibility impact: None; existing Marinara Engine 2.3.x package event contracts are reused. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Package updates replace client bundles only; no storage schema or cleanup changes. ## Automated validation completed - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-catalog.mjs` - `git diff --check` - Archive guard confirming all six artifacts contain the event-aware client bundle - GitHub catalog validation and PR checks ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Install or update the affected packages, then verify a human move followed by an AI move refreshes each board. - Verify a completed bot turn returns input control to the human and does not leave the thinking status stuck. - Verify package update, restart, and uninstall behavior. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Screenshot or recording to be attached after manual browser verification. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:04 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#800
No description provided.