You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c14214
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): reconcile the api and platform skill indexes with what their bodies teach (#15424)
* fix(spec): reconcile the api and platform skill indexes with what their bodies teach
`SKILL_MAP['objectstack-api']` advertised `api/rest-server.zod.ts`, which the
skill's authored markdown never teaches: nothing there names the file,
`RestServerConfig` or any of its sub-configs, or the words "rest server", while
every other core entry is reachable from the body by at least one exported name.
An index entry is a POINTER, so that row sent an agent into `node_modules` for a
lesson that does not exist. The schema keeps existing and stays importable.
The other direction, same rule: `SKILL_MAP['objectstack-platform']` had no
pointer to `stack.zod.ts`, the file declaring the body's main subject — it
teaches `defineStack()` and names `ObjectStackDefinitionSchema`,
`ObjectStackDefinition`, `ObjectStackDefinitionInput` and `ObjectStack` in its
own prose.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* fix(spec): constrain the platform skill index to the closure its body teaches
`objectstack-platform` declared no `TRANSITIVE_ALLOWLIST`, so its index
published the whole import closure of its core entries — 73 transitive pointers
once `stack.zod.ts` joined the map. Most of them are shapes the SKILL.md never
teaches, and two are shapes the platform retired from its surface, so the
catalogue routed an authoring agent at lessons the body cannot give.
Declare the list, populated by one mechanical rule and nothing else: a closure
member stays only if `skills/objectstack-platform/SKILL.md` names one of that
module's exported names, as an exact word-bounded identifier. Five of the 73
survive. The retired shapes fall out by the rule, not by hand.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
---------
Co-authored-by: Claude <noreply@anthropic.com>
-`node_modules/@objectstack/spec/src/shared/suggestions.zod.ts` — "Did you mean?" Suggestion Utilities
45
-
-`node_modules/@objectstack/spec/src/shared/value-domain.zod.ts` — Standard value domains: one closed vocabulary and one membership predicate for settings and fields.
0 commit comments