bbsbot
2026-03-15
Replace structlog with undef-telemetry, guard and cargo strategy bug fixes, and pre-commit hardening
331 files · 6,807+ · 57,017-
Replace structlog with undef-telemetry
5 files changed
config.pyLogging config migrated from structlog to undef-telemetrygame_loop.pyGame loop logging migrated; guard probe loop fixes appliedloop_handlers.pyLoop handlers logging migratedstrategy.pyStrategy logging migratedterm_bridge.pyTerm bridge logging migrated
- Migrated all logging from structlog to
undef-telemetry, unifying the observability stack with other undef-games projects decouple behavioral2 files
config.pygame_loop.py
- Fixed guard probe loops that were triggered by the logging migration
remediate
behavioral
1 file
loop_handlers.py
Guard and cargo strategy bug fixes
4 files changed
action_helpers.pyNo-trade guard fallback path and cargo liquidation gate fixedguard_decision.pyNo-trade guard prevented from buying cargo without a known buyerloop_guards.pyStale cargo state causing guard to sell wrong commodity fixedparsing_logic.pyMinor commodity threshold fixes
- Fixed stale cargo state causing the guard to sell the wrong commodity
remediate
internal
1 file
loop_guards.py
- Fixed cargo liquidation wasting turns by selling minor commodity amounts that weren’t worth it
remediate
internal
1 file
action_helpers.py
- Prevented the no-trade guard from buying cargo without a known buyer to sell to
decouple
internal
1 file
guard_decision.py
- Fixed the no-trade guard fallback path and cargo liquidation gate
remediate
internal
1 file
action_helpers.py
- Allowed trivial cargo amounts to not block normal strategy execution
decouple
internal
1 file
parsing_logic.py
Infrastructure and pre-commit hardening
3 files changed
.pre-commit-config.yamlPre-commit hooks expanded to catch more issues before commitcheck_max_loc.pyMax LOC check script addedcheck_spdx_headers.pySPDX header check script added
tw2002→tradewars rename PR merge
2 files changed
__init__.pyRenamed package landed via PR merge__init__.pyRenamed games package landed via PR merge