Commit 1183e97
docs(skills): state the formula catalog's real membership rule — the bare-callable public subset (#15519)
`skills/objectstack-formula/SKILL.md` claimed "Only the functions above are
callable" and called `CEL_STDLIB_FUNCTIONS` "the canonical list". Both read as a
complete registry of what resolves. Measurement says otherwise: receiver-only
methods (`s.split(',')`, `list.map(...)`) resolve when called on a value, and
four bare primitives (`bytes`, `dyn`, `type`, `uint`) resolve but are withheld
from the catalogue by an authoring decision.
The correction states the membership rule the engine's own docblock already
carries as load-bearing (`packages/formula/src/validate.ts`), and keeps the
sentence that was true and useful: an unknown name still fails `os build` with a
no-matching-overload type error.
The engine is untouched — no edit to `CEL_STDLIB_FUNCTIONS` or
`packages/formula/**`, and the four withheld primitives are named as withheld,
never added to any list the skill presents as callable.
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
Co-authored-by: Claude <noreply@anthropic.com>1 parent 53edffe commit 1183e97
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| |||
0 commit comments