Skip to content

Commit f9dd033

Browse files
feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer (#37382)
<!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wg8ZBQe4UHadd2fGHGeWRW9V)_ repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS Fixes #36714 Clause-②: no (narrowing) Metadata-protocol: narrowed Skills-docs: follow-up #35769 (row 7178935378: skills/objectstack-data/rules/relationships.md, the three lint refusals) ## 维护者速读 - 用户能看到什么变化:应用作者在命令行校验、构建或检查应用时,若关联字段声明了「变更负责人时连带转移」而这种转移永远不会发生(父对象不提供变更负责人、经对象扩展加到不支持它的对象上、或子对象的接口不允许更新),现在会直接报错并写明怎么改;最终用户无感,运行时行为不变。 - 为什么做:数据模型专区「声明了就要生效」的收尾,替变更负责人连带转移功能补上作者期的提醒。 - 出错会怎样:若判断有误,作者的应用会在命令行校验时被误拦,改字段或对象即可通过;不影响已部署的应用和工作室保存,可直接撤回。 - 要你做什么:无。 ## What changes A `transferBehavior: 'cascade'` that the Change Owner endpoint can never offer used to parse silently (ADR-0049, declared but not enforced). One new `@objectstack/lint` rule, `validateTransferCascades`, refuses each of the card's three cases at `error`, with the fix in the hint: | Rule id | Case | Verdict from (spec, `@objectstack/spec/data`) | |:---|:---|:---| | `transfer-cascade-parent-without-change-owner` | 1: the reference points at a parent in the stack that does not offer Change Owner | `resolveUserActionTransfer` + `transferIneligibilityReason` (what the endpoint's `changeOwnerOffReason` asks) | | `transfer-cascade-extension-child-ineligible` | 2: an `objectExtensions[].fields` field cascades onto an object that cannot take a cascade | `transferCascadeIneligibilityReason` (what `refuseIneligibleTransferCascades` and `transferCascadeRelations` ask) | | `transfer-cascade-child-update-unexposed` | 3: the child's `enable` block does not serve `update` | `apiExposureDenialReason` (`canServeApiOperation` is its boolean face, the exposure filter in `transferCascadeRelations`) | - `packages/lint/src/validate-transfer-cascades.ts`: the walk only. Objects are judged as served (`objectsAsServed`, every extension field folded in), since `transferCascadeRelations` reads the registered, merged definitions. An object the stack does not declare is skipped on either side. Only single-value `lookup` / `master_detail` fields are judged; off-type, multi-value and `sys_`-parent cascades stay the field parse's refusals and are not reported twice. - Registered in `authoring-rules.ts`: `gating`, all three commands, `surfaces: CLI_ONLY` with a `surfaceReason` (see Acceptance notes). Exported from the barrel (rule ids included), and the three ids have `os explain` entries in `rule-explanations.ts` (inserted, not reordered). - `packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts`: the ADR-0087 ledger entry `check:adr-0087-registration` requires for a `Metadata-protocol: narrowed` changeset. It is a data file, not a schema change. - Docs: one sentence in `content/docs/api/data-api.mdx` beside the existing multi-value refusal, and the CLI transcripts' author-time rule count 79 → 80 (`check:docs-transcript-drift`). - Changeset: `@objectstack/lint` minor, `@objectstack/spec` minor (the kind is `narrowed`). Mechanism assumptions measured at `origin/main` 98bda0a before code: A1 holds (the predicates are exported from `@objectstack/spec/data`; lint imports them the way `validate-managed-api-methods.ts` does, no third copy). A2: `error`, following `validateManagedApiMethods` (a declaration decidable from the stack that the runtime silently drops) and the parse's own refusal of the declaring object's half. A3 holds (`child.enable` through the exposure predicate). A4: the two `validate-predicate-path-refs.test.ts` pins count form predicates, not registry entries; nothing moved. Files to read first, by risk: 1. `packages/lint/src/validate-transfer-cascades.ts` — `validateTransferCascades`, the served-object lookup and the `sys_` / not-declared skips. 2. `packages/lint/src/authoring-rules.ts` — the new entry's tier and `surfaceReason`. 3. `packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts`. ## Tests `packages/lint/src/validate-transfer-cascades-36714.test.ts`: every fixture is a full `ObjectSchema` / `ObjectExtensionSchema` parse, so each refusal is one the parse lets through. Each case is refused with its rule, severity, `where`, `path` and the reason fragment its message names; each eligible shape passes (an eligible parent, a parent outside the stack, a `sys_` parent, an eligible extension target, a target outside the stack, `update` served); the `packages[]` artifact shape is read; and the `fieldPatches` arm is pinned as refused by the schema. <details><summary>Local runs at 3e1fa4a (lint, spec, ablation)</summary> - `pnpm --filter @objectstack/lint test`: Test Files 236 passed (236), Tests 9648 passed, 5 skipped (VERDICT command-exit 0). - `pnpm --filter @objectstack/lint typecheck`: VERDICT command-exit 0. - `pnpm --filter @objectstack/spec test`: Test Files 894 passed, 1 skipped (895), Tests 28417 passed (VERDICT command-exit 0). - `pnpm --filter @objectstack/cli exec vitest run test/migrate-meta-engine-guidance.test.ts`: 3 passed. - Ablation (rule committed first): `scripts/ablation-replace.mjs` replaced the walk's `for (const site of cascadeSites(stack))` with an empty loop, x0 -> x1 on disk; the card's test file went 15 failed, 9 passed (24). Every refusal case red, every pass case green. Restored: blob == HEAD, `git diff HEAD` empty. </details> ## Acceptance notes - The `Clause-②:` line carries the `(narrowing)` arm (body and changeset, commit 8737482): Check Changeset reads `Metadata-protocol: narrowed` beside a clause line without the arm as a contradiction. The claim's `Clause-②: no` was copied first, at 3e1fa4a. - Premise, partly narrower than written: case 2's `fieldPatches` arm cannot occur. A field patch carries display properties only (`label`, `description`, `inlineHelpText`, `placeholder`), and `ObjectExtensionSchema` refuses `transferBehavior` there as an unrecognized key, so the rule walks extension `fields` only; a test pins the refusal. - Not on the runtime publish gate yet (`surfaces: CLI_ONLY`): the door's objects are served definitions carrying the injected `owner_id` as a declared field, which the eligibility predicate reads (its `readonly`, and on an external object whether it is declared). Crossing owes that measurement or a read-back to the authored shape, as `lintDuplicateFieldLabels` does. Until then a Studio or MCP save of these shapes still passes. The runtime stays safe. - Boundary: a cascade on a field an object declares itself, where only an extension makes the served object ineligible, is not reported as case 2 (the card scopes case 2 to extension fields; the object's own half is the parse's). - File surface: the ADR-0087 ledger entry under `packages/spec/src/migrations/entries/semantic/` is outside the claim's listed surface. `check:adr-0087-registration` requires it for `narrowed`; it changes no schema and no runtime. - First-party exposure: zero. No example app, platform object, skill or docs sample declares a cascade. - Other open PRs that add an author-time rule (#37354, #37371) move the same transcript count; whichever lands second gets a one-number docs conflict or a `check:docs-transcript-drift` red. ## Verification Two-minute check: `pnpm --filter @objectstack/lint exec vitest run src/validate-transfer-cascades-36714.test.ts` prints 24 passed. <details><summary>Gates: local derivation and reconciliation</summary> `node scripts/pm/dispatch-gates.mjs --ran` at 3e1fa4a: 117 derived, 113 run, 4 NOT-MEASURED, 0 UNRUN. All 113 run exited 0. NOT-MEASURED, left to CI: - `check:type-check-debt`: the 300 s local timeout fired (repo-wide tsc census). - `check-plugin-teardown-shape.mjs --self-test`: shallow checkout. - `spec check:skill-examples`: its client SDK surface reads `packages/client-react` dist, not built locally. - `check:dual-build-cjs-loads`: reads every workspace dist. Outside the derivation, local-only: `check:dev-prereqs` exit 1, because 104 of 110 workspace packages are unbuilt in this container (machine state, not this diff). </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent ee11fce commit f9dd033

