Commit b0e78a8
feat(spec)!: remove the dead static capabilities-descriptor cluster (#3605)
* feat(spec)!: remove the dead static capabilities-descriptor cluster (#1878 family)
The "RUNTIME CAPABILITIES PROTOCOL" tail of stack.zod.ts (ObjectQL/ObjectUI/
Kernel/ObjectStack CapabilitiesSchema + the deprecated ObjectOS alias + all
five types, 214 lines) had zero consumers repo-wide: never authorable
(defineStack has no such key), never registered, never fed any endpoint.
Worse, the fixed-boolean self-portrait lied — fieldLevelSecurity/
rowLevelSecurity/auditLogging/backgroundJobs all default(false) while live
and enforced, and odataApi never existed. Real capability discovery is
dynamic: GET /api/v1/discovery (declared===enforced, #3298) + the
/.well-known WellKnownCapabilitiesSchema contract + driver-level
Driver/DatasourceCapabilities.
- Delete the cluster + the four dead stack.test.ts describe blocks + the
src/index.ts explicit re-exports + two now-orphan imports
(ClusterCapabilityConfigSchema/FeatureFlagSchema — both modules stay,
ApiEndpointSchema remains consumed by the stack `apis` key).
- api-surface: 10 exports, pure removal. No manifest keys existed; no doc
page was generated for them.
- Changeset (minor) carries the dead-boolean → live-discovery migration
table. objectui re-exports dropped in the companion PR.
Verified: 6716 spec tests green, tsc clean, check:docs/api-surface/
skill-refs/react-blocks in sync, downstream-contract typecheck clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(skills): drop the removed capabilities-descriptor reference from the feature-flags example
The platform skill's os:check example imported ObjectStackCapabilities to
type a system.features array — the descriptor this PR removes (and which no
endpoint ever served). The example now shows only the live part
(FeatureFlag.create compile-checked values) and the prose points capability
discovery at GET /api/v1/discovery. Caught by check:skill-examples — my
repo-wide grep excluded *.md and missed TS blocks inside skill docs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 7cf20c6 commit b0e78a8
6 files changed
Lines changed: 46 additions & 643 deletions
File tree
- .changeset
- packages/spec
- src
- skills/objectstack-platform
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 68 | | |
75 | | - | |
76 | | - | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
80 | 72 | | |
81 | | - | |
82 | | - | |
83 | 73 | | |
84 | 74 | | |
85 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
| |||
0 commit comments