@plasius/gpu-debug 0.2.4 → 0.2.5

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
@@ -20,6 +20,29 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
20
20
  - **Security**
21
21
  - (placeholder)
22
22
 
23
+ ## [0.2.5] - 2026-08-30
24
+
25
+ - **Added**
26
+ - (placeholder)
27
+
28
+ - **Changed**
29
+ - Updated to the released `@plasius/gpu-shared` 1.1.0 immutable Zero-Three
30
+ evidence line and the fixed esbuild resolution.
31
+
32
+ - **Fixed**
33
+ - (placeholder)
34
+
35
+ - **Security**
36
+ - Added permanent fail-closed Zero-Three validation across manifests,
37
+ dependency graphs, imports, declarations, aliases, optional debug bundles,
38
+ npm tarballs, SBOMs, and active documentation, with immutable CI/CD evidence
39
+ and no compatibility fallback.
40
+ - Replaced the legacy write-token publication path with exact-main npm OIDC
41
+ publication of a sealed tarball, SBOM, and attested Zero-Three evidence.
42
+ - Pinned patched transitive npm dependencies to clear the current audit baseline.
43
+ - Added fail-closed source and npm-package admission for the administrative contributor registry and pinned the CI/CD runtime to Node.js 24.18.0 LTS.
44
+ - (placeholder)
45
+
23
46
  ## [0.2.4] - 2026-06-29
24
47
 
25
48
  - **Added**
@@ -229,3 +252,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
229
252
  [0.2.2]: https://github.com/Plasius-LTD/gpu-debug/releases/tag/v0.2.2
230
253
  [0.2.3]: https://github.com/Plasius-LTD/gpu-debug/releases/tag/v0.2.3
231
254
  [0.2.4]: https://github.com/Plasius-LTD/gpu-debug/releases/tag/v0.2.4
255
+ [0.2.5]: https://github.com/Plasius-LTD/gpu-debug/releases/tag/v0.2.5
package/README.md CHANGED
@@ -310,8 +310,23 @@ npm run typecheck
310
310
  npm run test:coverage
311
311
  npm run build
312
312
  npm run pack:check
313
+ npm run zero-three
313
314
  ```
314
315
 
316
+ ## Permanent Zero-Three invariant
317
+
318
+ `@plasius/gpu-debug` provides optional local-first WebGPU instrumentation.
319
+ Three.js, Three.js subpaths, TSL, `@types/three`, `@react-three/*`, and packages
320
+ whose dependency graph reaches Three.js are permanently prohibited from source,
321
+ manifests, locks, installed dependency graphs, declarations, optional debug
322
+ bundles, npm tarballs, SBOMs, tests, tooling, and active usage documentation.
323
+ There is no compatibility mode, waiver, rollback, or fallback.
324
+
325
+ Run `npm run zero-three:source` before dependency installation and `npm run
326
+ zero-three` after building and installing to generate complete package evidence.
327
+ The canonical architectural decision is the site ADR
328
+ [ADR 0168](https://github.com/Plasius-LTD/plasius-ltd-site/blob/main/docs/adrs/adr-0168-three-js-is-prohibited-from-gpu-native-rendering.md).
329
+
315
330
  ## Release Automation
316
331
 
317
332
  GitHub Actions now carries the package delivery path:
@@ -330,3 +345,15 @@ GitHub Actions now carries the package delivery path:
330
345
  - `docs/adrs/*`: package architecture decisions.
331
346
  - `docs/tdrs/*`: implementation design records.
332
347
  - `docs/design/*`: integration and NFR design detail.
348
+
349
+ <!-- BEGIN PLASIUS RELEASE INTEGRITY -->
350
+ ## Release integrity
351
+
352
+ CI keeps the administrative contributor registry outside Git and npm package
353
+ artifacts using exact, case-normalised path checks. Repository-owned pull
354
+ requests and `main` execute on GitHub-hosted runners with Node.js 24.18.0 LTS.
355
+ Release preparation lands metadata through the protected branch, waits for
356
+ successful exact-commit CI, and then publishes the sealed package through npm
357
+ OIDC from the `production` environment. The release retains and attests the
358
+ SBOM and complete Zero-Three evidence; there is no legacy npm token fallback.
359
+ <!-- END PLASIUS RELEASE INTEGRITY -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-debug",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Opt-in GPU debug instrumentation for tracked memory, dispatch, queue, and frame-budget metrics in Plasius WebGPU runtimes.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -30,15 +30,20 @@
30
30
  "test": "vitest run",
31
31
  "test:watch": "vitest",
32
32
  "typecheck": "tsc --noEmit",
33
+ "zero-three": "node scripts/verify-zero-three.cjs --package --evidence-out release-artifacts/zero-three-evidence.json",
34
+ "zero-three:source": "node scripts/verify-zero-three.cjs --source-only",
35
+ "zero-three:test": "node --test tests/zero-three.test.cjs",
33
36
  "audit:eslint": "eslint . --max-warnings=0",
34
37
  "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
35
38
  "audit:npm": "npm audit --audit-level=high --omit=dev",
36
39
  "audit:test": "vitest run --coverage",
37
40
  "lint": "eslint . --max-warnings=0",
38
41
  "prepare": "npm run build",
42
+ "test:privacy": "node --test tests/public-package-policy.test.cjs",
39
43
  "test:coverage": "vitest run --coverage",
40
- "pack:check": "node scripts/verify-public-package.cjs",
41
- "prepublishOnly": "npm run build && npm run pack:check"
44
+ "pack:check": "npm run privacy:check && node scripts/verify-public-package.cjs",
45
+ "privacy:check": "node scripts/verify-public-artifacts.cjs --source-only",
46
+ "prepublishOnly": "npm run build && npm run pack:check && npm run zero-three"
42
47
  },
43
48
  "keywords": [
44
49
  "webgpu",
@@ -61,7 +66,7 @@
61
66
  },
62
67
  "homepage": "https://github.com/Plasius-LTD/gpu-debug#readme",
63
68
  "dependencies": {
64
- "@plasius/gpu-shared": "^1.0.1"
69
+ "@plasius/gpu-shared": "^1.1.0"
65
70
  },
66
71
  "devDependencies": {
67
72
  "@eslint/js": "^10.0.1",
@@ -91,6 +96,9 @@
91
96
  }
92
97
  ],
93
98
  "overrides": {
99
+ "brace-expansion": "5.0.9",
100
+ "nanoid": "3.3.18",
101
+ "esbuild": "^0.28.1",
94
102
  "minimatch": "^10.2.1"
95
103
  },
96
104
  "engines": {
@@ -1,2 +0,0 @@
1
- type,github_handle,full_name,company,email,date,approver
2
- corporate,Zephod111r,Phillip Hounslow,Plasius LTD,zephod@plasius.co.uk,2025-09-12,Phillip Hounslow (Maintainer)