feat(dogfood): ADR-0060 P2 — validation-rule conformance ledger (pins ADR-0020 state_machine)#2105
Merged
Merged
Conversation
… ADR-0020) The third instance of the reusable conformance-ledger pattern, built on the same checkLedger helper (P1) — proving a new surface is a filled-in table, not a re-derived discipline. One row per `validations` union rule type (state_machine / script / cross_field / format / json_schema / conditional), all ENFORCED on the engine write path via rule-validator.ts (ADR-0020 wired the union in), each carrying the rule-validator runtime proof. The ratchet re-discovers every rule type from validation.zod.ts's discriminator and fails the build if one is unclassified — so a new validation rule type added without enforcement (the pre-ADR-0020 state_machine disease) can't ship silently. Ratchet verified to bite. dogfood-private, no changeset. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📓 Docs Drift CheckNo hand-written docs reference the 1 changed package(s). ✅ |
This was referenced Jun 30, 2026
os-zhuang
added a commit
that referenced
this pull request
Jun 30, 2026
…s) (#2471) Pins the vendored @objectstack/console to objectui d23d6ebfa so the served console includes the kind:'react' renderer + the full HTML tag set for kind:'html' (objectui #2105). Carries two small list inline-edit toggles (#2102/#2103) since the previous pin. Activates the CRM Workbench showcase page (ADR-0081) in the real serving path. Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADR-0060 (#2103) P2 — the third instance of the reusable conformance-ledger pattern, on the same
checkLedgerhelper from P1 (#2104). Proves the pattern composes: a new surface is a filled-in table, not a re-derived discipline.What
One row per
validationsunion rule type —state_machine/script/cross_field/format/json_schema/conditional— all enforced on the engine write path viarule-validator.ts(ADR-0020 wired the union in), each carrying therule-validator.test.tsruntime proof. The ratchet re-discovers every rule type fromvalidation.zod.ts's discriminator and fails the build if one is unclassified — so a new validation rule type added without runtime enforcement (the exact pre-ADR-0020state_machinedisease) can't ship silently.Verification
Full build 75/75 · dogfood 135 (24 files; the validation/authz/expression/helper conformance tests all green on the one shared helper). Ratchet verified to bite. dogfood-private → no changeset.
Next: P3 — document the 'landed = has a green ledger' bar (ADR-0060 D5).
🤖 Generated with Claude Code