Commit f22ed22
docs(skills): correct two false claims and add three routing bullets in skills/README.md (#14795)
Settle `skills/README.md`'s CEL conventions and cross-skill routing list
against source.
1. `:87` — "Legacy `OLD` / `NEW` evaluate to `null` since M9.5" was false in
both halves. `M9.5` is anchored nowhere in the repo, and `OLD` / `NEW` are
not values that evaluate to `null`: they are undeclared identifiers.
`SCOPE_ROOTS` (packages/formula/src/cel-engine.ts:95) is the published
closed set of record-scope roots and contains neither, so
`firstUndeclaredReference` (:186) reports them as bare undeclared
references — the class `@objectstack/lint` raises as an error, not a
silent null. Replaced with the true clause plus the migration objectstack-
formula's own table prescribes (`OLD.x` -> `previous.x`, `NEW.x` ->
`record.x`).
2. `:105` — "AI tool params" is not a CEL site. `packages/spec/src/ai/tool.zod.ts`
carries no expression field of any kind, and the AI domain's only expression
site is `model-registry.zod.ts:121-122`, which is `TemplateExpressionInputSchema`
— the `template` dialect (`{{var}}` interpolation), not CEL. Dropped the item;
no true replacement exists, because the AI domain has no CEL predicate.
3. `:94-110` — three routing bullets added for measured load-failure modes:
labels to objectstack-i18n, protocol-major moves to objectstack-upgrade,
and the consuming UI to the objectui skills catalog.
Items 1-2 net exactly zero bytes; item 3 costs 75 tokens, at the size ruling.
The generated region and the anatomy tree are untouched.
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1
Co-authored-by: Claude <noreply@anthropic.com>1 parent 521eaf9 commit f22ed22
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments