Skip to content

Reject invalid Module Pack decisions before mutation - #25

Merged
dajiaohuang merged 1 commit into
mainfrom
fix/24-module-pack-validation
Aug 31, 2026
Merged

Reject invalid Module Pack decisions before mutation#25
dajiaohuang merged 1 commit into
mainfrom
fix/24-module-pack-validation

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Fixes #24. Deep-validates every supplied Module Pack decision before import-job mutation, aligns the published catalog/narrative/dependencies/version schemas with runtime shapes, and returns field-specific play-profile errors. Adds a public regression proving an invalid Luna-shaped manifest leaves job revision, result, and history unchanged. Verified full domain/MCP tests and Ruff.

@dajiaohuang
dajiaohuang merged commit ba31f2b into main Aug 31, 2026
4 checks passed
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.

Reject invalid Module Pack decisions before draft mutation

1 participant