13 files changed

Lines changed: 682 additions & 4 deletions
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@objectstack/lint': minor
3+
'@objectstack/spec': minor
4+
---
5+
6+
feat(lint): refuse a `transferBehavior: 'cascade'` the Change Owner action can never offer
7+
8+
Clause-②: no (narrowing)
9+
Metadata-protocol: narrowed
10+
11+
<!-- adr-0087: registered transfer-cascade-never-offered-refused -->
12+
13+
**BREAKING** for a stack that declares one of these cascades: `os validate`, `os build` and `os lint` now refuse it where they accepted it before. Fix it as below; the runtime never ran such a cascade, so no data changes.
14+
15+
`os validate`, `os build` and `os lint` now refuse three `transferBehavior: 'cascade'` declarations that parsed and then did nothing, because the Change Owner endpoint re-judges every relationship and never offers them. Each is an `error`, with the fix named:
16+
17+
- `transfer-cascade-parent-without-change-owner`: the reference points at a parent in the stack that does not offer Change Owner (`ownership: 'business_unit' | 'org' | 'none'`, any `managedBy`, a pinned or unprovable owner, or `userActions.transfer` off, by the author or by the `controlled_by_parent` default). A `sys_` parent stays the field parse's refusal.
18+
- `transfer-cascade-extension-child-ineligible`: an object extension's field (`objectExtensions[].fields`) declares the cascade on an object that cannot take one. `ObjectSchema` already refused this on a field the object declares itself; an extension's field skipped that parse. A `fieldPatches` entry cannot carry the key at all.
19+
- `transfer-cascade-child-update-unexposed`: the child's `enable` block does not serve `update` (`apiEnabled: false`, or `apiMethods` without update).
20+
21+
Fix: set the field's `transferBehavior` to `'none'` or remove it, or change the object the message names (offer Change Owner on the parent, or open update on the child). The verdicts come from the spec predicates the runtime reads (`resolveUserActionTransfer`, `transferCascadeIneligibilityReason`, `apiExposureDenialReason`); the runtime is unchanged. New exports: `validateTransferCascades` and the three rule id constants. Not yet run at the runtime publish gate (follow-up #37397). Migration entry `transfer-cascade-never-offered-refused` (`@objectstack/spec`) carries the same fix for `os migrate meta` and the upgrade guide.

