Hextris Now Supports a Dedicated AI Game Session
Adds deterministic isolated Hextris sessions, a dedicated CLI and stdio MCP, plus complete GPL distribution notices. It runs as a separate process, does not take over an open browser, and is not statically linked into the general CLI or MCP.
# Hextris Now Supports a Dedicated AI Game Session
Phase six of the AI capability layer adds a second playable semantic game surface for Hextris. An AI can create an isolated session, observe six color lanes and the incoming piece, list legal actions, and place the piece into a selected lane.
## Determinism and safety boundaries
- The engine uses versioned state and deterministic randomness, so the same seed and action sequence produce the same result.
- Every mutation checks a revision and clientActionId. Exact retries are safe, while reusing an ID for different input is rejected.
- Local state has session-count, size, and idle-lifetime limits, plus ownership-checked locks and atomic replacement. Read-only observation does not silently extend the session or write to disk.
- Reset and close both require explicit confirmation. Actions accept only destination lanes 0–5, never selectors, scripts, raw keys, or arbitrary page calls.
## Separate GPL process
The Hextris-specific engine, CLI, and stdio MCP run as a self-contained GPL-3.0-or-later process. They do not import the general site CLI, general MCP, or shared game session store. The browser game now also ships the full GPL text, upstream attribution, modification dates, and source notice. The existing 2048 distribution restores its complete MIT license and provenance notice as well.
## Current scope
This is an isolated local simulation. It does not watch or take over an already-open Hextris tab, connect to cloud saves, or extend the undeployed remote MCP. 2048 continues to use the integrated `lusu game` and local MCP tools, while Hextris uses its dedicated CLI and MCP process.