@its-not-rocket-science/ananke 0.1.61 → 0.1.63
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 +34 -0
- package/README.md +3 -0
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,40 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [0.1.63] — 2026-04-01
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **PM-4 — Release Discipline Dashboard (complete):**
|
|
14
|
+
- `tools/release-check.ts` (new): pre-release gate runner that executes 6 gates in sequence and produces two output artefacts:
|
|
15
|
+
1. **Schema migration pass** — runs `test/schema-migration.test.ts` + `test/anatomy_schema.test.ts` via Vitest
|
|
16
|
+
2. **Golden replay / fixture round-trip** — skips gracefully if `test/fixtures/` does not exist; runs fixture tests when present
|
|
17
|
+
3. **Bridge contract type-check** — `tsc --noEmit -p tsconfig.build.json`; counts TypeScript errors
|
|
18
|
+
4. **Benchmark regression** — delegates to `dist/tools/benchmark-check.js`; exit-code based
|
|
19
|
+
5. **Emergent behaviour validation** — runs emergent-validation and parses PASS / PARTIAL PASS / FAIL from stdout
|
|
20
|
+
6. **Module-index freshness** — re-generates `docs/module-index.md` and diffs against the committed version; warns if stale
|
|
21
|
+
- `docs/release-report.json` (auto-generated): structured JSON with timestamp, version, per-gate status, duration, summary, and detail strings.
|
|
22
|
+
- `docs/release-dashboard.md` (auto-generated): human-readable Markdown audit trail rendered from the JSON report. Includes verdict, gate table, and per-gate detail blocks.
|
|
23
|
+
- `--quick` flag: skips slow gates (benchmark, emergent validation) for fast local checks.
|
|
24
|
+
- Exit code: 0 = releasable (no failures, no warnings); 1 = not releasable.
|
|
25
|
+
- npm scripts: `release-check`, `release-check:quick`.
|
|
26
|
+
- 0 new tests (5,569 total). Coverage unchanged. Build: clean.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## [0.1.62] — 2026-04-01
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **PM-3 — Supported-Recipes Matrix (complete):**
|
|
35
|
+
- `docs/recipes-matrix.md` (new, auto-generated): 36 recipes across 6 domains (Tactical ⚔️, Campaign 🏰, Content 📦, Renderer 🖼️, Multiplayer 🌐, Tooling 🔧). Each row maps a use case to recommended packages, stability tier (🟢 Stable / 🟡 Experimental), runnable npm script, performance envelope, and save/replay compatibility status. Domain tables, summary counts, and a quick-reference "I want to…" table at the bottom.
|
|
36
|
+
- `tools/generate-recipes-matrix.ts` (new): structured recipe catalogue as TypeScript array; outputs `docs/recipes-matrix.md` deterministically. Run `npm run generate-recipes-matrix` to refresh.
|
|
37
|
+
- `npm run generate-recipes-matrix` script added.
|
|
38
|
+
- README: "Not sure which entry point to use? → Recipes Matrix" note added near the cookbook paragraph; matrix linked first in the Further Reading table.
|
|
39
|
+
- 0 new tests (5,569 total). Coverage unchanged. Build: clean.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
9
43
|
## [0.1.61] — 2026-04-01
|
|
10
44
|
|
|
11
45
|
### Added
|
package/README.md
CHANGED
|
@@ -96,6 +96,8 @@ for (let tick = 0; tick < 2000; tick++) {
|
|
|
96
96
|
`stepWorld` is the only function that mutates state. Everything else is pure computation.
|
|
97
97
|
Call it at 20 Hz for real-time simulation; 1 Hz or lower for campaign-scale time.
|
|
98
98
|
|
|
99
|
+
Not sure which entry point to use? See the **[Recipes Matrix](docs/recipes-matrix.md)** — use case → package → stability → runnable example → performance in one table.
|
|
100
|
+
|
|
99
101
|
For task-oriented walkthroughs, see the **[Simulation Cookbook](docs/cookbook.md)** — 12 recipes
|
|
100
102
|
from "Simulate a duel" to "Load a content pack", each with step-by-step code and expected output.
|
|
101
103
|
|
|
@@ -414,6 +416,7 @@ Ananke's outputs are validated against historical and experimental sources:
|
|
|
414
416
|
|
|
415
417
|
| Document | What's in it |
|
|
416
418
|
|---|---|
|
|
419
|
+
| [`docs/recipes-matrix.md`](docs/recipes-matrix.md) | **Start here** — use case → package → stability → example → performance in one table |
|
|
417
420
|
| [`docs/cookbook.md`](docs/cookbook.md) | Task-oriented recipes — duel, 500-agent battle, species, renderer, campaign, replay, and more |
|
|
418
421
|
| [`docs/module-index.md`](docs/module-index.md) | All 41 entry points — stability tier, use case, key exports, doc links |
|
|
419
422
|
| [`docs/host-contract.md`](docs/host-contract.md) | Stable integration surface — everything needed to embed Ananke without reading `src/` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@its-not-rocket-science/ananke",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deterministic lockstep-friendly SI-units RPG/physics core (fixed-point TS)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -248,6 +248,8 @@
|
|
|
248
248
|
"test:watch": "vitest",
|
|
249
249
|
"test:coverage": "vitest run --coverage",
|
|
250
250
|
"ci": "npm run build && npm run test:coverage && npm run check-boundaries",
|
|
251
|
+
"release-check": "node dist/tools/release-check.js",
|
|
252
|
+
"release-check:quick": "node dist/tools/release-check.js --quick",
|
|
251
253
|
"check-boundaries": "node dist/tools/check-package-boundaries.js",
|
|
252
254
|
"check-boundaries:strict": "node dist/tools/check-package-boundaries.js --strict",
|
|
253
255
|
"extract-api": "node dist/tools/extract-api.js",
|
|
@@ -276,6 +278,7 @@
|
|
|
276
278
|
"ref:species-lab": "node dist/examples/reference/species-lab/index.js",
|
|
277
279
|
"ref:species-lab:quick": "node dist/examples/reference/species-lab/index.js --quick",
|
|
278
280
|
"generate-module-index": "node dist/tools/generate-module-index.js",
|
|
281
|
+
"generate-recipes-matrix": "node dist/tools/generate-recipes-matrix.js",
|
|
279
282
|
"pack": "node dist/tools/pack-cli.js pack",
|
|
280
283
|
"generate-fixtures": "node dist/tools/generate-fixtures.js",
|
|
281
284
|
"generate-zoo": "node dist/tools/generate-zoo.js",
|