Add simulator replica, persistence, planet scan, README; split empire state out of the repo

- tools/simulate.py + puga/simulate.py: replica of PRUNplanner's simulator (flows and
  efficiency verified against screenshots), reports real new capex (planned minus built)
- tools/scan.py: staffing variants, freight, HQ/experts, --planet mode, demolish-later,
  --min-n as a pure market-size filter, --json output
- tools/history.py, tools/persistence.py: margin history and short-horizon payback checks
- tools/plan_push.py: guarded delete; tools/state.py: syncs to empire/
- README with features and setup; CLAUDE.md made generic
- Own-empire material (profile, state, plans, notes) moved to gitignored empire/;
  generic examples in plans/examples and state/company.example.yaml

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 00:11:02 +02:00
co-authored by Claude Sonnet 5
parent 7a538cb300
commit 3bbf524ebb
26 changed files with 778 additions and 259 deletions
+11
View File
@@ -0,0 +1,11 @@
# The buildout only: 1 HWP (BHP from AL + STL + HE) and the 1 HB2 for its 40 settlers.
# Technicians (10) left unstaffed: workforce factor 40/50 = 0.8. No pioneer housing, no EXT/SME (existing base, sunk).
name: "[PuGa] Example: HWP buildout"
planet: ZV-759c
permits: 1
cogc: METALLURGY
hq: true
experts: {METALLURGY: 2}
infrastructure: {HB2: 1}
buildings:
- {building: HWP, amount: 1, recipes: ["AL,STL,HE=>BHP"]}