Skip to content

M011: headless adapter + route CLI#96

Merged
Deepro713 merged 1 commit into
mainfrom
m011/adapter
Jun 7, 2026
Merged

M011: headless adapter + route CLI#96
Deepro713 merged 1 commit into
mainfrom
m011/adapter

Conversation

@Deepro713

Copy link
Copy Markdown
Owner

Summary

M011: headless adapter + route CLI

Issues

Closes #77
Closes #76

New neo_handcricket/adapter.py: GameAdapter(AdapterConfig) drives a user-batting
innings headlessly (state() + submit_pick(0..6) → outcome/events/state; bowler
rotation + opponent-model bookkeeping + event detection; deterministic, no I/O).
bot_bowl_pick() is the single source of truth for the bot's bowling pick; the
CLI ball-loop now routes through it (no behaviour change).

8 unit tests + 2 playtest invariants (gate now 62). Gate green (ruff + mypy 56
files + 149 tests + playtest 62/62). ADR-0027.

Closes #77
Closes #76

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Deepro713 Deepro713 merged commit 3f08a0e into main Jun 7, 2026
1 check passed
@Deepro713 Deepro713 deleted the m011/adapter branch June 7, 2026 11:55
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.

Headless game adapter (UI-agnostic API) Route the CLI through the adapter (no behaviour change)

1 participant