mons-rust 0.1.125 → 0.1.127

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.
package/README.md CHANGED
@@ -7,45 +7,37 @@ or
7
7
 
8
8
  ## automove
9
9
 
10
- Canonical automove workflow:
10
+ Docs:
11
11
 
12
12
  - runbook: `HOW_TO_ITERATE_ON_AUTOMOVE.md`
13
13
  - live board: `AUTOMOVE_IDEAS.md`
14
14
  - durable lessons: `docs/automove-knowledge.md`
15
15
  - archive: `docs/automove-archive.md`
16
16
 
17
- Active experiment stages:
17
+ Public Pro runtime currently routes through `frontier_pro_v2_guarded`; `shipping_pro_search` remains the retained search-only baseline profile.
18
18
 
19
- - `guardrails`
20
- - `pro-triage`
21
- - `runtime-preflight`
22
- - `pro-reliability`
23
- - `pro-reliability-confirm`
19
+ Quickstart:
24
20
 
25
- Canonical commands:
21
+ - canonical Pro loop: `./scripts/run-automove-canonical-loop.sh frontier_pro_v2_guarded`
22
+ - larger confirmation pass: `./scripts/run-automove-canonical-loop.sh --confirm frontier_pro_v2_guarded`
23
+ - single-stage or diagnostic run: `./scripts/run-automove-experiment.sh <stage> frontier_pro_v2_guarded`
24
+ - cleanup preview: `./scripts/clean-experiment-artifacts.sh --dry-run`
26
25
 
27
- - `./scripts/run-automove-experiment.sh guardrails runtime_pro_turn_engine_v30`
28
- - `SMART_TRIAGE_SURFACE=primary_pro ./scripts/run-automove-experiment.sh pro-triage runtime_pro_turn_engine_v30`
29
- - `./scripts/run-automove-experiment.sh runtime-preflight runtime_pro_turn_engine_v30`
30
- - `./scripts/run-automove-experiment.sh pro-reliability runtime_pro_turn_engine_v30`
31
- - `./scripts/run-automove-experiment.sh pro-reliability-confirm runtime_pro_turn_engine_v30`
32
- - `./scripts/clean-experiment-artifacts.sh --dry-run`
26
+ Retained profile surface:
33
27
 
34
- Active retained profile surface:
28
+ - `shipping_pro_search`
29
+ - `frontier_pro_v2_guarded`
35
30
 
36
- - `runtime_current`
37
- - `runtime_pro_turn_engine_v30`
31
+ Glossary:
38
32
 
39
- Notes:
33
+ - `shipping`: the deployed Pro path, currently `frontier_pro_v2_guarded`
34
+ - `baseline`: the retained search-only comparison profile, currently `shipping_pro_search`
35
+ - `frontier`: the guarded ProV2 selector/runtime line, currently `frontier_pro_v2_guarded`
36
+ - `probe`: forced turn-engine diagnostics that inspect search/acceptance behavior without changing shipping
40
37
 
41
- - Shipping runtime is `runtime_current`.
42
- - `runtime_pro_turn_engine_v30` is the only retained Pro frontier for offline experiments.
43
- - Archive profiles, including `runtime_pro_turn_engine_v1`, are not valid active experiment targets.
44
- - Post-promotion maintenance runs may show `pro-triage` `0/0` for `runtime_pro_turn_engine_v30` vs `runtime_current`; that is the expected stable-equivalence result, not a failed challenger attempt.
38
+ Artifact layout:
45
39
 
46
- Default artifact layout:
47
-
48
- - logs: `target/experiment-runs/<candidate>/`
40
+ - selected-profile logs: `target/experiment-runs/<profile>/`
49
41
  - workflow-only logs: `target/experiment-runs/misc/`
50
42
  - runtime-preflight stamps: `target/experiment-stamps/`
51
43
 
@@ -95,8 +87,8 @@ Pack a directory back into chunks:
95
87
  Release checklist:
96
88
 
97
89
  - Review `git status` before publish and confirm only intentional committed changes are present.
