Commit b95f47b
committed
feat(spec)!: remove dead enable.trash/mru capability flags (#2377 close-out, ADR-0049)
Both flags parsed and defaulted to true but had no runtime consumer: every
delete has always been a hard delete (no recycle bin) and MRU tracking was
never implemented. First-party objects authored 'trash: false // Never
soft-delete audit logs' believing a soft-delete existed to opt out of — the
false affordance ADR-0049 exists to kill.
- ObjectCapabilities is now .strict() (pattern of the tenancy block, #2763):
retired trash/mru reject with upgrade guidance via
CAPABILITIES_RETIRED_KEY_GUIDANCE; typos no longer strip silently (#1535).
Strict immediately caught two latent unknown-key bugs: sys_secret and
sys_setting_audit authored a never-existent 'enable.audit' flag.
- ~46 first-party object definitions drop their inert trash:/mru: lines
(platform-objects, plugin-security/audit/approvals/sharing, metadata-core,
service-realtime, examples/app-todo).
- Liveness ledger: both entries deleted (precedent: tags/recordName); README
count table object row now 0 dead. Studio object.form.ts drops both rows.
- Docs/skills stop advertising a recycle bin; the API skill's 'DELETE is
soft-delete when trash: true' claim corrected to the real contract.
- Spec 6820 green; liveness gate, api-surface check, docs check all pass;
cli 442 green; all touched packages' suites green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RRCHNGhKw8uVhA3ghXKDpA1 parent 8ee8c52 commit b95f47b
63 files changed
Lines changed: 118 additions & 152 deletions
File tree
- .changeset
- content/docs
- concepts
- data-modeling
- protocol/objectql
- references/data
- examples/app-todo/src/objects
- packages
- cli/src/utils
- metadata-core/src/objects
- platform-objects/src
- audit
- identity
- system
- plugins
- plugin-approvals/src
- plugin-audit/src/objects
- plugin-security/src/objects
- plugin-sharing/src/objects
- services/service-realtime/src/objects
- spec
- liveness
- src/data
- skills
- objectstack-api
- objectstack-data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | 174 | | |
177 | 175 | | |
178 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
0 commit comments