You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c57a711
Browse filesBrowse the repository at this point in the historyBrowse files
fix(python): verify --codegen fails when committed output would go unchecked
`metaobjects verify --codegen` with no --generators printed a note and
exited 0. There has been no default suite since 1.0.4, so a CI step written
before then, relying on the implied default, regenerated nothing and passed.
An adopter's prompt-codegen gate covered 159 generated files this way.
With no selection it now exits 1 when --out holds generated .py files (they
would go unchecked), and still exits 0 when there is no generated output.
Both verify paths (explicit metadata dir and the config-less fallback) share
one helper. The config schema and the C# verify help no longer describe a
default suite.
Also: the ADR-0056 guide now says a Python field with a `default:` is typed
as its plain type, so passing None fails (an adopter hit it).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M1mRRB1K2WdYy82kntMQdx
Copy file name to clipboardExpand all lines: server/python/src/metaobjects/codegen/metaobjects-config.schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
"generators": {
39
39
"type": "array",
40
40
"items": { "type": "string" },
41
-
"description": "Stable generator names (see `metaobjects gen --list`). Omit to run the default suite."
41
+
"description": "Stable generator names (see `metaobjects gen --list`). Required: there is no default suite, so a target that names none generates nothing and `verify --codegen` checks nothing."
0 commit comments