mons-rust 0.1.124 → 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,36 +7,39 @@ 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
- - active backlog: `AUTOMOVE_IDEAS.md`
13
+ - live board: `AUTOMOVE_IDEAS.md`
14
14
  - durable lessons: `docs/automove-knowledge.md`
15
15
  - archive: `docs/automove-archive.md`
16
- - compatibility pointer: `docs/automove-experiments.md`
17
16
 
18
- Session-start commands:
17
+ Public Pro runtime currently routes through `frontier_pro_v2_guarded`; `shipping_pro_search` remains the retained search-only baseline profile.
19
18
 
20
- - `./scripts/run-automove-experiment.sh guardrails <candidate>`
21
- - `SMART_TRIAGE_SURFACE=<surface> ./scripts/run-automove-experiment.sh triage <candidate>`
22
- - `SMART_TRIAGE_SURFACE=<opening_reply|primary_pro> ./scripts/run-automove-experiment.sh pro-triage <candidate>`
23
- - `./scripts/run-automove-experiment.sh runtime-preflight <candidate>`
24
- - `SMART_PROMOTION_TARGET_MODE=<fast|normal> ./scripts/run-automove-experiment.sh fast-screen <candidate>`
25
- - `./scripts/run-automove-experiment.sh pro-fast-screen <candidate>`
26
- - `./scripts/clean-experiment-artifacts.sh --dry-run`
19
+ Quickstart:
27
20
 
