Skip to content

Commit b8fc728

Browse files
docs(skills): objectstack-data factual sweep (2/3) — SKILL.md (#13694)
Three measured-false behavioral claims corrected against the implementation: - titleFormat is labelled 'Retired (ADR-0079)' but is DEPRECATED: still a declared ObjectSchema key, still parses, still read by objectql's registry. - tenancy.tenantField is shown with '// default: tenant_id'. It carries NO default; the platform tenant column is organization_id. - maskingRule is claimed 'pruned from FieldSchema' (twice). It is live, with a runtime enforcer in plugin-security's FieldMasker. Token ratchet: SKILL.md shrinks (13783 -> 13782). Part of #13675 Claude-Session: https://claude.ai/code/session_01EXxTW8mvPBhoHxmyPZ63de Co-authored-by: Claude <noreply@anthropic.com>
1 parent a7b7a57 commit b8fc728

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

skills/objectstack-data/SKILL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ database table and exposes automatic CRUD APIs.
7878
| `datasource` | `'default'` | Target datasource ID for virtualized data |
7979
| `nameField` | derived (e.g. `'name'`/`'title'`) | **Canonical** record-title field — the stored field used as the record's display name. Use a single text/email field, or a formula field (`returnType: 'text'`) for a composite title |
8080
| `displayNameField` || **Deprecated** alias for `nameField` (still honored as a fallback) |
81-
| `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` |
81+
| `titleFormat` || **Deprecated, not removed (ADR-0079)** — render-only: the server can't return or query it. Use `nameField` (it wins); for a composite title, designate a `returnType: 'text'` formula field as `nameField` |
8282
| `enable` || Capability flags (trackHistory, searchable, apiEnabled, etc.) |
8383
| `fieldGroups` || Ordered list of logical field groups for forms/detail pages (see [Field Groups](#field-groups-mvp)) |
8484
| `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)) |
@@ -740,9 +740,9 @@ A legacy SQL-style `=` / `IN (...)` predicate still compiles via a **deprecated*
740740
741741
### Sensitive fields — `secret` type + `requiredPermissions`
742742

743-
The former `encryptionConfig` and `maskingRule` field keys were **pruned from
744-
`FieldSchema`** — they had no runtime consumer (dead surface; setting them
745-
protected nothing). The real channels are:
743+
The former `encryptionConfig` field key was **pruned from `FieldSchema`** — it
744+
had no runtime consumer. `maskingRule` is **live** (plugin-security's
745+
FieldMasker enforces it). The real channels are:
746746

747747
**Encrypted-at-rest values — `type: 'secret'` (ADR-0100).** For reversible
748748
machine credentials (DB passwords, API keys, tokens): the engine encrypts the
@@ -783,8 +783,8 @@ For SaaS, set `tenancy` on the object schema for row-level tenant isolation
783783

784784
```typescript
785785
tenancy: {
786-
enabled: true, // enable row-level tenant isolation
787-
tenantField: 'tenant_id', // default: 'tenant_id'
786+
enabled: true, // enable row-level tenant isolation
787+
// tenantField — NO default; omit it and the driver uses `organization_id`
788788
}
789789
```
790790

@@ -976,7 +976,7 @@ export const SetupApp = defineApp({
976976
> The former `softDelete` / `versioning` object keys were **removed** from the
977977
> spec (ADR-0049 enforce-or-remove) — authoring them is now a build
978978
> error with upgrade guidance. `partitioning` / `cdc` were never schema keys,
979-
> and the `encryptionConfig` / `maskingRule` field keys were pruned (see
979+
> and the `encryptionConfig` field key was pruned (see
980980
> [Sensitive fields](#sensitive-fields--secret-type--requiredpermissions)).
981981
982982
---

0 commit comments

Comments
 (0)