Commit 641a047
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>1 parent 0bab8bb commit 641a047
5 files changed
Lines changed: 33 additions & 624 deletions
File tree
- .changeset
- packages/spec
- src
| 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