@mcptoolshop/sovereign 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,89 +1,101 @@
1
- Digital Mode (v0.10 balance baseline · FROZEN)
2
- ==============================================
1
+ Digital Mode (v0.18 polished baseline · v1.1.0 release candidate)
2
+ ==================================================================
3
3
 
4
4
  The single self-contained HTML file that runs the full game locally in a browser.
5
+ v1.1.0 promotes the v0.18 failure-system foundation (Credit Crisis warning event +
6
+ the v0.11-v0.17 pressure-side chain) plus a whole-game visual polish pass to the
7
+ canonical release surface.
5
8
 
6
9
 
7
10
  Files
8
11
  -----
9
- sovereign-solo.html The game. Open in any modern browser.
10
- sovereign-v0.10-freeze-audit.html 38-check freeze audit (all PASS).
12
+ sovereign-solo.html The game. Open in any modern browser.
13
+ v0.18 polished. SAVE_VERSION 'v0.18-candidate'.
14
+ sovereign-solo-v0.10-baseline.html Archive of the v1.0.x canonical (v0.10 frozen
15
+ baseline) for historical reference and save
16
+ compatibility verification.
17
+ sovereign-v0.10-freeze-audit.html The original 38-check freeze audit for v0.10
18
+ (all PASS). Provenance for the prior baseline.
11
19
 
12
20
 
13
21
  How to run
14
22
  ----------
15
23
  Double-click sovereign-solo.html or drag it into a browser. No installer, no
16
- dependencies, no internet required. The header shows "v0.10 balance candidate" -
17
- that label is the frozen baseline.
18
-
19
-
20
- What's inside
21
- -------------
22
- Game loop
23
- - Full 7-lap solo game (1 human + 2 scripted opponents).
24
- - 17-action reducer / dispatch pattern.
25
- - All 40 board spaces, 22 properties, 4 routes, 2 institutions wired.
26
- - All 24 cards (12 Market Shock + 12 Republic Debate) resolve deterministically.
27
- - All 7 Acts of Congress fire in historical order with majority voting.
28
-
29
- Scripted opponents
30
- - Hamilton: Treasury / Finance profile.
31
- - Morris: Merchant / Infrastructure profile.
32
- - Plus Manufacturer / Industry profile available for batch play.
33
- - Every decision is a pure function of visible state and logs its reason.
34
- - All four MVP profile decision functions: decideBuy, decideAuctionBid,
35
- decideUpgrade, decideVote, decideEarlyVoteFee, decideCardChoice.
36
-
37
- Narration
38
- - 25-entry library covering first-purchases, Act passages, track thresholds,
39
- Default, Rebellion, endgame republic summary.
40
- - 40-60 word defaults, 150-200 word expansions, ~300-500 word endgame.
41
- - Triggered by reading the ledger; never mutates state.
42
-
43
- Save / load
44
- - Autosave to localStorage on every END_TURN.
45
- - Manual JSON export / import.
46
- - Hash integrity check on load.
47
- - Version-gated (v0.10).
48
-
49
- Replay
50
- - Full scrubber over any completed game.
51
- - Reconstructs from initialState(seed) + decisionLog.
52
- - Read-only; never mutates live state.
53
- - Green integrity pill confirms byte-identical reconstruction.
54
-
55
- Batch simulation
56
- - 10, 50, or 100 deterministic games per run.
57
- - Choose profile per slot.
58
- - Charter Enabled / Disabled toggle for diagnostic control.
59
- - Aggregate output: win rates, average Influence, route dominance, debt and
60
- industry contribution, failure event frequency, mirror slot edge.
61
- - JSON + HTML exports per batch.
62
- - Cross-config summary.
63
-
64
- Telemetry
65
- - Acquisition funnel (landings, buy outcomes, cash-at-opportunity, auction
66
- access, turn-order geometry, five-hypothesis classifier).
67
- - Scoring decomposition (per category, with counterfactual analysis for
68
- Treasury-specific dominance analysis).
69
- - All reporting-side; never mutates game state.
24
+ dependencies, no internet required. On first load an orientation overlay
25
+ introduces the three shared tracks, the three failure tiers, and the ledger as
26
+ the truth source - dismiss with "Got it - begin" or recall it any time via the
27
+ "How to play" button in the topbar.
28
+
29
+
30
+ What's new in the v0.18 polished baseline
31
+ -----------------------------------------
32
+ Failure-pressure system (mechanics, frozen at v0.18)
33
+ - Credit Crisis at Public Credit <= 4 - soft intermediate failure event. Fires
34
+ once per game when Credit first collapses into the warning band. Logs a
35
+ System event, ticks Public Resistance +1, does not reset Credit.
36
+ - Default at Public Credit 0 - catastrophic endpoint, unchanged.
37
+ - Rebellion at Public Resistance 12 - catastrophic endpoint, unchanged.
38
+ - Three-tier hierarchy: Crisis (warning) < Rebellion / Default (catastrophe).
39
+
40
+ Pressure sources (preserved through the v0.11-v0.17 arc)
41
+ - Bank Run drops Public Credit -1 and Industrial Capacity -1.
42
+ - Speculation Fever drops Public Credit -1 at Credit >= 7, -2 at Credit <= 6,
43
+ and ticks Resistance +1 (v0.17 fragile-credit escalation).
44
+ - Anti-Federalist Pamphlet drops Public Credit -1, ticks Resistance +1, and
45
+ collects 30 TN per Revenue-System property from every owner (v0.16).
46
+ - Funding Act remains the lap-1 +2 Credit floor.
47
+
48
+ Visual polish (presentation only; mechanics byte-identical to v0.18 candidate)
49
+ - Topbar wordmark + mode tag + version pill (Federalist Treasury palette).
50
+ - First-run orientation overlay with the three-track + three-tier primer.
51
+ - Ledger rows for CREDIT_CRISIS / DEFAULT / REBELLION get distinct severity
52
+ treatments.
53
+ - Tracks panel marks the Credit Crisis warning band (1-4) and the Default
54
+ and Rebellion endpoints.
55
+ - Endgame report shows posture chips (credit posture / Crisis state /
56
+ Rebellion state) above the score columns, with narration that explicitly
57
+ mentions Credit Crisis / Default / Rebellion outcomes.
58
+ - Batch modal reframed as "Balance Evidence Run".
59
+ - Responsive breakpoint at <= 768 px and a print stylesheet.
60
+
61
+ Determinism
62
+ - Same seed + same human decisions = byte-identical ledger. The v0.18
63
+ polished build produces the same 100-seed canonical state hash
64
+ (3189375454) as the v0.18 candidate Node simulation.
65
+
66
+ Design-system reference
67
+ - The visual-system sheet and screen-state audit live at
68
+ release/design-system/sovereign-visual-system-v0.18.html and
69
+ sovereign-screen-audit-v0.18.html.
70
+
71
+
72
+ Save / load
73
+ -----------
74
+ SAVE_VERSION = 'v0.18-candidate'. Saves from v0.10 - v0.17 are still readable
75
+ via loadFromPayload; a transient info pill explains the behavior difference
76
+ when loading older saves under the new failure system. Hash integrity check
77
+ on load is unchanged.
70
78
 