98
- - Confirm `runtime_current` is still the shipping automove path.
99
- - Confirm `runtime_pro_turn_engine_v30` remains fenced off as an offline experiment frontier.
90
+ - Confirm public Pro still routes through `frontier_pro_v2_guarded`.
91
+ - Confirm `shipping_pro_search` remains available as the retained search-only baseline profile.
100
92
  - Run `cargo test`.
101
93
  - Run `cargo test --release --lib smart_automove_release_opening_black_reply_speed_gate -- --ignored --nocapture`.
102
94
  - Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
@@ -107,10 +99,10 @@ Production blockers:
107
99
 
108
100
  - build/test failures
109
101
  - release speed gate failures
110
- - any regression that enables turn-engine in shipping `runtime_current`
102
+ - any regression in the deployed `frontier_pro_v2_guarded` Pro path
111
103
 
112
104
  Non-blocking retained experiment state:
113
105
 
114
- - the retained `runtime_pro_turn_engine_v30` frontier plus ignored probes
106
+ - the retained `shipping_pro_search` baseline, the retained `frontier_pro_v2_guarded` frontier, and ignored probes
115
107
  - experiment workflow/logging helpers
116
108
  - compressed automove backlog / knowledge / archive docs
package/mons-rust.d.ts CHANGED
@@ -10,6 +10,37 @@
10
10
  export function winner(fen_w: string, fen_b: string, flat_moves_string_w: string, flat_moves_string_b: string): string;
11
11
  /**
12
12
  */
