Skip to content

Commit 2e81ba6

Browse files
committed
docs(skills): name the module that holds PUBLIC_AUTH_FEATURES in the Field Groups bullet
Contract review should-fix: the flag vocabulary is named with its module (@objectstack/spec/kernel) so a skill reader has more than a bare symbol to find. Paid in the same file by dropping the custom-Page aside, whose rule lives in the ui skill; the token row re-locks down at 1728. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxLYNwSMSVQkj55gA6
1 parent 62fd849 commit 2e81ba6

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,14 +1002,15 @@ export const CEILINGS = new Map([
10021002
// stale `{ type: 'lookup', reference: 'user' }` fields (an object that does
10031003
// not exist) became `type: 'user'`; -10 tokens, the row follows the
10041004
// measurement down, zero headroom.
1005-
// 1756 -> 1737: RE-LOCK at the landed count after two net cuts — the Field
1005+
// 1756 -> 1728: RE-LOCK at the landed count after two net cuts — the Field
10061006
// Groups section now names a group's `visibleWhen` and `requiresFeature`
10071007
// (lowered into `visibleWhen` at parse, unknown flag refused, AND-composed
10081008
// after an authored predicate) with the `sys_organization` example, paid by
10091009
// deleting restatement in the same file (-5), on top of the hook-example
1010-
// rename that dropped its intro line (-14) and left headroom; the row
1011-
// follows the measurement down, zero headroom.
1012-
['skills/objectstack-data/references/examples-objects.md', 1737],
1010+
// rename that dropped its intro line (-14) and left headroom, then the
1011+
// review's module pointer paid by the custom-Page aside (the ui skill's
1012+
// rule); the row follows the measurement down, zero headroom.
1013+
['skills/objectstack-data/references/examples-objects.md', 1728],
10131014
['skills/objectstack-data/references/lint-rules.md', 970],
10141015
// 1299 -> 1566 (#26297): the `columns` dataset key and `applyOn: 'create'`
10151016
// — a column a job or an admin owns after the first load is written on

‎skills/objectstack-data/references/examples-objects.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
- Optional per-group: `icon`, `description`, and `collapse`
1111
(`'none'` always open · `'expanded'` collapsible, starts open ·
1212
`'collapsed'` collapsible, starts closed). Groups render identically on forms,
13-
modals, and detail pages; for a bespoke single-page layout assign a
14-
custom Page instead.
13+
modals, and detail pages.
1514
- Hide a whole group, header included, with `visibleWhen` (CEL over
1615
`record.*`; FALSE or a fault hides it) or `requiresFeature` (a deployment
17-
feature flag from `PUBLIC_AUTH_FEATURES`; an unknown flag is refused). At
18-
parse `requiresFeature` is lowered into the group's `visibleWhen` and
19-
stripped, AND-combined after an authored `visibleWhen`. Presentation only:
20-
the fields stay readable through the API. `sys_organization` hides Parent
21-
Organization and Sort Order on one organization:
16+
feature flag from `PUBLIC_AUTH_FEATURES` in `@objectstack/spec/kernel`; an
17+
unknown flag is refused). At parse `requiresFeature` is lowered into the
18+
group's `visibleWhen` and stripped, AND-combined after an authored
19+
`visibleWhen`. Presentation only: the fields stay readable through the API.
20+
`sys_organization` hides Parent Organization and Sort Order on one
21+
organization:
2222
`{ key: 'group_structure', label: 'Group Structure', requiresFeature: 'multiOrgEnabled' }`.
2323

2424
<!-- os:check -->

0 commit comments

Comments
 (0)