Skip to content

Commit 136ad85

Browse files
committed
docs(spec): say in the present tense where the recycle bin's object file lives
The comment above RECYCLE_BIN_OBJECT described the object file as landing later; it lands with this change, so the comment now names it. The changeset records the skills follow-up that is owed, not moved. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4czFGLnXKQd6cQjv3Pr
1 parent 5c253f2 commit 136ad85

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.changeset/30237-recycle-bin-snapshot-on-delete.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ feat(objectql,platform-objects): a by-id delete keeps its rows in the recycle bi
99

1010
Clause-②: yes (widening)
1111
Metadata-protocol: added
12+
Skills-docs: follow-up owed — skills/objectstack-api/SKILL.md :268, :417 (they still teach that there is no recycle bin; not moved in this release)
1213

1314
The recycle bin's write side. A delete is still a physical delete, and no read path changed: the rows are gone from every query the moment the delete commits. What is new is the copy kept beside them. Restoring, purging and emptying the bin, the two grants that govern them and their REST doors are not in this release.
1415

@@ -22,5 +23,5 @@ The recycle bin's write side. A delete is still a physical delete, and no read p
2223
- any delete on a composition that does not register `PlatformObjectsPlugin`, which logs one `info` line saying so.
2324
- **Forward-only:** records deleted before this release have no entry.
2425
- **Storage:** every by-id delete of a business record now also writes one `sys_recycle_bin` row holding the deleted rows. The row is reaped once its retention has passed.
25-
- **`@objectstack/spec`:** `PLATFORM_OBJECTS_BY_PACKAGE['platform-objects']` lists `sys_recycle_bin`, so a reference to it lints as a real platform object.
26+
- **`@objectstack/spec`:** `PLATFORM_OBJECTS_BY_PACKAGE['platform-objects']` lists `sys_recycle_bin`, so a reference to it lints as a real platform object. The comment above `RECYCLE_BIN_OBJECT` now names the object file that builds the table; no exported name, shape or description changed.
2627
- **`@objectstack/cli`:** the organization-ownership inventory has a row for `sys_recycle_bin` (fate `attribution`).

‎packages/spec/src/data/recycle-bin.zod.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import { z } from 'zod';
1212
import { Field } from './field.zod';
1313

14-
// The object FILE, its registration in `PlatformObjectsPlugin` and its row in
15-
// `PLATFORM_OBJECTS_BY_PACKAGE` land together with the engine slice (#30237):
16-
// that registry means "a table exists", so the name joins it only with the
17-
// table. The object file builds `fields` from RECYCLE_BIN_ENTRY_FIELDS below.
14+
// The object FILE is `sys-recycle-bin.object.ts` in @objectstack/platform-objects,
15+
// which builds `fields` from RECYCLE_BIN_ENTRY_FIELDS below. `PlatformObjectsPlugin`
16+
// registers it and `PLATFORM_OBJECTS_BY_PACKAGE` lists its name: that registry
17+
// means "a table exists", and the name sits there because the table does.
1818
/**
1919
* The recycle bin: one system object, one entry per delete operation
2020
* (ADR-0148 D1).

0 commit comments

Comments
 (0)