Skip to content

Commit 54c73b1

Browse files
committed
test(spec): re-ledger page requires as platform-written in the form reconciliation ledger
The root omit row for page requires said "declared, not enforced yet", which the requires flip to live makes false. The ledger's own rule gives the offer decision to the enforcement, and the seat's answer of record (5959584348) is no form offer. The row now opens with the read-off family and the schema's own words, "derived from the source at save -- omit it", and states the measured truth per page kind: the save door stamps and judges an html/jsx page on a server with the deployment's SDUI manifest; on react, full and slotted pages nothing derives it and the load report is its one reader; the Studio page editor drops the key on every save. It moves to the platform-written group. No ruling is claimed and no contract changes. Claude-Session: https://claude.ai/code/session_01YDt3PzwfrkuFzUBF89WPmM Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3e1f0da commit 54c73b1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎packages/spec/src/system/metadata-form-zod-reconciliation.test.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ const LEDGER: ReadonlyArray<OmitEntry | SubsetEntry> = [
323323
key: 'system',
324324
why: "platform-written, never authored — the schema calls it the `Auto-injected system/audit field` marker, kept apart from `author-declared business fields`, and every writer is platform code (the injected-column provenance table, the search companion, audit-field governance). The record validator reads it on the write path and skips its required and multi-value checks for a flagged column, so a control would let an author claim a false provenance that silently switches those checks off",
325325
},
326+
{
327+
kind: 'omit',
328+
type: 'page',
329+
path: ROOT_PATH,
330+
key: 'requires',
331+
why: "platform-written, never authored — the schema's own words: `derived from the source at save — omit it`. On an `html` / `jsx` page, on a server with the deployment's SDUI manifest, the save door stamps the compiled list and refuses a written list that disagrees (`page-requires-disagrees-with-source`); on `react`, `full` and `slotted` pages nothing derives it, and its one reader is the load report (a warning; the page is still served); and the Studio page editor drops the key on every save. A control would invite the list the describe tells every author to omit",
332+
},
326333
{
327334
kind: 'omit',
328335
type: 'view',
@@ -398,13 +405,6 @@ const LEDGER: ReadonlyArray<OmitEntry | SubsetEntry> = [
398405
key: 'picklist',
399406
why: 'declared, not enforced yet — liveness verdict `planned` (the server-side resolution that serves a picklist-bound field its options is not landed). No offer until it is enforced; the field designer offering a picklist is a later Studio phase',
400407
},
401-
{
402-
kind: 'omit',
403-
type: 'page',
404-
path: ROOT_PATH,
405-
key: 'requires',
406-
why: 'declared, not enforced yet — liveness verdict `planned` (ADR-0080: inferred at compile time; save/load enforcement of plugin presence is deferred). No offer until it is enforced; whether to offer it then is a ruling for the enforcement, not for this gate',
407-
},
408408
{
409409
kind: 'omit',
410410
type: 'action',

0 commit comments

Comments
 (0)