From 3f3ea1c913c1fff7614ab9048605c48be82c153d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 12:28:01 +0000 Subject: [PATCH 1/2] docs(skills): objectstack-data names actionLayout among the pair-only keys; objectstack-automation says a label in a flow filter or edge condition is refused Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01L6bhgVUz5oS8fMgmncxU96 --- .changeset/37057-skill-sentences-follow-lint.md | 12 ++++++++++++ skills/objectstack-automation/SKILL.md | 8 ++++---- skills/objectstack-data/SKILL.md | 12 ++++++------ 3 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 .changeset/37057-skill-sentences-follow-lint.md diff --git a/.changeset/37057-skill-sentences-follow-lint.md b/.changeset/37057-skill-sentences-follow-lint.md new file mode 100644 index 00000000000..ef7758c2b0c --- /dev/null +++ b/.changeset/37057-skill-sentences-follow-lint.md @@ -0,0 +1,12 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): objectstack-data names `actionLayout` among the keys only the paired `.custom` extension writes, and objectstack-automation says an option label in a flow filter or edge condition is refused + +Clause-②: no +Metadata-protocol: none + +objectstack-data: the sentence on what only the pair's object extension writes listed `fieldGroups` and `relatedLists`; it now names `actionLayout` too, with a pointer to objectstack-ui, where the key is taught. Paid for in the same file by trimming the Quick Reference's index line, which repeated "partial indexes" from the Index Patterns pointer. + +objectstack-automation: the trap sentence said a label in a `filter` or an edge `condition` "is never checked". `flow-condition-option-label` now reads those positions, so the sentence says they are refused at publish like a start condition (where the field's options are inline), and that a filter meant to find the label takes a CEL envelope operand. Text only; no ceiling of the skills token ratchet moves. diff --git a/skills/objectstack-automation/SKILL.md b/skills/objectstack-automation/SKILL.md index 868820401cb..32232687e04 100644 --- a/skills/objectstack-automation/SKILL.md +++ b/skills/objectstack-automation/SKILL.md @@ -322,10 +322,10 @@ Most are caught by `objectstack build`: 4. **A `select` is compared and written by its option `value`, never its label.** The request says "Lost"; the row stores `lost`. - A start `condition: "record.status == 'Lost'"` or `fields: { status: 'Lost' }` - is refused at publish (inline options), else matches no row or fails the - run (`invalid_option`). A label in a `filter` or an edge `condition` is never - checked: it silently matches nothing. Read the field's `options`. + A start or edge `condition: "record.status == 'Lost'"`, or `filter` / + `fields: { status: 'Lost' }`, is refused at publish (inline options), else + matches no row or fails the run (`invalid_option`); a filter meant to find + the label takes a CEL envelope operand. Read the field's `options`. --- diff --git a/skills/objectstack-data/SKILL.md b/skills/objectstack-data/SKILL.md index 8a86fca42a2..0a0e68da22a 100644 --- a/skills/objectstack-data/SKILL.md +++ b/skills/objectstack-data/SKILL.md @@ -35,7 +35,7 @@ metadata: - **[Field Types](./rules/field-types.md)** — All field types and configs - **[Relationships](./rules/relationships.md)** — lookup vs master_detail, junction patterns, delete behaviors - **[Validation Rules](./rules/validation.md)** — All validation types, script inversion, severity levels -- **[Index Strategy](./rules/indexing.md)** — btree/gin/gist/fulltext, composite indexes, partial indexes +- **[Index Strategy](./rules/indexing.md)** — btree/gin/gist/fulltext, composite indexes - **[Data Lifecycle & Retention](./rules/lifecycle.md)** — `lifecycle` classes, retention/TTL/rotation/archive policies (not *hooks*); plus the **save notice** a hook hands the saver (`ctx.notice`) - **[Lifecycle Hooks](./references/data-hooks.md)** — the lifecycle events, the sandboxed `body` (ctx + capability contract; the inline `handler` is deprecated), registration, canonical patterns - **[Datasources & Federation](./rules/datasources.md)** — `defineDatasource`, external/federated objects (`remoteName`/`columnMap`), auto-connect gating, credentials; ❌ no `field.columnName` on external objects @@ -382,11 +382,11 @@ declaration. Every field the pair adds ends in `__c` (`region__c`). The suffix i reserved to the pair, so a `__c` field in any other package, or an unsuffixed field in a `.custom` extension, is refused at save, publish and install and by `os validate` / `os build`. -Only the pair's extension may also write `fieldGroups` and `relatedLists`, shaped -as on an object. A written key replaces that arrangement whole (the owner's and -every `place`): an unlisted field shows after the last group, an unnamed tab -still shows after the listed ones, and `{ list: 'crm_note', hidden: true }` hides -a tab. Outside a `.custom` package both keys are refused at those doors: use `place`. +Only the pair's extension also writes `fieldGroups`, `relatedLists` and `actionLayout` +(**objectstack-ui**), shaped as on an object. A written key replaces that arrangement +whole (the owner's and every `place`): an unlisted field shows after the last group, +an unnamed tab after the listed ones, and `{ list: 'crm_note', hidden: true }` hides +a tab. Outside a `.custom` package they are refused at those doors: use `place`. Studio's **Add field** on a base object writes the same extension, as an `object_extension` item of the pair. From 5040c6d6e4127220756cbf549c259c9e2ffbfb8d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 13:24:27 +0000 Subject: [PATCH 2/2] docs(skills): objectstack-data qualifies the whole-replace and place sentences for actionLayout; the automation label-filter clause says rows still holding the label Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01L6bhgVUz5oS8fMgmncxU96 --- .changeset/37057-skill-sentences-follow-lint.md | 4 ++-- skills/objectstack-automation/SKILL.md | 4 ++-- skills/objectstack-data/SKILL.md | 11 ++++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.changeset/37057-skill-sentences-follow-lint.md b/.changeset/37057-skill-sentences-follow-lint.md index ef7758c2b0c..a801677fe02 100644 --- a/.changeset/37057-skill-sentences-follow-lint.md +++ b/.changeset/37057-skill-sentences-follow-lint.md @@ -7,6 +7,6 @@ docs(skills): objectstack-data names `actionLayout` among the keys only the pair Clause-②: no Metadata-protocol: none -objectstack-data: the sentence on what only the pair's object extension writes listed `fieldGroups` and `relatedLists`; it now names `actionLayout` too, with a pointer to objectstack-ui, where the key is taught. Paid for in the same file by trimming the Quick Reference's index line, which repeated "partial indexes" from the Index Patterns pointer. +objectstack-data: the sentence on what only the pair's object extension writes listed `fieldGroups` and `relatedLists`; it now names `actionLayout` too, with a pointer to objectstack-ui, where the key is taught, and says what differs for that key: it replaces each arm it writes, and outside a `.custom` package an action is placed by its own `locations` and `order`, not by `place`. Paid for in the same file by trimming three Quick Reference lines that repeated what the body says (naming, field types, "partial indexes"). -objectstack-automation: the trap sentence said a label in a `filter` or an edge `condition` "is never checked". `flow-condition-option-label` now reads those positions, so the sentence says they are refused at publish like a start condition (where the field's options are inline), and that a filter meant to find the label takes a CEL envelope operand. Text only; no ceiling of the skills token ratchet moves. +objectstack-automation: the trap sentence said a label in a `filter` or an edge `condition` "is never checked". `flow-condition-option-label` now reads those positions, so the sentence says they are refused at publish like a start condition (where the field's options are inline), and that a filter for rows still holding the label takes a CEL envelope operand. Text only; no ceiling of the skills token ratchet moves. diff --git a/skills/objectstack-automation/SKILL.md b/skills/objectstack-automation/SKILL.md index 32232687e04..caadeae99d2 100644 --- a/skills/objectstack-automation/SKILL.md +++ b/skills/objectstack-automation/SKILL.md @@ -324,8 +324,8 @@ Most are caught by `objectstack build`: The request says "Lost"; the row stores `lost`. A start or edge `condition: "record.status == 'Lost'"`, or `filter` / `fields: { status: 'Lost' }`, is refused at publish (inline options), else - matches no row or fails the run (`invalid_option`); a filter meant to find - the label takes a CEL envelope operand. Read the field's `options`. + matches no row or fails the run (`invalid_option`); a filter for rows still + holding the label takes a CEL envelope operand. Read the field's `options`. --- diff --git a/skills/objectstack-data/SKILL.md b/skills/objectstack-data/SKILL.md index 0a0e68da22a..7560729543d 100644 --- a/skills/objectstack-data/SKILL.md +++ b/skills/objectstack-data/SKILL.md @@ -31,8 +31,8 @@ metadata: ## Quick Reference — Detailed Rules -- **[Naming Conventions](./rules/naming.md)** — snake_case rules, option values, config properties -- **[Field Types](./rules/field-types.md)** — All field types and configs +- **[Naming Conventions](./rules/naming.md)** +- **[Field Types](./rules/field-types.md)** - **[Relationships](./rules/relationships.md)** — lookup vs master_detail, junction patterns, delete behaviors - **[Validation Rules](./rules/validation.md)** — All validation types, script inversion, severity levels - **[Index Strategy](./rules/indexing.md)** — btree/gin/gist/fulltext, composite indexes @@ -384,9 +384,10 @@ field in a `.custom` extension, is refused at save, publish and install and by `os validate` / `os build`. Only the pair's extension also writes `fieldGroups`, `relatedLists` and `actionLayout` (**objectstack-ui**), shaped as on an object. A written key replaces that arrangement -whole (the owner's and every `place`): an unlisted field shows after the last group, -an unnamed tab after the listed ones, and `{ list: 'crm_note', hidden: true }` hides -a tab. Outside a `.custom` package they are refused at those doors: use `place`. +whole (the owner's and every `place`; `actionLayout`, each arm it writes): an unlisted +field shows after the last group, an unnamed tab after the listed ones, and +`{ list: 'crm_note', hidden: true }` hides a tab. Outside a `.custom` package they are +refused at those doors: use `place`, or for an action its own `locations` and `order`. Studio's **Add field** on a base object writes the same extension, as an `object_extension` item of the pair.