You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(spec): prune 7 dead field governance/compliance props (dead-surface plan) (#1946)
Removes FieldSchema props that implied data-protection/governance behavior but had
zero runtime consumer — false promises (encryption/masking imply at-rest protection
that never happened; the real channel is type:'secret'):
encryptionConfig · maskingRule · auditTrail · cached · dataQuality ·
writeRequiresMasterRead · trackFeedHistory
Cleanup: field.zod.ts schema + the now-unused EncryptionConfigSchema/MaskingRuleSchema
imports + field.form.ts (5 form fields) + field.test.ts (writeRequiresMasterRead) +
field.json ledger; reference docs regenerated. Kept caseSensitive + dependencies
(potentially functional — conservative). Field *types* unchanged.
Verified: liveness gate green (field 34 live/17 dead); full @objectstack/spec suite
green (242 files, 6562 tests); grep-confirmed no object def/seed constructs them; ran
the real `objectstack dev` showcase (37 plugins, 75 objects) — boots clean, Console
200, showcase_field_zoo parses+serves (code field no longer carries auditTrail), no
field errors in the server log.
Second batch of the dead-surface disposition plan (per-cluster verified PRs).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chore(spec): prune 7 dead field governance/compliance properties (dead-surface plan, P0/P2). Removes `FieldSchema` props that implied data-protection/governance behavior but had no runtime consumer — false promises (the real at-rest channel is `type: 'secret'`): `encryptionConfig`, `maskingRule`, `auditTrail`, `cached`, `dataQuality`, `writeRequiresMasterRead`, `trackFeedHistory`. Also drops the now-unused `EncryptionConfigSchema`/`MaskingRuleSchema` imports. Kept `caseSensitive` and `dependencies` (potentially functional — conservative). Field types unchanged.
system: z.boolean().optional().describe('Auto-injected system/audit field (e.g. created_at, updated_by, organization_id). Tools that surface system fields separately from author-declared business fields should branch on this flag.'),
524
508
sortable: z.boolean().optional().default(true).describe('Whether field is sortable in list views'),
525
509
inlineHelpText: z.string().optional().describe('Help text displayed below the field in forms'),
526
-
trackFeedHistory: z.boolean().optional().describe('Track field changes in Chatter/activity feed (Salesforce pattern)'),
527
510
caseSensitive: z.boolean().optional().describe('Whether text comparisons are case-sensitive'),
528
511
autonumberFormat: z.string().optional().describe('Auto-number display format pattern (e.g., "CASE-{0000}")'),
0 commit comments