‎content/docs/api/data-api.mdx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,12 @@ object's cascade candidates (see the route below) is refused `400
572572
VALIDATION_ERROR` before anything is written. `'cascade'` on a multi-value
573573
reference (`multiple: true`) is refused when the metadata is saved: a record
574574
there points at several parents, so no single Change Owner decides its owner.
575+
`os validate`, `os build` and `os lint` also refuse a `'cascade'` that Change
576+
Owner could never offer: one pointing at a parent in the stack that does not
577+
offer Change Owner, one an object extension adds to an object that cannot take
578+
a cascade, and one on a child whose `enable` block does not serve `update`
579+
(`os explain transfer-cascade-parent-without-change-owner` and its two
580+
siblings say why).
575581

576582
The answer gains one outcome per named relationship:
577583

‎content/docs/deployment/cli.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ os compile --json # JSON output for CI pipelines
937937
→ Normalizing stack definition...
938938
→ Lowering inline handlers...
939939
→ Validating protocol compliance...
940-
→ Running author-time rules (79)...
940+
→ Running author-time rules (80)...
941941
→ Checking that every required capability has a provider installable in this edition...
942942
→ Collecting package docs (ADR-0046)... 0 collected
943943
→ Writing artifact...

‎content/docs/deployment/validating-metadata.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ A clean run walks the registry and reports timing:
867867
Config: /path/to/support-desk/objectstack.config.ts
868868
Load time: 21ms
869869
→ Validating against ObjectStack Protocol...
870-
→ Running author-time rules (79)...
870+
→ Running author-time rules (80)...
871871
→ Checking that every required capability has a provider installable in this edition...
872872
→ Checking package docs (ADR-0046)...
873873

‎content/docs/getting-started/build-with-claude-code.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ visible: 'status != "resolved"'
311311
◆ Validate
312312
────────────────────────────────────────
313313
→ Validating against ObjectStack Protocol...
314-
→ Running author-time rules (79)...
314+
→ Running author-time rules (80)...
315315
316316
✗ Author-time rules failed (1 issue)
317317
• stack · action 'resolve_ticket' visible: bare reference `status` — a

‎content/docs/ui/react-pages.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ objectstack validate
404404
────────────────────────────────────────
405405
→ Loading configuration...
406406
→ Validating against ObjectStack Protocol...
407-
→ Running author-time rules (79)...
407+
→ Running author-time rules (80)...
408408
→ Checking that every required capability has a provider installable in this edition...
409409
→ Checking package docs (ADR-0046)...
410410

‎packages/core/src/security/second-object-read-exposure.pin.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,11 @@ const CALLERS: Record<string, Classification> = {
317317
kind: 'not-a-served-read',
318318
reason: 'authoring-time static analysis of metadata; reads no record',
319319
},
320+
// [#36714] A `transferBehavior: 'cascade'` judged against the parent's declared Change Owner switch.
321+
'packages/lint/src/validate-transfer-cascades.ts': {
322+
kind: 'not-a-served-read',
323+
reason: 'authoring-time static analysis of metadata; reads no record',
324+
},
320325
// [#35146] The post-publish build probes' two landed-data checks.
321326
'packages/metadata-protocol/src/build-probes.ts': {
322327
kind: 'not-a-served-read',

‎packages/lint/src/authoring-rules.ts‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ import { runStackExpressionPasses } from './validate-expressions.js';
101101
import { validateListViewMode } from './validate-list-view-mode.js';
102102
import { validateFunctionalCompleteness } from './validate-functional-completeness.js';
103103
import { validateManagedApiMethods } from './validate-managed-api-methods.js';
104+
import { validateTransferCascades } from './validate-transfer-cascades.js';
104105
import { validateViewContainers } from './validate-view-containers.js';
105106
import { validateWidgetBindings } from './validate-widget-bindings.js';
106107
import { validateDatasetMeasureAggregates } from './validate-dataset-measure-aggregates.js';
@@ -996,6 +997,36 @@ export const AUTHORING_RULES: readonly AuthoringRule[] = [
996997
runtimeTypes: ['object'],
997998
run: (stack) => validateManagedApiMethods(stack),
998999
},
1000+
// [ruling 7000907189 point 4 · ADR-0049] A `transferBehavior: 'cascade'`
1001+
// the Change Owner action can never offer: the parent does not offer Change
1002+
// Owner, an extension's field cascades onto an object that cannot take a
1003+
// cascade (the `ObjectSchema` refinement judges only the object's own
1004+
// fields), or the child's declared exposure does not serve `update`. The
1005+
// runtime re-judges each relationship and offers none of these, silently;
1006+
// this puts the same verdicts, from the same spec predicates, where the
1007+
// author is. Gating for the `validateManagedApiMethods` reason above: the
1008+
// verdict is decidable from the stack, and the declaration is a key nothing
1009+
// honours.
1010+
{
1011+
name: 'validateTransferCascades',
1012+
tier: 'gating',
1013+
input: 'parsed',
1014+
commands: ALL,
1015+
source: 'packages/lint/src/validate-transfer-cascades.ts',
1016+
surfaces: CLI_ONLY,
1017+
// The crossing is follow-up #37397. The number lives in this comment, not in the string below: a
1018+
// string literal under packages/ carries no tracker number (`pnpm check:doc-authoring`).
1019+
surfaceReason:
1020+
'Not yet crossed, pending a measurement: at the runtime publish gate the snapshot\'s objects are the '
1021+
+ 'registry\'s served definitions, which carry the injected system columns (owner_id among them) as '
1022+
+ 'declared fields, and the Change Owner eligibility predicate this rule reads judges a declared '
1023+
+ 'owner_id (its readonly flag, and on an external object whether it is declared at all). Judging '
1024+
+ 'served definitions with it is unmeasured, and a false 422 on the only door a Studio or MCP author '
1025+
+ 'has is worse than the gap. Crossing owes that measurement, or reading the served objects back to '
1026+
+ 'their authored shape as lintDuplicateFieldLabels does at the object_extension door, and its own '
1027+
+ 'rollout decision; never a bare `runtimeTypes` edit.',
1028+
run: (stack) => validateTransferCascades(stack),
1029+
},
9991030
// A view container in `views: []` that registers zero views: nothing appears
10001031
// in the Console, and the schema step cannot tell it from an intentionally
10011032
// empty one. The FLAT-list-view arm no longer needs this tier — `ViewSchema`

‎packages/lint/src/index.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,18 @@ export type {
546546
MembershipKeyOwners,
547547
} from './validate-membership-key-declarations.js';
548548

549+
// [ruling 7000907189 point 4 · ADR-0049] A `transferBehavior: 'cascade'` the
550+
// Change Owner action can never offer: a parent without Change Owner, an
551+
// extension's field on an object that cannot take a cascade, a child whose
552+
// declared exposure does not serve `update`.
553+
export {
554+
validateTransferCascades,
555+
TRANSFER_CASCADE_PARENT_WITHOUT_CHANGE_OWNER,
556+
TRANSFER_CASCADE_EXTENSION_CHILD_INELIGIBLE,
557+
TRANSFER_CASCADE_CHILD_UPDATE_UNEXPOSED,
558+
} from './validate-transfer-cascades.js';
559+
export type { TransferCascadeFinding } from './validate-transfer-cascades.js';
560+
549561
export {
550562
validateDashboardActionRefs,
551563
DASHBOARD_ACTION_TARGET_UNDEFINED,

‎packages/lint/src/rule-explanations.ts‎

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6624,6 +6624,79 @@ const FIELD_LABEL_DUPLICATE_EXPLANATION: RuleExplanation = {
66246624
],
66256625
};
66266626

6627+
// ── Change Owner cascades that can never run (`validate-transfer-cascades.ts`) ──
6628+
6629+
/** What every transfer-cascade id shares: where the verdict comes from and why it refuses. */
6630+
const TRANSFER_CASCADE_SHARED =
6631+
'A `transferBehavior: \'cascade\'` on a lookup or master_detail field asks a Change Owner of the ' +
6632+
'referenced (parent) record to move the records here that point at it, and that the parent\'s previous ' +
6633+
'owner holds, to the new owner too. The Change Owner endpoint re-judges every relationship on every call ' +
6634+
'and offers only the ones that can act, so nothing wrong happens at run time; but a declaration it never ' +
6635+
'offers is a key nothing honours (ADR-0049), and the author would never be told. The verdicts come from ' +
6636+
'the same spec predicates the endpoint reads (`resolveUserActionTransfer`, ' +
6637+
'`transferCascadeIneligibilityReason`, `apiExposureDenialReason` in `@objectstack/spec/data`), on the ' +
6638+
'objects as the registry serves them, every object extension\'s fields folded in. An object this stack ' +
6639+
'does not declare cannot be judged, on either side of the relationship, and is skipped.';
6640+
6641+
/**
6642+
* Where these ids run, and what the field parse already refuses. The runtime publish gate crossing is
6643+
* follow-up #37397; the number stays in this comment, since an author is shown the text and it carries no
6644+
* tracker number (`rule-explanations.test.ts`, `pnpm check:doc-authoring`).
6645+
*/
6646+
const TRANSFER_CASCADE_SCOPE =
6647+
'Judged by `os validate`, `os build` and `os lint`, not yet at the runtime publish gate (its objects are ' +
6648+
'served definitions carrying the injected owner_id, which the eligibility predicate reads; crossing ' +
6649+
'waits on a measurement). The field parse refuses the other shapes with their own prescription: ' +
6650+
'`transferBehavior` off a lookup or master_detail field, `\'cascade\'` on a multi-value reference or ' +
6651+
'on a reference to a `sys_` object; and `ObjectSchema` refuses a cascade on a field the object declares ' +
6652+
'itself when the object cannot take one. Those are not reported again here.';
6653+
6654+
const TRANSFER_CASCADE_PARENT_WITHOUT_CHANGE_OWNER_EXPLANATION: RuleExplanation = {
6655+
rule: 'transfer-cascade-parent-without-change-owner',
6656+
covers: 'why a cascade needs a parent that offers Change Owner',
6657+
paragraphs: [
6658+
TRANSFER_CASCADE_SHARED,
6659+
'The cascade runs inside a Change Owner of the parent and nowhere else, and the endpoint refuses the ' +
6660+
'whole call on an object that does not offer the action. A parent does not offer it when it is not ' +
6661+
'structurally eligible (ownership `business_unit`, `org` or `none`, any `managedBy`, ' +
6662+
'`systemFields: false`, an `owner_id` declared readonly, an external object with no provable owner) or ' +
6663+
'when its `userActions.transfer` is off, by the author or by the `controlled_by_parent` default. The ' +
6664+
'message names which; where the parent can be changed to offer the action, the reason ends with that ' +
6665+
'change. Otherwise the fix is on the field: set it to `none` or remove it.',
6666+
TRANSFER_CASCADE_SCOPE,
6667+
],
6668+
};
6669+
6670+
const TRANSFER_CASCADE_EXTENSION_CHILD_INELIGIBLE_EXPLANATION: RuleExplanation = {
6671+
rule: 'transfer-cascade-extension-child-ineligible',
6672+
covers: 'why an extension field cannot cascade onto this object',
6673+
paragraphs: [
6674+
TRANSFER_CASCADE_SHARED,
6675+
'A cascade moves the records of the object that declares the field, by the same Change Owner action, ' +
6676+
'so that object must offer the action itself: structurally eligible, not a `controlled_by_parent` ' +
6677+
'detail (its access already follows its master), and its `userActions.transfer` not off. `ObjectSchema` ' +
6678+
'refuses a cascade on a field the object declares itself, but a field an object extension ' +
6679+
'(`objectExtensions[].fields`) adds never passes through that parse, so this rule judges it on the ' +
6680+
'extended object. An extension\'s `fieldPatches` cannot carry `transferBehavior` at all: a patch sets ' +
6681+
'display properties only, and its schema refuses the key.',
6682+
TRANSFER_CASCADE_SCOPE,
6683+
],
6684+
};
6685+
6686+
const TRANSFER_CASCADE_CHILD_UPDATE_UNEXPOSED_EXPLANATION: RuleExplanation = {
6687+
rule: 'transfer-cascade-child-update-unexposed',
6688+
covers: 'why a cascading object must serve update',
6689+
paragraphs: [
6690+
TRANSFER_CASCADE_SHARED,
6691+
'The cascade reads and writes the child\'s rows as a second object of the call, each move the caller\'s ' +
6692+
'own update, so the child is asked its own declared API exposure for `update`, the operation the data ' +
6693+
'route judges. An object with `enable.apiEnabled: false`, or an `enable.apiMethods` list that does not ' +
6694+
'grant update, is left out of the cascades Change Owner offers. Either open update on the child or set ' +
6695+
'the field to `none`.',
6696+
TRANSFER_CASCADE_SCOPE,
6697+
],
6698+
};
6699+
66276700
// ── Publish-time refusals of metadata that parses and does nothing ──────────
66286701
// (`validate-flow-node-executors.ts`, `lint-flow-patterns.ts`,
66296702
// `validate-inert-object-declarations.ts`, `validate-action-object-binding.ts`)
@@ -7088,6 +7161,9 @@ export const RULE_EXPLANATIONS: Readonly<Record<string, RuleExplanation>> = Obje
70887161
[STORED_EXPRESSION_CROSS_RECORD_INPUT_EXPLANATION.rule]: STORED_EXPRESSION_CROSS_RECORD_INPUT_EXPLANATION,
70897162
[STORED_EXPRESSION_VOLATILE_INPUT_EXPLANATION.rule]: STORED_EXPRESSION_VOLATILE_INPUT_EXPLANATION,
70907163
[FIELD_LABEL_DUPLICATE_EXPLANATION.rule]: FIELD_LABEL_DUPLICATE_EXPLANATION,
7164+
[TRANSFER_CASCADE_PARENT_WITHOUT_CHANGE_OWNER_EXPLANATION.rule]: TRANSFER_CASCADE_PARENT_WITHOUT_CHANGE_OWNER_EXPLANATION,
7165+
[TRANSFER_CASCADE_EXTENSION_CHILD_INELIGIBLE_EXPLANATION.rule]: TRANSFER_CASCADE_EXTENSION_CHILD_INELIGIBLE_EXPLANATION,
7166+
[TRANSFER_CASCADE_CHILD_UPDATE_UNEXPOSED_EXPLANATION.rule]: TRANSFER_CASCADE_CHILD_UPDATE_UNEXPOSED_EXPLANATION,
70917167
[FLOW_NODE_TYPE_NO_EXECUTOR_EXPLANATION.rule]: FLOW_NODE_TYPE_NO_EXECUTOR_EXPLANATION,
70927168
[FLOW_APPROVAL_DECISION_UNROUTED_EXPLANATION.rule]: FLOW_APPROVAL_DECISION_UNROUTED_EXPLANATION,
70937169
[FLOW_HTTP_TIMEOUT_MISSING_EXPLANATION.rule]: FLOW_HTTP_TIMEOUT_MISSING_EXPLANATION,

0 commit comments

Comments
 (0)