71
79
 
72
80
  Determinism guarantee
73
81
  ---------------------
74
- Same seed + same human decisions = byte-identical ledger across runs, browsers,
75
- and time. Verified across 1,000+ deterministic games during the v0.2 -> v0.10
76
- balance arc. Single RNG: mulberry32(state.rngSeed).
77
-
78
-
79
- Freeze audit
80
- ------------
81
- sovereign-v0.10-freeze-audit.html shows the 38 static checks that PASS:
82
-
83
- v0.10 scoring rule consistency 6 / 6 PASS
84
- Preserved balance state (v0.2 -> v0.8) 14 / 14 PASS
85
- Digital infrastructure regressions 14 / 14 PASS
86
- Determinism (CANONICAL x 100 byte-identical) PASS
87
- Balance targets (6 of 6) PASS
88
-
89
- No source edits were required at the freeze gate.
82
+ Single RNG: mulberry32(state.rngSeed). Same seed + same human decisions =
83
+ byte-identical ledger across runs, browsers, and operating systems. Verified
84
+ across 1,000+ deterministic games through the v0.2 -> v0.10 -> v0.11 - v0.18
85
+ arc.
86
+
87
+
88
+ Mechanics-frozen evidence
89
+ -------------------------
90
+ The v0.18 promotion audit (44 / 44 PASS) and the CANONICAL-400 evidence sweep
91
+ live alongside this release in the repo at:
92
+ experiments/v0.18-failure-pressure-candidate/sovereign-v0.18-promotion-audit.html
93
+ experiments/v0.18-failure-pressure-candidate/sovereign-v0.18-evidence-sweep.html
94
+ experiments/v0.18-failure-pressure-candidate/raw-data/
95
+
96
+
97
+ Caveat
98
+ ------
99
+ v0.18 mechanics are simulation-verified across the canonical T/M/Mfg triplet
100
+ (400 seeds) and the MFG-MIRROR variant (100 seeds). They are not yet
101
+ human-playtested.