13
+ export enum Modifier {
14
+ SelectPotion = 0,
15
+ SelectBomb = 1,
16
+ Cancel = 2,
17
+ }
18
+ /**
19
+ */
20
+ export enum EventModelKind {
21
+ MonMove = 0,
22
+ ManaMove = 1,
23
+ ManaScored = 2,
24
+ MysticAction = 3,
25
+ DemonAction = 4,
26
+ DemonAdditionalStep = 5,
27
+ SpiritTargetMove = 6,
28
+ PickupBomb = 7,
29
+ PickupPotion = 8,
30
+ PickupMana = 9,
31
+ MonFainted = 10,
32
+ ManaDropped = 11,
33
+ SupermanaBackToBase = 12,
34
+ BombAttack = 13,
35
+ MonAwake = 14,
36
+ BombExplosion = 15,
37
+ NextTurn = 16,
38
+ GameOver = 17,
39
+ Takeback = 18,
40
+ UsePotion = 19,
41
+ }
42
+ /**
43
+ */
13
44
  export enum ItemModelKind {
14
45
  Mon = 0,
15
46
  Mana = 1,
@@ -19,17 +50,11 @@ export enum ItemModelKind {
19
50
  }
20
51
  /**
21
52
  */
22
- export enum ManaKind {
23
- Regular = 0,
24
- Supermana = 1,
25
- }
26
- /**
27
- */
28
- export enum AvailableMoveKind {
29
- MonMove = 0,
30
- ManaMove = 1,
31
- Action = 2,
32
- Potion = 3,
53
+ export enum OutputModelKind {
54
+ InvalidInput = 0,
55
+ LocationsToStartFrom = 1,
56
+ NextInputOptions = 2,
57
+ Events = 3,
33
58
  }
34
59
  /**
35
60
  */
@@ -43,16 +68,9 @@ export enum SquareModelKind {
43
68
  }
44
69
  /**
45
70
  */
46
- export enum Modifier {
47
- SelectPotion = 0,
48
- SelectBomb = 1,
49
- Cancel = 2,
50
- }
51
- /**
52
- */
53
- export enum Color {
54
- White = 0,
55
- Black = 1,
71
+ export enum ManaKind {
72
+ Regular = 0,
73
+ Supermana = 1,
56
74
  }
57
75
  /**
58
76
  */
@@ -63,44 +81,17 @@ export enum Consumable {
63
81
  }
64
82
  /**
65
83
  */
66
- export enum MonKind {
67
- Demon = 0,
68
- Drainer = 1,
69
- Angel = 2,
70
- Spirit = 3,
71
- Mystic = 4,
72
- }
73
- /**
74
- */
75
- export enum EventModelKind {
84
+ export enum AvailableMoveKind {
76
85
  MonMove = 0,
77
86
  ManaMove = 1,
78
- ManaScored = 2,
79
- MysticAction = 3,
80
- DemonAction = 4,
81
- DemonAdditionalStep = 5,
82
- SpiritTargetMove = 6,
83
- PickupBomb = 7,
84
- PickupPotion = 8,
85
- PickupMana = 9,
86
- MonFainted = 10,
87
- ManaDropped = 11,
88
- SupermanaBackToBase = 12,
89
- BombAttack = 13,
90
- MonAwake = 14,
91
- BombExplosion = 15,
92
- NextTurn = 16,
93
- GameOver = 17,
94
- Takeback = 18,
95
- UsePotion = 19,
87
+ Action = 2,
88
+ Potion = 3,
96
89
  }
97
90
  /**
98
91
  */
99
- export enum OutputModelKind {
100
- InvalidInput = 0,
101
- LocationsToStartFrom = 1,
102
- NextInputOptions = 2,
103
- Events = 3,
92
+ export enum Color {
93
+ White = 0,
94
+ Black = 1,
104
95
  }
105
96
  /**
106
97
  */
@@ -117,6 +108,15 @@ export enum NextInputKind {
117
108
  }
118
109
  /**
119
110
  */
111
+ export enum MonKind {
112
+ Demon = 0,
113
+ Drainer = 1,
114
+ Angel = 2,
115
+ Spirit = 3,
116
+ Mystic = 4,
117
+ }
118
+ /**
119
+ */
120
120
  export class EventModel {
121
121
  free(): void;
122
122
  /**
package/mons-rust.js CHANGED
@@ -201,37 +201,37 @@ function handleError(f, args) {
201
201
  }
202
202
  /**
203
203
  */
204
- module.exports.ItemModelKind = Object.freeze({ Mon:0,"0":"Mon",Mana:1,"1":"Mana",MonWithMana:2,"2":"MonWithMana",MonWithConsumable:3,"3":"MonWithConsumable",Consumable:4,"4":"Consumable", });
204
+ module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
205
205
  /**
206
206
  */
207
- module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
207
+ module.exports.EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",ManaScored:2,"2":"ManaScored",MysticAction:3,"3":"MysticAction",DemonAction:4,"4":"DemonAction",DemonAdditionalStep:5,"5":"DemonAdditionalStep",SpiritTargetMove:6,"6":"SpiritTargetMove",PickupBomb:7,"7":"PickupBomb",PickupPotion:8,"8":"PickupPotion",PickupMana:9,"9":"PickupMana",MonFainted:10,"10":"MonFainted",ManaDropped:11,"11":"ManaDropped",SupermanaBackToBase:12,"12":"SupermanaBackToBase",BombAttack:13,"13":"BombAttack",MonAwake:14,"14":"MonAwake",BombExplosion:15,"15":"BombExplosion",NextTurn:16,"16":"NextTurn",GameOver:17,"17":"GameOver",Takeback:18,"18":"Takeback",UsePotion:19,"19":"UsePotion", });
208
208
  /**
209
209
  */
210
- module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
210
+ module.exports.ItemModelKind = Object.freeze({ Mon:0,"0":"Mon",Mana:1,"1":"Mana",MonWithMana:2,"2":"MonWithMana",MonWithConsumable:3,"3":"MonWithConsumable",Consumable:4,"4":"Consumable", });
211
211
  /**
212
212
  */
213
- module.exports.SquareModelKind = Object.freeze({ Regular:0,"0":"Regular",ConsumableBase:1,"1":"ConsumableBase",SupermanaBase:2,"2":"SupermanaBase",ManaBase:3,"3":"ManaBase",ManaPool:4,"4":"ManaPool",MonBase:5,"5":"MonBase", });
213
+ module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
214
214
  /**
215
215
  */
216
- module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
216
+ module.exports.SquareModelKind = Object.freeze({ Regular:0,"0":"Regular",ConsumableBase:1,"1":"ConsumableBase",SupermanaBase:2,"2":"SupermanaBase",ManaBase:3,"3":"ManaBase",ManaPool:4,"4":"ManaPool",MonBase:5,"5":"MonBase", });
217
217
  /**
218
218
  */
219
- module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
219
+ module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
220
220
  /**
221
221
  */
222
222
  module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
223
223
  /**
224
224
  */
225
- module.exports.MonKind = Object.freeze({ Demon:0,"0":"Demon",Drainer:1,"1":"Drainer",Angel:2,"2":"Angel",Spirit:3,"3":"Spirit",Mystic:4,"4":"Mystic", });
225
+ module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
226
226
  /**
227
227
  */
228
- module.exports.EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",ManaScored:2,"2":"ManaScored",MysticAction:3,"3":"MysticAction",DemonAction:4,"4":"DemonAction",DemonAdditionalStep:5,"5":"DemonAdditionalStep",SpiritTargetMove:6,"6":"SpiritTargetMove",PickupBomb:7,"7":"PickupBomb",PickupPotion:8,"8":"PickupPotion",PickupMana:9,"9":"PickupMana",MonFainted:10,"10":"MonFainted",ManaDropped:11,"11":"ManaDropped",SupermanaBackToBase:12,"12":"SupermanaBackToBase",BombAttack:13,"13":"BombAttack",MonAwake:14,"14":"MonAwake",BombExplosion:15,"15":"BombExplosion",NextTurn:16,"16":"NextTurn",GameOver:17,"17":"GameOver",Takeback:18,"18":"Takeback",UsePotion:19,"19":"UsePotion", });
228
+ module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
229
229
  /**
230
230
  */
231
- module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
231
+ module.exports.NextInputKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",MysticAction:2,"2":"MysticAction",DemonAction:3,"3":"DemonAction",DemonAdditionalStep:4,"4":"DemonAdditionalStep",SpiritTargetCapture:5,"5":"SpiritTargetCapture",SpiritTargetMove:6,"6":"SpiritTargetMove",SelectConsumable:7,"7":"SelectConsumable",BombAttack:8,"8":"BombAttack", });
232
232
  /**
233
233
  */
234
- module.exports.NextInputKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",MysticAction:2,"2":"MysticAction",DemonAction:3,"3":"DemonAction",DemonAdditionalStep:4,"4":"DemonAdditionalStep",SpiritTargetCapture:5,"5":"SpiritTargetCapture",SpiritTargetMove:6,"6":"SpiritTargetMove",SelectConsumable:7,"7":"SelectConsumable",BombAttack:8,"8":"BombAttack", });
234
+ module.exports.MonKind = Object.freeze({ Demon:0,"0":"Demon",Drainer:1,"1":"Drainer",Angel:2,"2":"Angel",Spirit:3,"3":"Spirit",Mystic:4,"4":"Mystic", });
235
235
 
236
236
  const EventModelFinalization = (typeof FinalizationRegistry === 'undefined')
237
237
  ? { register: () => {}, unregister: () => {} }
@@ -1397,11 +1397,6 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
1397
1397
  return addHeapObject(ret);
1398
1398
  };
1399
1399
 
1400
- module.exports.__wbg_nextinputmodel_new = function(arg0) {
1401
- const ret = NextInputModel.__wrap(arg0);
1402
- return addHeapObject(ret);
1403
- };
1404
-
1405
1400
  module.exports.__wbg_location_new = function(arg0) {
1406
1401
  const ret = Location.__wrap(arg0);
1407
1402
  return addHeapObject(ret);
@@ -1412,6 +1407,11 @@ module.exports.__wbg_eventmodel_new = function(arg0) {
1412
1407
  return addHeapObject(ret);
1413
1408
  };
1414
1409
 
1410
+ module.exports.__wbg_nextinputmodel_new = function(arg0) {
1411
+ const ret = NextInputModel.__wrap(arg0);
1412
+ return addHeapObject(ret);
1413
+ };
1414
+
1415
1415
  module.exports.__wbg_location_unwrap = function(arg0) {
1416
1416
  const ret = Location.__unwrap(takeObject(arg0));
1417
1417
  return ret;
package/mons-rust_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mons-rust",
3
3
  "description": "super metal mons",
4
- "version": "0.1.125",
4
+ "version": "0.1.127",
5
5
  "license": "CC0-1.0",
6
6
  "repository": {
7
7
  "type": "git",