mons-rust 0.1.131 → 0.1.132

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
@@ -12,26 +12,31 @@ Docs:
12
12
 
13
13
  - runbook: `HOW_TO_ITERATE_ON_AUTOMOVE.md`
14
14
  - live board: `AUTOMOVE_IDEAS.md`
15
+ - structural review: `docs/automove-structural-review.md`
15
16
  - durable rules: `docs/automove-knowledge.md`
16
17
  - archive: `docs/automove-archive.md`
17
18
 
18
19
  Live surface:
19
20
 
20
- - retained profiles: `shipping_pro_search`, `frontier_pro_v2_guarded`
21
+ - retained profiles: `shipping_pro_search`, previous-production `frontier_pro_v2_guarded`, promoted `frontier_pro_v10_bounded_tactical`
21
22
  - canonical stages: `guardrails`, `pro-triage`, `runtime-preflight`, `pro-reliability`, `pro-reliability-confirm`
22
23
 
23
24
  Quickstart:
24
25
 
25
- - `./scripts/run-automove-canonical-loop.sh frontier_pro_v2_guarded`
26
- - `./scripts/run-automove-canonical-loop.sh --confirm frontier_pro_v2_guarded`
27
- - `./scripts/run-automove-experiment.sh <stage> frontier_pro_v2_guarded`
26
+ - `./scripts/run-automove-canonical-loop.sh frontier_pro_v10_bounded_tactical`
27
+ - `./scripts/run-automove-canonical-loop.sh --confirm frontier_pro_v10_bounded_tactical`
28
+ - `./scripts/run-automove-experiment.sh <stage> frontier_pro_v10_bounded_tactical`
29
+ - `./scripts/run-automove-experiment.sh pro-profile-sweep frontier_pro_v2_raw`
30
+ - `./scripts/check-automove-hygiene.sh`
28
31
  - `./scripts/clean-experiment-artifacts.sh --dry-run`
32
+ - `./scripts/clean-experiment-artifacts.sh --dry-run --all-target`
29
33
 
30
34
  Artifacts:
31
35
 
32
36
  - selected-profile logs: `target/experiment-runs/<profile>/`
33
37
  - workflow-only logs: `target/experiment-runs/misc/`
34
38
  - runtime-preflight stamps: `target/experiment-stamps/`
39
+ - full local build/artifact cache: `target/` via `--all-target`
35
40
 
36
41
  ## Rules Tests
37
42
 
@@ -56,10 +61,14 @@ Use `keep/<name>` for any branch that should survive repo cleanup.
56
61
 
57
62
  ## Publishing
58
63
 
64
+ - Set the release version in `Cargo.toml` and `Cargo.lock`, then commit the complete release change set. `publish.sh` refuses a dirty worktree and no longer mutates the version after validation.
59
65
  - `./publish.sh`
60
- - Confirm public Pro still routes through `frontier_pro_v2_guarded`.
61
- - Confirm `shipping_pro_search` remains available as the retained baseline.
66
+ - Confirm public Pro routes through `frontier_pro_v10_bounded_tactical`.
67
+ - Confirm `frontier_pro_v2_guarded` and `shipping_pro_search` remain available as the previous-production comparator and search-only baseline.
62
68
  - Run `cargo test`.
63
- - Run `cargo test --release --lib smart_automove_release_opening_black_reply_speed_gate -- --ignored --nocapture`.
64
- - Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
69
+ - Run `cargo test --release --lib smart_automove_pro_matches_frontier_bounded_tactical_selector_on_release_fixture`.
70
+ - Run `cargo test --release --lib automove_runtime_black_turn_eight_deadline_tail_probe -- --ignored --nocapture` to enforce the whole-call `700ms` ceiling.
71
+ - Run `./scripts/check-automove-hygiene.sh`.
72
+ - Run `./scripts/assert-release-package-surface.sh pkg/web pkg/node` after the Wasm packages are built.
73
+ - Run `node ./scripts/assert-release-automove-route.cjs pkg/node/mons-rust.js` to verify the generated package routes public Pro through bounded tactical v10 on a fixture that differs from both retained v2 and shipping search.
65
74
  - Clean disposable experiment artifacts after validation with `./scripts/clean-experiment-artifacts.sh`.
