Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
72d4a55
docs(skills): objectstack-data SKILL.md becomes a router
claude Nov 21, 2026
6bb2d49
docs(skills): objectstack-automation SKILL.md becomes a router
claude Nov 21, 2026
c64c020
docs(skills): reference sections hold only what the routers do not say
claude Nov 21, 2026
bd58ad0
chore(skills): ratchet rows and changeset for the data and automation…
claude Nov 21, 2026
2c733d7
docs(skills): the automation router points at the rest sections; rows…
claude Nov 21, 2026
08639da
docs(skills): the filter placeholder example keeps the current-user t…
claude Nov 21, 2026
b2226e0
Merge origin/main: the automation router meets the hook-401 and conne…
claude Nov 21, 2026
82f4910
wip: merge origin/main (a10345ab) — main's skill edits mapped onto th…
claude Nov 25, 2026
7154033
docs(skills): the carried teaching is paid for inside the moved text;…
claude Nov 25, 2026
d829888
Merge origin/main (d15e4391): main moved on skills/objectstack-platfo…
claude Nov 25, 2026
76f014c
docs(skills): the state-machine values clause is back in its routed h…
claude Nov 25, 2026
8fbebd2
docs(skills): the access-depth refusal is named where the mechanics live
claude Nov 25, 2026
1a90f70
docs(skills): the access-depth clause and the two conflict glosses re…
claude Nov 25, 2026
8bbf2cf
Merge remote-tracking branch 'origin/main' into wt/issue-34770-r5
claude Nov 25, 2026
23372c8
docs(skills): the automation entry states the flow-shape facts again;…
claude Nov 25, 2026
f0ca3d9
docs(skills): the automation entry names a flow's project form and it…
claude Nov 25, 2026
06ca05a
chore(skills): ratchet rows for the facts back in the automation entry
claude Nov 25, 2026
7aa869b
docs(skills): with nothing to read yet, the two entries still ask for…
claude Nov 25, 2026
937e2f1
chore(skills): the router changeset states what the automation entry …
claude Nov 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .changeset/34770-skills-data-automation-router.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'@objectstack/skills': patch
---

docs(skills): the objectstack-data and objectstack-automation entry files become routers

Clause-②: no
Metadata-protocol: none

`skills/objectstack-data/SKILL.md` goes from 26.9 KB to 9.0 KB and `skills/objectstack-automation/SKILL.md` from 28.2 KB to 10.7 KB. Each now holds three things: four first checks (the installed `@objectstack/spec` version, what the project already has, the type's contract, `os validate`) and what to do when there is nothing to read yet (say so, and still give the whole definition as code), the traps that parse and then fail at run time, and a table that says which file to open for what you are writing. No rule's teaching changes. Text moved, and this entry says where it went. The ten files this touches are 1.4 KB larger together (161.3 KB to 162.7 KB): objectstack-data is 2.4 KB smaller, objectstack-automation 3.8 KB larger.

**objectstack-data.** The entry keeps `Conditional Field Rules`, `Object Definition`, `Field Type Selection`, `Relationship Patterns`, `Validation Patterns` and `Access depth` under their headings, each cut to the rules that fail silently. What left:

- The object key table (the `color` row among it), the `enable` table (`fieldHistory`, `trackHistory`), `Search Fields (searchableFields)` and `Object Extension Model` (an extension's `place`, the paired `.custom` package's `fieldGroups` / `relatedLists`) are in `references/examples-objects.md` (`#object-keys`, `#search-fields-searchablefields`, `#object-extension-model`).
- `Schema evolution on an existing database` is `rules/field-types.md#changing-a-field-that-has-data`. The detail of choosing a type (a box that must be checked, the seeded-row default, why a person stays optional) is `rules/field-types.md#choosing-a-type`.
- The `Conditional Field Rules` example and its bullets (`showOnCreate` among them), and what a bare field ref does at run time, are `rules/validation.md#conditional-field-rules`. The note that an omitted optional field reads as `null` on insert is `rules/validation.md#script-validation`.
- `Ownership queues` and the mechanics of `readScope` / `writeScope` are in `rules/security.md`.
- A handler named apart from the record owner is `rules/relationships.md#record-owner-and-other-people-on-a-record`.
- Anchors that no longer exist in `SKILL.md`: `#skill-boundaries`, `#quick-reference--detailed-rules`, `#object-capabilities-enable`, `#search-fields-searchablefields`, `#schema-evolution-on-an-existing-database`, `#common-patterns`, `#naming-rules-summary`, `#index-patterns`, `#object-extension-model`, `#security--access-control`, `#ownership-queues--park-a-record-for-a-team-to-claim`, `#verify-your-work`, `#references`. `#conditional-field-rules`, `#object-definition`, `#field-type-selection`, `#relationship-patterns` and `#validation-patterns` still do.

**objectstack-automation.** The entry keeps `Data Operations`, `External Integration`, `notify`, `Failure routing & runAs`, `Filter operands (config.filter)`, `Valid-but-silently-wrong (passes build, fails at runtime)` and `Integrations are declared, not coded` under their headings, each cut to the rules that fail silently. Beside them it states the facts of a flow's shape an answer needs before it opens a second file: a project flow is `defineFlow` in a `*.flow.ts`, the five flow `type`s (`type: 'schedule'` and where its cadence sits), `variables`, the trigger on the start node, the `approval` node, the option label of a notice (evaluated once per run), and `Assignment rules` (`defineAssignmentRule`, beside the approval node for the same queue). What left:

- `references/examples-flows.md` now also holds `Flow Types`, packaged flows (`.custom` overrides, `defaultActive`), the control-flow node table, the detail of the `http`, `connector_action` and `screen` nodes, `Triggers` (the `requires` tokens, the trigger types) and `Assignment rules` in full (ordered entries, `least_loaded`, a packaged rule's queue). For `notify`, failure routing and `runAs`, filter operands and value slots, a section titled "the rest" holds what the entry's section no longer says. Of the option-label trap, the entry keeps the half no check reads (a label in a `filter` or an edge `condition` silently matches nothing); the half publish refuses is in the rest section.
- `references/integration-recipes.md` now also holds `Inbound webhook (api) triggers` and the list of cases that are platform code.
- Anchors that no longer exist in `SKILL.md`: `#when-to-use-this-skill`, `#flows--visual-logic-orchestration` (now `#flows`), `#flow-types`, `#control-flow`, `#human-decision`, `#flow-variables`, `#assignment-rules--route-a-new-record-to-a-queue-or-a-person` (now `#assignment-rules`), `#triggers--event-driven-automation` and its four subsections, `#verify-your-work`, `#references`.

**Not carried over, because the contract or a check already says it.** From objectstack-data: the `label`, `datasource`, `displayNameField`, `searchable`, `apiEnabled`, `files` and `clone` rows (their defaults are in `data/object.zod.ts`, which the entry's third check points at), the `titleFormat` row (a save and `os validate` refuse the key by name), the four-row `sharingModel` table (the four values are one bullet of `Object Definition`), and the sections that only listed the other files (`Skill Boundaries`, the rules list, `Naming Rules Summary`, `Index Patterns`).

**One correction.** The multi-value lookup note in objectstack-data showed a `{record.tags.0}` token "in flow values". A flow value slot refuses that token, as objectstack-automation teaches. The note, now in `rules/relationships.md`, shows the CEL spelling `record.tags[0]`. objectstack-automation's value-slot rule likewise shows the CEL spelling (`has(record.owner) ? record.owner : null`, `record.tags[0]`) and no longer prints the refused token beside it: the refusal names the spelling.
Loading
Loading