@plasius/ai-game 0.6.0 → 0.6.2
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/CHANGELOG.md +32 -0
- package/README.md +48 -1
- package/dist/index.cjs +680 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +248 -1
- package/dist/index.d.ts +248 -1
- package/dist/index.js +628 -5
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0015-mcc-guidance-contract-boundary.md +62 -0
- package/docs/adrs/adr-0017-tutorial-contract-boundary.md +65 -0
- package/docs/adrs/index.md +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,36 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
17
17
|
- **Security**
|
|
18
18
|
- (placeholder)
|
|
19
19
|
|
|
20
|
+
## [0.6.2] - 2026-07-11
|
|
21
|
+
|
|
22
|
+
- **Added**
|
|
23
|
+
- Added versioned tutorial-step, progression-state, prerequisite-marker, contextual-trigger, and replay metadata contracts under `isekai.player-system.tutorial.enabled`.
|
|
24
|
+
- Added immutable tutorial-track factories with stage, combat-safety, collection-bound, and reference validation.
|
|
25
|
+
|
|
26
|
+
- **Changed**
|
|
27
|
+
- (placeholder)
|
|
28
|
+
|
|
29
|
+
- **Fixed**
|
|
30
|
+
- (placeholder)
|
|
31
|
+
|
|
32
|
+
- **Security**
|
|
33
|
+
- (placeholder)
|
|
34
|
+
|
|
35
|
+
## [0.6.1] - 2026-07-11
|
|
36
|
+
|
|
37
|
+
- **Added**
|
|
38
|
+
- Added bounded MCC focus-target, readiness-warning, spellcraft recommendation, and preview-only advisory contracts under `isekai.player-system.mcc-guidance.enabled`.
|
|
39
|
+
- Added immutable guidance snapshot factories with reference, severity, and collection-bound validation.
|
|
40
|
+
|
|
41
|
+
- **Changed**
|
|
42
|
+
- (placeholder)
|
|
43
|
+
|
|
44
|
+
- **Fixed**
|
|
45
|
+
- (placeholder)
|
|
46
|
+
|
|
47
|
+
- **Security**
|
|
48
|
+
- (placeholder)
|
|
49
|
+
|
|
20
50
|
## [0.6.0] - 2026-07-11
|
|
21
51
|
|
|
22
52
|
- **Added**
|
|
@@ -230,3 +260,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
230
260
|
[0.4.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.4.0
|
|
231
261
|
[0.5.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.5.0
|
|
232
262
|
[0.6.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.0
|
|
263
|
+
[0.6.1]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.1
|
|
264
|
+
[0.6.2]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.2
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @plasius/ai-game
|
|
2
2
|
|
|
3
|
-
Game-domain AI contracts for player action validation, adaptive System missions, NPC actions, gossip, observed event logs, Quiet Measure mission probes, Judgment disclosure surfaces, and Player System-readable training recommendations.
|
|
3
|
+
Game-domain AI contracts for player action validation, adaptive System missions, NPC actions, gossip, observed event logs, Quiet Measure mission probes, Judgment disclosure surfaces, MCC guidance, and Player System-readable training recommendations.
|
|
4
4
|
|
|
5
5
|
## Scope
|
|
6
6
|
|
|
@@ -128,6 +128,51 @@ Use `createAiGameMissionDefinition()`,
|
|
|
128
128
|
surface intentionally avoids raw telemetry, progression writes, and
|
|
129
129
|
authority-owned tuning data.
|
|
130
130
|
|
|
131
|
+
## MCC guidance contracts
|
|
132
|
+
|
|
133
|
+
MCC guidance contracts provide a bounded Player System bridge under
|
|
134
|
+
`isekai.player-system.mcc-guidance.enabled`:
|
|
135
|
+
|
|
136
|
+
- `AiGameMccFocusTarget` carries a declared `internalized`, `externalized`, or
|
|
137
|
+
`hybrid` growth direction with bounded mission influence.
|
|
138
|
+
- `AiGameMccReadinessState` exposes `stable`, `pressured`, or `restricted`
|
|
139
|
+
readiness plus explicit thermal, fatigue, chaos-pressure, target-burden,
|
|
140
|
+
stage-gate, and death-impairment warnings.
|
|
141
|
+
- `AiGameSpellcraftRecommendation` describes training, material,
|
|
142
|
+
social-prerequisite, or refinement guidance without becoming an authority
|
|
143
|
+
write.
|
|
144
|
+
- `AiGameSpellcraftAdvisory` is explicitly `preview-only` and points to the
|
|
145
|
+
`spellcraft-system` as the authoritative owner for feasibility and authoring.
|
|
146
|
+
- `createAiGameMccGuidanceSnapshot()` validates references, bounds collection
|
|
147
|
+
sizes, and freezes the complete payload for transport.
|
|
148
|
+
|
|
149
|
+
The growth-direction vocabulary is validated through the published
|
|
150
|
+
`@plasius/training` authority package. MCC feasibility, spell grammar, risk
|
|
151
|
+
validation, and state mutation remain outside `@plasius/ai-game`.
|
|
152
|
+
|
|
153
|
+
## Tutorial contracts
|
|
154
|
+
|
|
155
|
+
Tutorial contracts provide dormant, contextual Player System coaching under
|
|
156
|
+
`isekai.player-system.tutorial.enabled`:
|
|
157
|
+
|
|
158
|
+
- `AiGameTutorialStep` describes a per-action capability, canonical evolution
|
|
159
|
+
stage, trigger kinds, prerequisite markers, replayability, and combat-safe
|
|
160
|
+
presentation.
|
|
161
|
+
- `AiGameTutorialProgressionState` records active, dormant, completed, and
|
|
162
|
+
declined state together with completed steps, refusal count, replay count,
|
|
163
|
+
and trigger/replay timestamps.
|
|
164
|
+
- `AiGameTutorialPrerequisite` defines bounded markers for school access,
|
|
165
|
+
apprenticeship, academy admission, guild standing, divine progression, and
|
|
166
|
+
spellcraft readiness without becoming the authority for those systems.
|
|
167
|
+
- `AiGameTutorialTrigger` supports awakening, first-action, explicit-request,
|
|
168
|
+
and progression-gated resurfacing.
|
|
169
|
+
- `createAiGameTutorialTrack()` validates all step, prerequisite, trigger, and
|
|
170
|
+
progression references and freezes the complete transport payload.
|
|
171
|
+
|
|
172
|
+
Tutorial tracks are foregrounded for first contact, dormant by default after
|
|
173
|
+
onboarding, replayable after unlock, and reduced to safe cues during active
|
|
174
|
+
combat unless the player explicitly enters a safe tutorial scenario.
|
|
175
|
+
|
|
131
176
|
## Quiet Measure contracts
|
|
132
177
|
|
|
133
178
|
The Quiet Measure surface is intentionally structured as a hidden-runtime contract, not a turnkey morality meter.
|
|
@@ -198,6 +243,8 @@ npm run pack:check
|
|
|
198
243
|
- `isekai.player-system.quiet-measure.enabled`
|
|
199
244
|
- `isekai.player-system.core.enabled`
|
|
200
245
|
- `isekai.player-system.guidance-nfr.enabled`
|
|
246
|
+
- `isekai.player-system.mcc-guidance.enabled`
|
|
247
|
+
- `isekai.player-system.tutorial.enabled`
|
|
201
248
|
- `isekai.player-system.identity.enabled`
|
|
202
249
|
- `isekai.player-system.logs.enabled`
|
|
203
250
|
- `isekai.training.institutions.enabled`
|