Skip to content

Commit cff984e

Browse files
committed
ci(spec-shape-gate): register the retirement of addRecord mode / formView and the widened DroppedFieldsEvent reason
Two entries in the Spec Shape Gate's retirement registry, appended after the existing three in the grammar parseRegistry reads: - objectstack PR 24970 (fde7456), addRecord.mode / addRecord.formView retired as retiredKey() tombstones: two TS2322 patterns, one per objectui packages/types spec-alignment test, downstream card objectstack-ai/objectui#13308. - objectstack PR 24778 (7532ea3), DroppedFieldsEvent['reason'] widened with stored_expression: one TS2344 pattern on objectui's batch-6 spec-symbol pin, downstream card objectstack-ai/objectui#13309. Each pattern is file + code + the diagnostic's full first-line message, taken from scheduled run 39565602478 at c67f244. Claude-Session: https://claude.ai/code/session_01FM29ZqLTrnPNXxijioZwMp Co-authored-by: Claude <noreply@anthropic.com>
1 parent a39389e commit cff984e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎scripts/ci/spec-shape-retirements.json‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,39 @@
4747
"message": "Object literal may only specify known properties, and 'status' does not exist in type '{ \"[REMOVED] Key retired: run `os validate` for its migration.\": never; }'."
4848
}
4949
]
50+
},
51+
{
52+
"retired": "the list view's and the page `list-view` node's `addRecord.mode` and `addRecord.formView`, retired as keys -- retiredKey() tombstones on the one AddRecordConfig every list-view door shares, with ADR-0087 drop conversions (`add-record-mode-form-view-removed`) -- objectui still authors both keys in two spec-alignment tests in `packages/types` that type a value carrying them (an `AddRecordConfig` in p2-spec-exports, a `ListViewSchema` in p1-spec-alignment); the entry is deleted when the downstream card closes",
53+
"objectstack_pr": 24970,
54+
"objectstack_commit": "fde7456352318872704c24feadaa6660b9bc649b",
55+
"downstream_card": "objectstack-ai/objectui#13308",
56+
"registered_at": "2026-10-21",
57+
"matches": [
58+
{
59+
"file": "packages/types/src/__tests__/p2-spec-exports.test.ts",
60+
"code": "TS2322",
61+
"message": "Type 'string' is not assignable to type '{ '[REMOVED] Key retired: run `os validate` for its migration.': never; }'."
62+
},
63+
{
64+
"file": "packages/types/src/__tests__/p1-spec-alignment.test.ts",
65+
"code": "TS2322",
66+
"message": "Type 'string' is not assignable to type '{ '[REMOVED] Key retired: run `os validate` for its migration.': never; }'."
67+
}
68+
]
69+
},
70+
{
71+
"retired": "nothing retired -- the spec WIDENED a union: `DroppedFieldsEvent['reason']` gained a fifth arm, `stored_expression` (a stored field whose declared expression the engine computes on every write). objectui's batch-6 spec-symbol pin `_ReasonIsTheEnum` asserts the exact four-member union (`readonly`, `readonly_when`, `primary_key`, `computed`) with a TS2344 `Equal` pin, so the widened union reds it; the entry is deleted when the downstream card closes",
72+
"objectstack_pr": 24778,
73+
"objectstack_commit": "7532ea3c0893a08a518739aebfe7c0751211f53d",
74+
"downstream_card": "objectstack-ai/objectui#13309",
75+
"registered_at": "2026-10-21",
76+
"matches": [
77+
{
78+
"file": "packages/data-objectstack/src/spec-symbol-batch6.test.ts",
79+
"code": "TS2344",
80+
"message": "Type 'false' does not satisfy the constraint 'true'."
81+
}
82+
]
5083
}
5184
]
5285
}

0 commit comments

Comments
 (0)