Skip to content

Commit 009a2b2

Browse files
committed
docs(changeset): the #24563 entry's flow-door line follows the flow door's refusal
Also corrects the reference-integrity suite comment that called the flow door's trigger-object verdict advisory. Claude-Session: https://claude.ai/code/session_019oFY6Hi35J7atvgVFnmoaK Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2268ec9 commit 009a2b2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.changeset/24563-list-view-out-of-closure.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Clause-②: yes (narrowing)
2222

2323
- A list view bound to an object inside the closure (the package's own, a declared dependency's, a platform/system object, an overlay row): same field verdicts, same refusals.
2424
- A write that names no package (an overlay write) is judged against the whole collection, exactly as before. An object that exists nowhere gets no closure verdict there; #24668 refuses it as `list-view-object-unknown` (see that changeset).
25-
- The flow door: `flow-trigger-unknown-object` stays an advisory.
25+
- The flow door: under the same closure, `flow-trigger-unknown-object` refuses an out-of-closure trigger object too (#24669, see that changeset).
2626
- `os validate`, `os build` and `os lint`: no closure is stated, so the rule skips an unresolvable binding as before.
2727
- `OS_ALLOW_UNLINTED_METADATA_WRITES=1` still turns a refusal into a logged write.
2828
- Measured before crossing: the 11 views shipped in this repository carry 39 list-view bindings, in `examples/app-crm`, `app-todo`, `app-showcase` and `app-multi-package`, the `create-objectstack` blank template, and `qa/downstream-contract`. None is outside its package's closure, and the door's `view` rule set refuses none of them, with the package's closure or without it. None of the 97 platform built-in list views retargets `data.object`. Deployed rows were not measured.

‎.changeset/24669-flow-trigger-out-of-closure.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Clause-②: yes (narrowing)
2424
- A write that names no package (an overlay write), a write naming a package the registry cannot produce, and the `sys_metadata` sentinel state no closure: an object the whole collection does not carry is still a `flow-trigger-unknown-object` save advisory, byte-identical to before.
2525
- `os validate`, `os build` and `os lint`: no closure is stated, so the rule's verdict, severity and wording are unchanged.
2626
- `OS_ALLOW_UNLINTED_METADATA_WRITES=1` still turns a refusal into a logged write.
27-
- This supersedes the line "The flow door: `flow-trigger-unknown-object` stays an advisory." in the #24563 entry of this release: under a package closure it now refuses.
2827
- Measured before the change: every record-triggered or time-relative start node shipped in this repository (21, all in `examples/app-showcase` and `examples/app-todo`; no flow in `packages/apps`, `packages/platform-objects` or the `create-objectstack` template) triggers on an object its own stack defines, and objectui ships no such flow. Deployed rows were not measured.
2928

3029
**API.**

‎packages/lint/src/reference-integrity-suite.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,9 @@ export const REFERENCE_INTEGRITY_RULES: readonly ReferenceIntegrityRule[] = [
313313
// reference, or nowhere at all — and the member's skip 1 used to read that as
314314
// "another package's object" and judge nothing. It now refuses the binding
315315
// instead (`list-view-object-outside-closure`, `error`: the verdict the
316-
// dataset door gives an out-of-closure base object under the same closure;
317-
// the flow door's trigger-object advisory is a separate question). The
316+
// dataset door gives an out-of-closure base object under the same closure,
317+
// and [#24669] the one the flow door gives an out-of-closure trigger object,
318+
// from its own rule outside this suite). The
318319
// missing-collection argument above is unchanged: the binding is judged
319320
// against `stack.objects`, the collection every per-write snapshot carries,
320321
// and the gate states the scope only when it narrowed that collection.

0 commit comments

Comments
 (0)