@astram/guide 0.2.11 → 0.2.12

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.
Files changed (2) hide show
  1. package/CAPABILITIES.md +5 -1
  2. package/package.json +1 -1
package/CAPABILITIES.md CHANGED
@@ -324,7 +324,11 @@ imports: [
324
324
  joins the outer transaction.
325
325
  - `transaction(fn)` runs several pipe calls in one unit of work (rolls back on any failed write);
326
326
  `lockForUpdate(typeKey, id)` serialises a check-then-write.
327
- - `@Field({ immutable: true })` create-only fields; `trusted` fields are stamped server-side.
327
+ - `@Field({ immutable: true })` create-only fields; `@Field({ nullable: true })` fields that
328
+ create, update and `createMany` may set to NULL (`json` included: SQL NULL, not `"null"`;
329
+ the audit row lists the cleared keys, never values; the column must be NULL-able in your
330
+ migration; refused on trusted, primary-key, `readScope` and `required` fields). Without
331
+ `nullable`, `null` is a validation error. `trusted` fields are stamped server-side.
328
332
  `readScope` declares the subtree wall; `create: 'unscoped'` opts a type out of the create wall.
329
333
  - **Physical wall** — the raw DB pool is sealed in the engine. The scaffold's
330
334
  `server/eslint.config.mjs` fails lint on driver imports, raw pools, `.query()` and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astram/guide",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "license": "MIT",
5
5
  "description": "Astram framework — the AI/dev GUIDE layer (ADR-0025). Ships the framework's hard rules + capabilities manifest as installed, upgrade-refreshed docs. A consumer app's CLAUDE.md references FRAMEWORK_RULES.md from this package; `npm update` replaces it wholesale so new rules arrive cleanly, while the app's own .astram/guide/ layer is never touched. This is the framework-owned FLOOR: an app rule may tighten it, never weaken it.",
6
6
  "type": "commonjs",