28
- Default artifact layout:
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`
29
25
 
30
- - logs: `target/experiment-runs/<candidate>/`
31
- - workflow-only logs: `target/experiment-runs/misc/`
32
- - runtime-preflight stamps: `target/experiment-stamps/`
26
+ Retained profile surface:
27
+
28
+ - `shipping_pro_search`
29
+ - `frontier_pro_v2_guarded`
30
+
31
+ Glossary:
33
32
 
34
- Compatibility 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
35
37
 
36
- - `preflight`, `pre-screen`, and `pro-pre-screen` still exist, but they are legacy diagnostics.
37
- - `audit-screen` and `pro-audit-screen` are spot checks for clean triage rejects, not promotion evidence.
38
- - Unless a note says otherwise, new candidates should branch from `runtime_current`.
39
- - Shipping runtime note: the package release ships `runtime_current`; `runtime_pro_turn_engine_v30` is the retained Pro frontier for offline experiments, and `runtime_pro_turn_engine_v1` remains reference-only history.
38
+ Artifact layout:
39
+
40
+ - selected-profile logs: `target/experiment-runs/<profile>/`
41
+ - workflow-only logs: `target/experiment-runs/misc/`
42
+ - runtime-preflight stamps: `target/experiment-stamps/`
40
43
 
41
44
  ## rules-tests runner
42
45
 
@@ -84,8 +87,8 @@ Pack a directory back into chunks:
84
87
  Release checklist:
85
88
 
86
89
  - Review `git status` before publish and confirm only intentional committed changes are present.
87
- - Confirm `runtime_current` is still the shipping automove path.
88
- - Confirm retained Pro experiment frontiers (`runtime_pro_turn_engine_v30` and newer candidate-only follow-ups) remain fenced off from production.
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.
89
92
  - Run `cargo test`.
90
93
  - Run `cargo test --release --lib smart_automove_release_opening_black_reply_speed_gate -- --ignored --nocapture`.
91
94
  - Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
@@ -96,10 +99,10 @@ Production blockers:
96
99
 
97
100
  - build/test failures
98
101
  - release speed gate failures
99
- - any regression that enables turn-engine in shipping `runtime_current`
102
+ - any regression in the deployed `frontier_pro_v2_guarded` Pro path
100
103
 
101
104
  Non-blocking retained experiment state:
102
105
 
103
- - retained Pro frontier profiles (`runtime_pro_turn_engine_v30`, candidate-only follow-ups, and `runtime_pro_turn_engine_v1` as reference history) plus ignored probes
106
+ - the retained `shipping_pro_search` baseline, the retained `frontier_pro_v2_guarded` frontier, and ignored probes
104
107
  - experiment workflow/logging helpers
105
108
  - compressed automove backlog / knowledge / archive docs
package/mons-rust.d.ts CHANGED
@@ -10,56 +10,10 @@
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 ItemModelKind {
14
- Mon = 0,
15
- Mana = 1,
16
- MonWithMana = 2,
17
- MonWithConsumable = 3,
18
- Consumable = 4,
19
- }
20
- /**
21
- */
22
- export enum AvailableMoveKind {
23
- MonMove = 0,
24
- ManaMove = 1,
25
- Action = 2,
26
- Potion = 3,
27
- }
28
- /**
29
- */
30
- export enum MonKind {
31
- Demon = 0,
32
- Drainer = 1,
33
- Angel = 2,
34
- Spirit = 3,
35
- Mystic = 4,
36
- }
37
- /**
38
- */
39
- export enum Color {
40
- White = 0,
41
- Black = 1,
42
- }
43
- /**
44
- */
45
- export enum Consumable {
46
- Potion = 0,
47
- Bomb = 1,
48
- BombOrPotion = 2,
49
- }
50
- /**
51
- */
52
- export enum OutputModelKind {
53
- InvalidInput = 0,
54
- LocationsToStartFrom = 1,
55
- NextInputOptions = 2,
56
- Events = 3,
57
- }
58
- /**
59
- */
60
- export enum ManaKind {
61
- Regular = 0,
62
- Supermana = 1,
13
+ export enum Modifier {
14
+ SelectPotion = 0,
15
+ SelectBomb = 1,
16
+ Cancel = 2,
63
17
  }
64
18
  /**
65
19
  */
@@ -87,6 +41,23 @@ export enum EventModelKind {
87
41
  }
88
42
  /**
89
43
  */
44
+ export enum ItemModelKind {
45
+ Mon = 0,
46
+ Mana = 1,
47
+ MonWithMana = 2,
48
+ MonWithConsumable = 3,
49
+ Consumable = 4,
50
+ }
51
+ /**
52
+ */
53
+ export enum OutputModelKind {
54
+ InvalidInput = 0,
55
+ LocationsToStartFrom = 1,
56
+ NextInputOptions = 2,
57
+ Events = 3,
58
+ }
59
+ /**
60
+ */
90
61
  export enum SquareModelKind {
91
62
  Regular = 0,
92
63
  ConsumableBase = 1,
@@ -97,10 +68,30 @@ export enum SquareModelKind {
97
68
  }
98
69
  /**
99
70
  */
100
- export enum Modifier {
101
- SelectPotion = 0,
102
- SelectBomb = 1,
103
- Cancel = 2,
71
+ export enum ManaKind {
72
+ Regular = 0,
73
+ Supermana = 1,
74
+ }
75
+ /**
76
+ */
77
+ export enum Consumable {
78
+ Potion = 0,
79
+ Bomb = 1,
80
+ BombOrPotion = 2,
81
+ }
82
+ /**
83
+ */
84
+ export enum AvailableMoveKind {
85
+ MonMove = 0,
86
+ ManaMove = 1,
87
+ Action = 2,
88
+ Potion = 3,
89
+ }
90
+ /**
91
+ */
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", });
205
- /**
206
- */
207
- module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
204
+ module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
208
205
  /**
209
206
  */
210
- 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", });
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", });
211
208
  /**
212
209
  */
213
- module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
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", });
214
211
  /**
215
212
  */
216
- module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
213
+ module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
217
214
  /**
218
215
  */
219
- module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
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", });
220
217
  /**
221
218
  */
222
219
  module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
223
220
  /**
224
221
  */
225
- 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", });
222
+ module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
226
223
  /**
227
224
  */
228
- 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", });
225
+ module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
229
226
  /**
230
227
  */
231
- module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
228
+ module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
232
229
  /**
233
230
  */
234
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
+ /**
233
+ */
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: () => {} }
@@ -651,14 +651,14 @@ class Mon {
651
651
  * @returns {number}
652
652
  */
653
653
  get cooldown() {
654
- const ret = wasm.__wbg_get_mon_cooldown(this.__wbg_ptr);
654
+ const ret = wasm.__wbg_get_location_i(this.__wbg_ptr);
655
655
  return ret;
656
656
  }
657
657
  /**
658
658
  * @param {number} arg0
659
659
  */
660
660
  set cooldown(arg0) {
661
- wasm.__wbg_set_mon_cooldown(this.__wbg_ptr, arg0);
661
+ wasm.__wbg_set_location_i(this.__wbg_ptr, arg0);
662
662
  }
663
663
  /**
664
664
  * @returns {boolean}
@@ -1402,18 +1402,13 @@ module.exports.__wbg_location_new = function(arg0) {
1402
1402
  return addHeapObject(ret);
1403
1403
  };
1404
1404
 
1405
- module.exports.__wbg_nextinputmodel_new = function(arg0) {
1406
- const ret = NextInputModel.__wrap(arg0);
1407
- return addHeapObject(ret);
1408
- };
1409
-
1410
1405
  module.exports.__wbg_eventmodel_new = function(arg0) {
1411
1406
  const ret = EventModel.__wrap(arg0);
1412
1407
  return addHeapObject(ret);
1413
1408
  };
1414
1409
 
1415
- module.exports.__wbg_verbosetrackingentitymodel_new = function(arg0) {
1416
- const ret = VerboseTrackingEntityModel.__wrap(arg0);
1410
+ module.exports.__wbg_nextinputmodel_new = function(arg0) {
1411
+ const ret = NextInputModel.__wrap(arg0);
1417
1412
  return addHeapObject(ret);
1418
1413
  };
1419
1414
 
@@ -1422,6 +1417,11 @@ module.exports.__wbg_location_unwrap = function(arg0) {
1422
1417
  return ret;
1423
1418
  };
1424
1419
 
1420
+ module.exports.__wbg_verbosetrackingentitymodel_new = function(arg0) {
1421
+ const ret = VerboseTrackingEntityModel.__wrap(arg0);
1422
+ return addHeapObject(ret);
1423
+ };
1424
+
1425
1425
  module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
1426
1426
  const ret = getObject(arg0).crypto;
1427
1427
  return addHeapObject(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.124",
4
+ "version": "0.1.127",
5
5
  "license": "CC0-1.0",
6
6
  "repository": {
7
7
  "type": "git",