Skip to content

test(site): generate schema laws for every exported schema - #97

Open
systemfsoftware-maker wants to merge 1 commit into
test/site-cell-compositionfrom
test/site-generated-schema-laws
Open

systemfsoftware-maker wants to merge 1 commit into
test/site-cell-compositionfrom
test/site-generated-schema-laws

Conversation

@systemfsoftware-maker

@systemfsoftware-maker systemfsoftware-maker commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

effect-schema-law and effect-schema-vite sat in the catalog with no
importer. The site's vitest config now runs inlineSchemaTests(), which
discovers every exported schema under apps/site/src and registers its
round-trip and encode-stability laws in src/schema-laws.test.ts: 37 laws
over 20 schemas. No schema failed a law.

Judgment surface: apps/site/vitest.config.ts gains only the plugin.
Owner-directed (CONST-W3 declaration). Follows the schema-laws pack.

Verification

Gates exit 0; site test 63 (37 generated laws over 20 schemas, none failed).

Layer of stack #100 (trunk main), merge bottom-up.

effect-schema-law and effect-schema-vite sat in the catalog with no
importer. The site's vitest config now runs inlineSchemaTests(), which
discovers every exported schema under apps/site/src and registers its
round-trip and encode-stability laws in src/schema-laws.test.ts: 37 laws
over 20 schemas. No schema failed a law.

Judgment surface: apps/site/vitest.config.ts gains only the plugin.
Owner-directed (CONST-W3 declaration). Follows the schema-laws pack.
@systemfsoftware-maker
systemfsoftware-maker added this pull request to stack #100 October 16, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant