Initial PuGa toolkit: data layer, econ, depth-aware scan, state sync, plan push

- puga/: cached FIO + PRUNplanner clients, market view with order-book walk,
  econ formulas ported from PRUNplanner (tested against its suite and live FIO),
  saturation model v1 (reviewed by Opus)
- tools/: scan (depth-aware), price, book, chain, state sync, plan_push
  (dry run default, [PuGa]-prefixed plans only), legacy prun_scan/prun_cxarb
- docs/: mechanics (PRUNplanner is source of truth), roadmap, decisions,
  saturation design, archived handoff
- secrets stay in .env (gitignored); ref/ holds PRUNplanner source (ignored)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-18 23:00:21 +02:00
co-authored by Claude Sonnet 5
commit 7a538cb300
35 changed files with 1692 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# Re-pull PRUNplanner source into ref/ (gitignored). Their code is the source of truth for game mechanics.
cd "$(dirname "$0")/.." || exit 1
rm -rf ref/frontend ref/backend
git clone -q --depth 1 https://github.com/PRUNplanner/frontend.git ref/frontend
git clone -q --depth 1 https://github.com/PRUNplanner/backend.git ref/backend
rm -rf ref/frontend/.git ref/backend/.git
echo "refs updated $(date -I)"