πŸ“˜ CONTAINER ENGINE GOLD β€” PHASE 2

3rd Millennium Chessβ„’ β€” Authoritative Rules Engine (Atomic β€’ Seam-Safe β€’ Attack-Correct)
Version: Phase 2A | Status: Canonical-Intented (requires your final lock)
Build: Atomic transactions + bounded wrap-sliding + attack-based check + promotion + halfmove fix

πŸ“‹ PHASE 2 API SURFACE

engine.create(config) β†’ Engine instance
engine.validateCanonical() β†’ {ok, errorCode?}
engine.getHandshakeDigest() β†’ {ok, hashHex, errorCode?}
engine.acceptPlayboardHandshake(hashHex) β†’ {ok, handshake, errorCode?}
engine.getHandshakeState() β†’ {ok, handshake}
engine.resetGame() β†’ void
engine.initStartingPosition() β†’ {ok, revision, events, errorCode?}
engine.verifyStartingPosition() β†’ {ok, counts, errorCode?}
engine.getSnapshot() β†’ GameSnapshot
engine.getContainer(index) β†’ ContainerRecord
engine.getLegalMovesFrom(fromIndex) β†’ {ok, moves, requiresIntent, errorCode?}
engine.requiresIntent(fromIndex) β†’ {ok, requiresIntent}
engine.tryMove(moveRequest) β†’ MoveResult
engine.getGameStatus() β†’ {ok, status, detail?}