@plasius/ai-game 0.6.6 → 0.6.8

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 CHANGED
@@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/)**, and this project adheres to **[Semantic Versioning](https://semver.org/spec/v2.0.0.html)**.
6
6
  ## [Unreleased]
7
7
 
8
+ - **Added**
9
+ - (placeholder)
10
+
11
+ - **Changed**
12
+ - (placeholder)
13
+
14
+ - **Fixed**
15
+ - (placeholder)
16
+
17
+ - **Security**
18
+ - (placeholder)
19
+
20
+ ## [0.6.8] - 2026-09-13
21
+
22
+ ### Changed
23
+ - Consume `@plasius/training` 1.0.2 and refresh compatible npm dependencies while preserving AI-game’s existing training rollout flag identifiers.
24
+
25
+
26
+ - **Added**
27
+ - (placeholder)
28
+
29
+ - **Changed**
30
+ - (placeholder)
31
+
32
+ - **Fixed**
33
+ - Restored exact branch and main validation on explicit GitHub-hosted runners with package-manager caching disabled and public-package integrity enforced.
34
+ - (placeholder)
35
+
36
+ - **Security**
37
+ - (placeholder)
38
+
39
+ ## [0.6.7] - 2026-08-31
40
+
8
41
  - **Added**
9
42
  - (placeholder)
10
43
 
@@ -332,3 +365,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
332
365
  [0.6.4]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.4
333
366
  [0.6.5]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.5
334
367
  [0.6.6]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.6
368
+ [0.6.7]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.7
369
+ [0.6.8]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.6.8
package/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @plasius/ai-game
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@plasius/ai-game.svg)](https://www.npmjs.com/package/@plasius/ai-game)
4
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/Plasius-LTD/ai-game/ci.yml?branch=main&label=build&style=flat)](https://github.com/Plasius-LTD/ai-game/actions/workflows/ci.yml)
5
+ [![coverage](https://img.shields.io/codecov/c/github/Plasius-LTD/ai-game)](https://codecov.io/gh/Plasius-LTD/ai-game)
6
+ [![License](https://img.shields.io/github/license/Plasius-LTD/ai-game)](./LICENSE)
7
+ [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-yes-blue.svg)](./CODE_OF_CONDUCT.md)
8
+ [![Security Policy](https://img.shields.io/badge/security%20policy-yes-orange.svg)](./SECURITY.md)
9
+ [![Changelog](https://img.shields.io/badge/changelog-md-blue.svg)](./CHANGELOG.md)
10
+
3
11
  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
12
 
5
13
  ## Scope
@@ -40,6 +48,11 @@ import {
40
48
 
41
49
  The training surface intentionally reuses `@plasius/training` as the authority for institutions, trust tiers, and specialization tracks.
42
50
 
51
+ The bridge consumes `@plasius/training` 1.x while retaining AI-game’s published
52
+ `isekai.training.*` rollout keys. Direct training consumers use that package’s
53
+ `harmony.training.*` keys. Updating this dependency does not migrate existing
54
+ AI-game rollout configuration; see [ADR 0021](docs/adrs/adr-0021-training-upgrade-rollout-compatibility.md).
55
+
43
56
  - `AiGameTrainingState` re-exports the canonical progression record from `@plasius/training`.
44
57
  - `AiGameInstitutionEligibility` makes stage-gated institutional availability explicit for Player System consumers.
45
58
  - `AiGameTrainingTrustMarker` carries trust evidence without copying broader profile state.
@@ -314,8 +327,7 @@ protected `main`. The job verifies that the prepared commit is still the
314
327
  current main commit and has an exact successful `ci.yml` push result before it
315
328
  mutates release state. Public package CI runs on GitHub-hosted capacity so it
316
329
  cannot execute on company-managed runners. npm publication runs on
317
- GitHub-hosted Node.js 24 with
318
- npm 11.5.1 or newer, uses the protected `production` environment and
330
+ GitHub-hosted Node.js 24 with pinned npm 11.6.2, uses the protected `production` environment and
319
331
  short-lived npm OIDC with provenance, and has no long-lived npm write-token
320
332
  fallback. Rollback disables CD; it never rewrites published package history.
321
333
  <!-- END PLASIUS RELEASE INTEGRITY -->
package/dist/index.cjs CHANGED
@@ -120,14 +120,14 @@ __export(index_exports, {
120
120
  AI_GAME_TASK_RESULTS: () => AI_GAME_TASK_RESULTS,
121
121
  AI_GAME_TASK_RISK_CLASSES: () => AI_GAME_TASK_RISK_CLASSES,
122
122
  AI_GAME_TRAINING_ACADEMIC_PROGRESS_STAGES: () => import_training.TRAINING_ACADEMIC_PROGRESS_STAGES,
123
- AI_GAME_TRAINING_ACADEMIES_FEATURE_FLAG_ID: () => import_training.TRAINING_ACADEMIES_FEATURE_FLAG_ID,
123
+ AI_GAME_TRAINING_ACADEMIES_FEATURE_FLAG_ID: () => AI_GAME_TRAINING_ACADEMIES_FEATURE_FLAG_ID,
124
124
  AI_GAME_TRAINING_ACADEMY_ADMISSION_DECISIONS: () => import_training.TRAINING_ACADEMY_ADMISSION_DECISIONS,
125
125
  AI_GAME_TRAINING_ANTI_SPELL_COUNTER_WINDOWS: () => import_training.TRAINING_ANTI_SPELL_COUNTER_WINDOWS,
126
126
  AI_GAME_TRAINING_ANTI_SPELL_FIELDCRAFT_FAMILIES: () => import_training.TRAINING_ANTI_SPELL_FIELDCRAFT_FAMILIES,
127
127
  AI_GAME_TRAINING_BARRACKS_DRILL_DELIVERY_MODES: () => import_training.TRAINING_BARRACKS_DRILL_DELIVERY_MODES,
128
- AI_GAME_TRAINING_INSTITUTIONS_FEATURE_FLAG_ID: () => import_training.TRAINING_FEATURE_FLAG_ID,
128
+ AI_GAME_TRAINING_INSTITUTIONS_FEATURE_FLAG_ID: () => AI_GAME_TRAINING_INSTITUTIONS_FEATURE_FLAG_ID,
129
129
  AI_GAME_TRAINING_INSTRUCTION_ACCESS_LEVELS: () => import_training.TRAINING_INSTRUCTION_ACCESS_LEVELS,
130
- AI_GAME_TRAINING_MARTIAL_FEATURE_FLAG_ID: () => import_training.TRAINING_MARTIAL_FEATURE_FLAG_ID,
130
+ AI_GAME_TRAINING_MARTIAL_FEATURE_FLAG_ID: () => AI_GAME_TRAINING_MARTIAL_FEATURE_FLAG_ID,
131
131
  AI_GAME_TRAINING_MARTIAL_TECHNIQUE_FAMILIES: () => import_training.TRAINING_MARTIAL_TECHNIQUE_FAMILIES,
132
132
  AI_GAME_TRAINING_MARTIAL_TECHNIQUE_TRACKS: () => import_training.TRAINING_MARTIAL_TECHNIQUE_TRACKS,
133
133
  AI_GAME_TRAINING_RECOMMENDATION_CONFIDENCE_BANDS: () => AI_GAME_TRAINING_RECOMMENDATION_CONFIDENCE_BANDS,
@@ -312,6 +312,9 @@ module.exports = __toCommonJS(index_exports);
312
312
 
313
313
  // src/training-state.ts
314
314
  var import_training = require("@plasius/training");
315
+ var AI_GAME_TRAINING_INSTITUTIONS_FEATURE_FLAG_ID = "isekai.training.institutions.enabled";
316
+ var AI_GAME_TRAINING_ACADEMIES_FEATURE_FLAG_ID = "isekai.training.academies.enabled";
317
+ var AI_GAME_TRAINING_MARTIAL_FEATURE_FLAG_ID = "isekai.training.martial.enabled";
315
318
  var AI_GAME_TRAINING_STAGE_GATES = [
316
319
  "system-first-awakening",
317
320
  "field-repetition",