mons-rust 0.1.124 → 0.1.125
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 +29 -18
- package/mons-rust.d.ts +31 -31
- package/mons-rust.js +20 -20
- package/mons-rust_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,34 +10,45 @@ or
|
|
|
10
10
|
Canonical automove workflow:
|
|
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
|
-
- compatibility pointer: `docs/automove-experiments.md`
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
Active experiment stages:
|
|
19
18
|
|
|
20
|
-
-
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
23
|
-
-
|
|
24
|
-
- `
|
|
25
|
-
|
|
19
|
+
- `guardrails`
|
|
20
|
+
- `pro-triage`
|
|
21
|
+
- `runtime-preflight`
|
|
22
|
+
- `pro-reliability`
|
|
23
|
+
- `pro-reliability-confirm`
|
|
24
|
+
|
|
25
|
+
Canonical commands:
|
|
26
|
+
|
|
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`
|
|
26
32
|
- `./scripts/clean-experiment-artifacts.sh --dry-run`
|
|
27
33
|
|
|
34
|
+
Active retained profile surface:
|
|
35
|
+
|
|
36
|
+
- `runtime_current`
|
|
37
|
+
- `runtime_pro_turn_engine_v30`
|
|
38
|
+
|
|
39
|
+
Notes:
|
|
40
|
+
|
|
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.
|
|
45
|
+
|
|
28
46
|
Default artifact layout:
|
|
29
47
|
|
|
30
48
|
- logs: `target/experiment-runs/<candidate>/`
|
|
31
49
|
- workflow-only logs: `target/experiment-runs/misc/`
|
|
32
50
|
- runtime-preflight stamps: `target/experiment-stamps/`
|
|
33
51
|
|
|
34
|
-
Compatibility notes:
|
|
35
|
-
|
|
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.
|
|
40
|
-
|
|
41
52
|
## rules-tests runner
|
|
42
53
|
|
|
43
54
|
Fixtures are stored as chunk archives in `rules-tests-chunks/` (default: `100000` fixtures per chunk).
|
|
@@ -85,7 +96,7 @@ Release checklist:
|
|
|
85
96
|
|
|
86
97
|
- Review `git status` before publish and confirm only intentional committed changes are present.
|
|
87
98
|
- Confirm `runtime_current` is still the shipping automove path.
|
|
88
|
-
- Confirm
|
|
99
|
+
- Confirm `runtime_pro_turn_engine_v30` remains fenced off as an offline experiment frontier.
|
|
89
100
|
- Run `cargo test`.
|
|
90
101
|
- Run `cargo test --release --lib smart_automove_release_opening_black_reply_speed_gate -- --ignored --nocapture`.
|
|
91
102
|
- Run `cargo test --release --lib smart_automove_release_mixed_runtime_speed_gate -- --ignored --nocapture`.
|
|
@@ -100,6 +111,6 @@ Production blockers:
|
|
|
100
111
|
|
|
101
112
|
Non-blocking retained experiment state:
|
|
102
113
|
|
|
103
|
-
- retained
|
|
114
|
+
- the retained `runtime_pro_turn_engine_v30` frontier plus ignored probes
|
|
104
115
|
- experiment workflow/logging helpers
|
|
105
116
|
- compressed automove backlog / knowledge / archive docs
|
package/mons-rust.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export enum ItemModelKind {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
*/
|
|
22
|
+
export enum ManaKind {
|
|
23
|
+
Regular = 0,
|
|
24
|
+
Supermana = 1,
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
*/
|
|
22
28
|
export enum AvailableMoveKind {
|
|
23
29
|
MonMove = 0,
|
|
24
30
|
ManaMove = 1,
|
|
@@ -27,12 +33,20 @@ export enum AvailableMoveKind {
|
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
29
35
|
*/
|
|
30
|
-
export enum
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
export enum SquareModelKind {
|
|
37
|
+
Regular = 0,
|
|
38
|
+
ConsumableBase = 1,
|
|
39
|
+
SupermanaBase = 2,
|
|
40
|
+
ManaBase = 3,
|
|
41
|
+
ManaPool = 4,
|
|
42
|
+
MonBase = 5,
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
*/
|
|
46
|
+
export enum Modifier {
|
|
47
|
+
SelectPotion = 0,
|
|
48
|
+
SelectBomb = 1,
|
|
49
|
+
Cancel = 2,
|
|
36
50
|
}
|
|
37
51
|
/**
|
|
38
52
|
*/
|
|
@@ -49,17 +63,12 @@ export enum Consumable {
|
|
|
49
63
|
}
|
|
50
64
|
/**
|
|
51
65
|
*/
|
|
52
|
-
export enum
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
*/
|
|
60
|
-
export enum ManaKind {
|
|
61
|
-
Regular = 0,
|
|
62
|
-
Supermana = 1,
|
|
66
|
+
export enum MonKind {
|
|
67
|
+
Demon = 0,
|
|
68
|
+
Drainer = 1,
|
|
69
|
+
Angel = 2,
|
|
70
|
+
Spirit = 3,
|
|
71
|
+
Mystic = 4,
|
|
63
72
|
}
|
|
64
73
|
/**
|
|
65
74
|
*/
|
|
@@ -87,20 +96,11 @@ export enum EventModelKind {
|
|
|
87
96
|
}
|
|
88
97
|
/**
|
|
89
98
|
*/
|
|
90
|
-
export enum
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
ManaPool = 4,
|
|
96
|
-
MonBase = 5,
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
*/
|
|
100
|
-
export enum Modifier {
|
|
101
|
-
SelectPotion = 0,
|
|
102
|
-
SelectBomb = 1,
|
|
103
|
-
Cancel = 2,
|
|
99
|
+
export enum OutputModelKind {
|
|
100
|
+
InvalidInput = 0,
|
|
101
|
+
LocationsToStartFrom = 1,
|
|
102
|
+
NextInputOptions = 2,
|
|
103
|
+
Events = 3,
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
*/
|
package/mons-rust.js
CHANGED
|
@@ -204,31 +204,31 @@ function handleError(f, args) {
|
|
|
204
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
205
|
/**
|
|
206
206
|
*/
|
|
207
|
-
module.exports.
|
|
207
|
+
module.exports.ManaKind = Object.freeze({ Regular:0,"0":"Regular",Supermana:1,"1":"Supermana", });
|
|
208
208
|
/**
|
|
209
209
|
*/
|
|
210
|
-
module.exports.
|
|
210
|
+
module.exports.AvailableMoveKind = Object.freeze({ MonMove:0,"0":"MonMove",ManaMove:1,"1":"ManaMove",Action:2,"2":"Action",Potion:3,"3":"Potion", });
|
|
211
211
|
/**
|
|
212
212
|
*/
|
|
213
|
-
module.exports.
|
|
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", });
|
|
214
214
|
/**
|
|
215
215
|
*/
|
|
216
|
-
module.exports.
|
|
216
|
+
module.exports.Modifier = Object.freeze({ SelectPotion:0,"0":"SelectPotion",SelectBomb:1,"1":"SelectBomb",Cancel:2,"2":"Cancel", });
|
|
217
217
|
/**
|
|
218
218
|
*/
|
|
219
|
-
module.exports.
|
|
219
|
+
module.exports.Color = Object.freeze({ White:0,"0":"White",Black:1,"1":"Black", });
|
|
220
220
|
/**
|
|
221
221
|
*/
|
|
222
|
-
module.exports.
|
|
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.
|
|
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", });
|
|
226
226
|
/**
|
|
227
227
|
*/
|
|
228
|
-
module.exports.
|
|
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", });
|
|
229
229
|
/**
|
|
230
230
|
*/
|
|
231
|
-
module.exports.
|
|
231
|
+
module.exports.OutputModelKind = Object.freeze({ InvalidInput:0,"0":"InvalidInput",LocationsToStartFrom:1,"1":"LocationsToStartFrom",NextInputOptions:2,"2":"NextInputOptions",Events:3,"3":"Events", });
|
|
232
232
|
/**
|
|
233
233
|
*/
|
|
234
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", });
|
|
@@ -651,14 +651,14 @@ class Mon {
|
|
|
651
651
|
* @returns {number}
|
|
652
652
|
*/
|
|
653
653
|
get cooldown() {
|
|
654
|
-
const ret = wasm.
|
|
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.
|
|
661
|
+
wasm.__wbg_set_location_i(this.__wbg_ptr, arg0);
|
|
662
662
|
}
|
|
663
663
|
/**
|
|
664
664
|
* @returns {boolean}
|
|
@@ -1397,23 +1397,18 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
1397
1397
|
return addHeapObject(ret);
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
|
-
module.exports.__wbg_location_new = function(arg0) {
|
|
1401
|
-
const ret = Location.__wrap(arg0);
|
|
1402
|
-
return addHeapObject(ret);
|
|
1403
|
-
};
|
|
1404
|
-
|
|
1405
1400
|
module.exports.__wbg_nextinputmodel_new = function(arg0) {
|
|
1406
1401
|
const ret = NextInputModel.__wrap(arg0);
|
|
1407
1402
|
return addHeapObject(ret);
|
|
1408
1403
|
};
|
|
1409
1404
|
|
|
1410
|
-
module.exports.
|
|
1411
|
-
const ret =
|
|
1405
|
+
module.exports.__wbg_location_new = function(arg0) {
|
|
1406
|
+
const ret = Location.__wrap(arg0);
|
|
1412
1407
|
return addHeapObject(ret);
|
|
1413
1408
|
};
|
|
1414
1409
|
|
|
1415
|
-
module.exports.
|
|
1416
|
-
const ret =
|
|
1410
|
+
module.exports.__wbg_eventmodel_new = function(arg0) {
|
|
1411
|
+
const ret = EventModel.__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
|