Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skills/objectstack-data/SKILL.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -81,7 +81,7 @@ database table and exposes automatic CRUD APIs.
| `titleFormat` | — | **Retired (ADR-0079)** — a render-only template the server can't return or query. Use `nameField`; for a composite title, designate a `returnType: 'text'` formula field as `nameField` |
| `enable` | — | Capability flags (trackHistory, searchable, apiEnabled, etc.) |
| `fieldGroups` | — | Ordered list of logical field groups for forms/detail pages (see [Field Groups](#field-groups-mvp)) |
| `lifecycle` | `record` semantics (permanent) | Data retention/rotation/archival contract (ADR-0057). **Required for append-only, high-write-rate objects** — a `telemetry`/`transient`/`event`/`audit` class must declare a bounding policy or parsing fails (see [Data Lifecycle & Retention](./rules/lifecycle.md)) |
| `lifecycle` | `record` semantics (permanent) | Data retention/rotation/archival contract. **Required for append-only, high-write-rate objects** — a `telemetry`/`transient`/`event`/`audit` class must declare a bounding policy or parsing fails (see [Data Lifecycle & Retention](./rules/lifecycle.md)) |

### Object Capabilities (`enable`)

Expand DownExpand Up@@ -970,7 +970,7 @@ export const SetupApp = defineApp({
| Feature | When to Consider |
|:--------|:-----------------|
| `tenancy` | Multi-tenant SaaS — `{ enabled: true, tenantField: 'tenant_id' }` row-level isolation (DB-per-tenant is an environment/deployment choice, not object metadata) |
| `lifecycle` | Append-only / high-write-rate objects — retention / rotation / archival contract (ADR-0057); see [rules/lifecycle.md](./rules/lifecycle.md) |
| `lifecycle` | Append-only / high-write-rate objects — retention / rotation / archival contract; see [rules/lifecycle.md](./rules/lifecycle.md) |
| per-field `trackHistory` | Render a field's value changes as human-readable activity-timeline entries (pair with `enable.trackHistory`, ADR-0052 §5b) |

> The former `softDelete` / `versioning` object keys were **removed** from the
Expand Down
8 changes: 4 additions & 4 deletions skills/objectstack-data/rules/lifecycle.md
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
# Data Lifecycle & Retention

Guide for declaring how long an object's data lives and how its space is
reclaimed (ADR-0057). Not to be confused with **lifecycle hooks**
(`beforeInsert` / `afterUpdate` …) — those run business logic on data
operations; *this* page is about retention, rotation, and archival of the
rows themselves.
reclaimed (ADR-0057 — system data lifecycle & retention). Not to be
confused with **lifecycle hooks** (`beforeInsert` / `afterUpdate` …) —
those run business logic on data operations; *this* page is about
retention, rotation, and archival of the rows themselves.

## Why This Exists

Expand Down
Loading