Commit Graph
9 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 2ca6b21a94 Modern UI contract: contracts read, quote.request and contract.offer
The contracts read lists remaining months, salary, insurance and bonuses per
player and the open quote. quote.request asks a player's demands for one to
four years (a draw, as at the desk); contract.offer answers applied or
offer_rejected. A refused command also restores the open quote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:12:34 +01:00
ClaudeandClaude Opus 5.5 6054a44acf Modern UI statistics screen: transfer history and the six curves
Section 1 lists the manager's transfers from the original's own records,
section 2 the six curves of the original (its labels, weekly values and the
absolute scale); the interface scales them itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:05:57 +01:00
ClaudeandClaude Opus 5.5 015fa65f56 Modern UI: the statistics screen reads the almanac
ModernSession::read_statistics_screen answers the statistics screen's filters
with real data: eternal table, national tournaments (winners, scorers,
history), series and records, winners by season and the own club per five
minutes. Views the engine does not record yet (title chances, transfers,
weekly curves, season finances) answer available false, reason not_recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:00:22 +01:00
ClaudeandClaude Opus 5.5 e82ce1649f Modern UI: the almanac screen reads the recorded matches
ModernSession::read_almanac answers the almanac screen's request kinds
(index, calendar, day, match) from the engine's almanac in the demo's match
form: competition, sides with human managers, result split into regulation,
extra time (by the goal minutes) and shoot-out, referee, attendance, weather,
line-ups and events. Unknown line-ups stay null.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:47:41 +01:00
ClaudeandClaude Opus 5.5 ae817c6d6d Modern UI contract: session.advance
The desk's kickoff as a command: the calendar runs to the next human desk,
the season end desk or the end of the career (matches without live view for
now). A missing desk decision or a failed step answers decision_pending or
advance_failed and leaves the state as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:45:07 +01:00
ClaudeandClaude Opus 5.5 a1590a34ef Modern UI contract: bank read and bank.commit
The bank read lists account, fixed deposit, credit line, investments, the 12
stocks with their price history and the offered funds as Money. bank.commit
moves money to or from the fixed deposit and buys or sells shares and fund
units through the desk's own checks. Credits follow; the stock tip draws a
random number and will be a quote.request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:44:02 +01:00
ClaudeandClaude Opus 5.5 78b827a0e6 Modern UI contract: lineup, tactics and training reads and commands
lineup.commit takes the squad order and swaps rows into place after opening
the board as the desk does; tactics.commit sets the eight values through the
board's checks; training.commit initializes the plan when needed and applies
decreases before increases so every step stays within the limits. Each is one
revision and is rolled back as a whole when the engine refuses a step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:39:41 +01:00
ClaudeandClaude Opus 5.5 99a48a463d Modern UI contract: camps read and the first command, camp.book
ModernSession::ui_command checks careerId, expectedRevision and owner, runs
the engine action and answers command_result or error. A refused command
restores the state and both generators; a repeated requestId gets the stored
answer, a different command under the same id duplicate_request. The camps
read lists maps and camps with a binding, draw-free quote per camp, focus and
the season's stays. Tests cover stale revision, foreign owner, unknown camp,
booking, repeat, conflict and a refused second booking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:25:54 +01:00
ClaudeandClaude Opus 5.5 fec4c6c7e7 Modern UI contract: squad read and contract tests
The squad read lists a squad (own club, any league club or a national team
with a nominated squad) with ids, positions, values, absences and, for the
manager's own club, monthly salary and remaining contract months.
modern_ui_contract_tests checks envelope, identities, money, errors and
that reads leave the state unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:19:55 +01:00