99962b295f
A Go module under tools/local-dev/legacy-report that converts the "dg" / "gplus" engine .REP files in tools/local-dev/reports/ into the JSON shape of pkg/model/report.Report. The output drives a DEV-only synthetic-mode loader on the UI lobby so the map, inspectors, and order-overlay can be exercised against rich game states without playing many turns end-to-end. Scope is intentionally narrow: only the fields the UI client decodes today (planets, players, own ship classes, header). Importing pkg/model/report keeps the parser and the typed contract in lockstep — any backwards-incompatible schema change breaks the tool's compilation before it ships. The README spells out the parity rule for extending the parser alongside future UI decoders. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
10 lines
163 B
Modula-2
10 lines
163 B
Modula-2
module galaxy/legacy-report
|
|
|
|
go 1.26.0
|
|
|
|
require galaxy/model v0.0.0
|
|
|
|
require github.com/google/uuid v1.6.0 // indirect
|
|
|
|
replace galaxy/model => ../../../pkg/model
|