Every display-worthy event streams through logf (Closes #122) #130

Merged
robertismo merged 1 commit from 122-logf into master 2026-10-01 15:43:54 +00:00
Owner

The g.Log-only appends were invisible in every production mode: main() runs interactive=true unconditionally, so flushLog dropped the log and nothing else printed it. All player/spectate-visible events now stream through logf: loan defaults on the die, the deposit-flow total, the LOAN MARKET award summary, bond offers placed and takes filled, loan charge-offs, shore-up borrows, revocations, dead-loan transfers, GAME OVER, and both accounting watchdogs (ACCT DIVERGENCE, CF DIVERGENCE) — the divergence detectors are now visible in the bench output they were built to watch.

Verified: a spectate game shows all of the above (357 occurrences in an 80-turn run, GAME OVER present); an interactive run prints each line exactly once per turn.

The g.Log-only appends were invisible in every production mode: main() runs interactive=true unconditionally, so flushLog dropped the log and nothing else printed it. All player/spectate-visible events now stream through logf: loan defaults on the die, the deposit-flow total, the LOAN MARKET award summary, bond offers placed and takes filled, loan charge-offs, shore-up borrows, revocations, dead-loan transfers, GAME OVER, and both accounting watchdogs (ACCT DIVERGENCE, CF DIVERGENCE) — the divergence detectors are now visible in the bench output they were built to watch. Verified: a spectate game shows all of the above (357 occurrences in an 80-turn run, GAME OVER present); an interactive run prints each line exactly once per turn.
every display-worthy event streams through logf (Closes #122)
All checks were successful
build / build (push) Successful in 28s
2df5c4c586
The g.Log-only appends were invisible in every production mode: main()
runs interactive=true unconditionally, so flushLog dropped the log and
nothing else printed it. Converted all player/spectate-visible events
to logf: loan defaults on the die, the deposit-flow total, the LOAN
MARKET award summary and the per-loan human lines, bond offers placed
and takes filled, loan charge-offs, shore-up borrows, revocations,
dead-loan transfers, GAME OVER, and both accounting watchdogs (ACCT
DIVERGENCE, CF DIVERGENCE) — the divergence detectors are now visible
in the bench output they were built to watch.

Verified: a spectate game now shows all of the above (357 occurrences
in an 80-turn run, GAME OVER line present); an interactive run prints
each line exactly once per turn.
Sign in to join this conversation.
No reviewers
No labels
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
Winnie/bankwars!130
No description provided.