package/mons-rust.d.ts CHANGED
@@ -10,18 +10,11 @@
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 ManaKind {
14
- Regular = 0,
15
- Supermana = 1,
16
- }
17
- /**
18
- */
19
- export enum ItemModelKind {
20
- Mon = 0,
21
- Mana = 1,
22
- MonWithMana = 2,
23
- MonWithConsumable = 3,
24
- Consumable = 4,
13
+ export enum AvailableMoveKind {
14
+ MonMove = 0,
15
+ ManaMove = 1,
16
+ Action = 2,
17
+ Potion = 3,
25
18
  }
26
19
  /**
27
20
  */
@@ -59,19 +52,12 @@ export enum SquareModelKind {
59
52
  }
60
53
  /**
61
54
  */
62
- export enum GameVariant {
63
- Classic = 0,
64
- SwappedManaRows = 1,
65
- OffsetArcManaRows = 2,
66
- CenterSpokeManaRows = 3,
67
- AlternatingManaRows = 4,
68
- InnerWedgeManaRows = 5,
69
- OuterWedgeManaRows = 6,
70
- BentCenterManaRows = 7,
71
- OuterEdgeManaRows = 8,
72
- SplitFlankManaRows = 9,
73
- ForwardBridgeManaRows = 10,
74
- CornerChainManaRows = 11,
55
+ export enum MonKind {
56
+ Demon = 0,
57
+ Drainer = 1,
58
+ Angel = 2,
59
+ Spirit = 3,
60
+ Mystic = 4,
75
61
  }
76
62
  /**
77
63
  */
@@ -88,11 +74,10 @@ export enum NextInputKind {
88
74
  }
89
75
  /**
90
76
  */
91
- export enum AvailableMoveKind {
92
- MonMove = 0,
93
- ManaMove = 1,
94
- Action = 2,
95
- Potion = 3,
77
+ export enum Consumable {
78
+ Potion = 0,
79
+ Bomb = 1,
80
+ BombOrPotion = 2,
96
81
  }
97
82
  /**
98
83
  */
@@ -102,6 +87,12 @@ export enum Color {
102
87
  }
103
88
  /**
104
89
  */
90
+ export enum ManaKind {
91
+ Regular = 0,
92
+ Supermana = 1,
93
+ }
94
+ /**
95
+ */
105
96
  export enum Modifier {
106
97
  SelectPotion = 0,
107
98
  SelectBomb = 1,
@@ -109,10 +100,12 @@ export enum Modifier {
109
100
  }
110
101
  /**
111
102
  */
112
- export enum Consumable {
113
- Potion = 0,
114
- Bomb = 1,
115
- BombOrPotion = 2,
103
+ export enum ItemModelKind {
104
+ Mon = 0,
105
+ Mana = 1,
106
+ MonWithMana = 2,
107
+ MonWithConsumable = 3,
108
+ Consumable = 4,
116
109
  }
117
110
  /**
118
111
  */
@@ -124,12 +117,19 @@ export enum OutputModelKind {
124
117
  }
125
118
  /**
126
119
  */
127
- export enum MonKind {
128
- Demon = 0,
129
- Drainer = 1,
130
- Angel = 2,
131
- Spirit = 3,
132
- Mystic = 4,
120
+ export enum GameVariant {
121
+ Classic = 0,
122
+ SwappedManaRows = 1,
123
+ OffsetArcManaRows = 2,
124
+ CenterSpokeManaRows = 3,
125
+ AlternatingManaRows = 4,
126
+ InnerWedgeManaRows = 5,
127
+ OuterWedgeManaRows = 6,
128
+ BentCenterManaRows = 7,
129
+ OuterEdgeManaRows = 8,
130
+ SplitFlankManaRows = 9,
131
+ ForwardBridgeManaRows = 10,
132
+ CornerChainManaRows = 11,
133
133
  }
134
134
  /**
135
135
  */
package/mons-rust.js CHANGED
@@ -1,4 +1,5 @@
1
1
  let imports = {};
2
+ imports['./snippets/mons-rust-2106594ecd9a3eb2/inline0.js'] = require('./snippets/mons-rust-2106594ecd9a3eb2/inline0.js');
2
3
  imports['__wbindgen_placeholder__'] = module.exports;
3
4
  let wasm;
4
5
  const { TextDecoder, TextEncoder } = require(`util`);
@@ -201,10 +202,7 @@ function handleError(f, args) {
201
202
  }
202
203
  /**
203
204
  */
204
- module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
205
- /**
206
- */
207
- 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
+ module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
208
206
  /**
209
207
  */
210
208
  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", });
@@ -213,28 +211,31 @@ module.exports.EventModelKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove
213
211
  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", });
214
212
  /**
215
213
  */
216
- module.exports.GameVariant = Object.freeze({ Classic:0,"0":"Classic",SwappedManaRows:1,"1":"SwappedManaRows",OffsetArcManaRows:2,"2":"OffsetArcManaRows",CenterSpokeManaRows:3,"3":"CenterSpokeManaRows",AlternatingManaRows:4,"4":"AlternatingManaRows",InnerWedgeManaRows:5,"5":"InnerWedgeManaRows",OuterWedgeManaRows:6,"6":"OuterWedgeManaRows",BentCenterManaRows:7,"7":"BentCenterManaRows",OuterEdgeManaRows:8,"8":"OuterEdgeManaRows",SplitFlankManaRows:9,"9":"SplitFlankManaRows",ForwardBridgeManaRows:10,"10":"ForwardBridgeManaRows",CornerChainManaRows:11,"11":"CornerChainManaRows", });
214
+ 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", });
217
215
  /**
218
216
  */
219
217
  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", });
220
218
  /**
221
219
  */
222
- module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
220
+ module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
223
221
  /**
224
222
  */
225
223
  module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
226
224
  /**
227
225
  */
226
+ module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
227
+ /**
228
+ */
228
229
  module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
229
230
  /**
230
231
  */
231
- module.exports.Consumable = Object.freeze({ Potion:0,"0":"Potion",Bomb:1,"1":"Bomb",BombOrPotion:2,"2":"BombOrPotion", });
232
+ 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", });
232
233
  /**
233
234
  */
234
235
  module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
235
236
  /**
236
237
  */
237
- 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", });
238
+ module.exports.GameVariant = Object.freeze({ Classic:0,"0":"Classic",SwappedManaRows:1,"1":"SwappedManaRows",OffsetArcManaRows:2,"2":"OffsetArcManaRows",CenterSpokeManaRows:3,"3":"CenterSpokeManaRows",AlternatingManaRows:4,"4":"AlternatingManaRows",InnerWedgeManaRows:5,"5":"InnerWedgeManaRows",OuterWedgeManaRows:6,"6":"OuterWedgeManaRows",BentCenterManaRows:7,"7":"BentCenterManaRows",OuterEdgeManaRows:8,"8":"OuterEdgeManaRows",SplitFlankManaRows:9,"9":"SplitFlankManaRows",ForwardBridgeManaRows:10,"10":"ForwardBridgeManaRows",CornerChainManaRows:11,"11":"CornerChainManaRows", });
238
239
 
239
240
  const EventModelFinalization = (typeof FinalizationRegistry === 'undefined')
240
241
  ? { register: () => {}, unregister: () => {} }
@@ -1402,13 +1403,13 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
1402
1403
  return addHeapObject(ret);
1403
1404
  };
1404
1405
 
1405
- module.exports.__wbg_location_new = function(arg0) {
1406
- const ret = Location.__wrap(arg0);
1406
+ module.exports.__wbg_eventmodel_new = function(arg0) {
1407
+ const ret = EventModel.__wrap(arg0);
1407
1408
  return addHeapObject(ret);
1408
1409
  };
1409
1410
 
1410
- module.exports.__wbg_eventmodel_new = function(arg0) {
1411
- const ret = EventModel.__wrap(arg0);
1411
+ module.exports.__wbg_location_new = function(arg0) {
1412
+ const ret = Location.__wrap(arg0);
1412
1413
  return addHeapObject(ret);
1413
1414
  };
1414
1415
 
@@ -1417,16 +1418,16 @@ module.exports.__wbg_nextinputmodel_new = function(arg0) {
1417
1418
  return addHeapObject(ret);
1418
1419
  };
1419
1420
 
1420
- module.exports.__wbg_location_unwrap = function(arg0) {
1421
- const ret = Location.__unwrap(takeObject(arg0));
1422
- return ret;
1423
- };
1424
-
1425
1421
  module.exports.__wbg_verbosetrackingentitymodel_new = function(arg0) {
1426
1422
  const ret = VerboseTrackingEntityModel.__wrap(arg0);
1427
1423
  return addHeapObject(ret);
1428
1424
  };
1429
1425
 
1426
+ module.exports.__wbg_location_unwrap = function(arg0) {
1427
+ const ret = Location.__unwrap(takeObject(arg0));
1428
+ return ret;
1429
+ };
1430
+
1430
1431
  module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
1431
1432
  const ret = getObject(arg0).crypto;
1432
1433
  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.131",
4
+ "version": "0.1.132",
5
5
  "license": "CC0-1.0",
6
6
  "repository": {
7
7
  "type": "git",