@objectstack/lint 17.2.0 → 17.3.0

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.
@@ -276,6 +276,13 @@ type AnyRec = Record<string, unknown>;
276
276
  * `positions` / `apps` — so those are NOT carried. Widening the snapshot is a
277
277
  * one-key edit here plus a `CONTEXT_STACK_KEYS` entry, made when a rule that
278
278
  * reads the collection actually crosses the wall, never in advance.
279
+ *
280
+ * [#13977] "Derived from this shape" is now the mechanism and not only the
281
+ * intent: the second half of that edit is DEMANDED by the compiler rather than
282
+ * remembered. Add a key here and this package stops building until the
283
+ * collection has its row below — see {@link CONTEXT_STACK_KEYS} for what the
284
+ * old `satisfies` clause could not ask, and what silently happened when the
285
+ * row was forgotten.
279
286
  */
280
287
  interface RuntimeStackContext {
281
288
  /**
@@ -324,6 +331,23 @@ interface RuntimeStackContext {
324
331
  * for (#4463 D4).
325
332
  */
326
333
  datasets?: readonly unknown[];
334
+ /**
335
+ * The live page declarations (stack key `pages`).
336
+ *
337
+ * [#13216] The resolution universe `validateViewPageRefs` resolves a
338
+ * `type: 'page'` list view's `pageName` against. It is carried for the
339
+ * reason `datasets` is carried and states first: without it a per-write
340
+ * `view` snapshot holds NO pages at all, so every legitimate page mount
341
+ * reads as dangling. The widening is the "one-key edit here plus a
342
+ * `CONTEXT_STACK_KEYS` entry, made when a rule that reads the collection
343
+ * actually crosses the wall" this docblock describes — the rule crossed in
344
+ * the same change, never in advance.
345
+ *
346
+ * Carrying it in BOTH differential passes also cancels page-derived findings
347
+ * for every other write type, so a stored page's pre-existing condition is
348
+ * not some unrelated write's to answer for (#4463 D4).
349
+ */
350
+ pages?: readonly unknown[];
327
351
  }
328
352
  /**
329
353
  * Which package a write belongs to, and what that package is allowed to reach.
@@ -276,6 +276,13 @@ type AnyRec = Record<string, unknown>;
276
276
  * `positions` / `apps` — so those are NOT carried. Widening the snapshot is a
277
277
  * one-key edit here plus a `CONTEXT_STACK_KEYS` entry, made when a rule that
278
278
  * reads the collection actually crosses the wall, never in advance.
279
+ *
280
+ * [#13977] "Derived from this shape" is now the mechanism and not only the
281
+ * intent: the second half of that edit is DEMANDED by the compiler rather than
282
+ * remembered. Add a key here and this package stops building until the
283
+ * collection has its row below — see {@link CONTEXT_STACK_KEYS} for what the
284
+ * old `satisfies` clause could not ask, and what silently happened when the
285
+ * row was forgotten.
279
286
  */
280
287
  interface RuntimeStackContext {
281
288
  /**
@@ -324,6 +331,23 @@ interface RuntimeStackContext {
324
331
  * for (#4463 D4).
325
332
  */
326
333
  datasets?: readonly unknown[];
334
+ /**
335
+ * The live page declarations (stack key `pages`).
336
+ *
337
+ * [#13216] The resolution universe `validateViewPageRefs` resolves a
338
+ * `type: 'page'` list view's `pageName` against. It is carried for the
339
+ * reason `datasets` is carried and states first: without it a per-write
340
+ * `view` snapshot holds NO pages at all, so every legitimate page mount
341
+ * reads as dangling. The widening is the "one-key edit here plus a
342
+ * `CONTEXT_STACK_KEYS` entry, made when a rule that reads the collection
343
+ * actually crosses the wall" this docblock describes — the rule crossed in
344
+ * the same change, never in advance.
345
+ *
346
+ * Carrying it in BOTH differential passes also cancels page-derived findings
347
+ * for every other write type, so a stored page's pre-existing condition is
348
+ * not some unrelated write's to answer for (#4463 D4).
349
+ */
350
+ pages?: readonly unknown[];
327
351
  }
328
352
  /**
329
353
  * Which package a write belongs to, and what that package is allowed to reach.