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 61194c1
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cli): meta verify warns about whitespace in node names
The loader accepts any string as a node name in every port. An adopter's
legacy-XML-derived metadata carried a field named "defaultCurrencyId " and
an identity "account_defaultCurrencyId _fk"; both loaded silently.
A new advisory section (`names`, text + json/toon) reports every named node
except requirements whose name contains whitespace (ECMAScript \s):
WARN_NAME_SURROUNDING_WHITESPACE for leading/trailing (almost certainly
unintended; rename, pin @column on a field), WARN_NAME_INTERNAL_WHITESPACE
for internal. Inherited names are reported once, at their declaration.
Requirement names stay with the requirement lint. Never fails the build;
muted by --no-name-lint / META_NO_NAME_LINT=1.
A hard load error was weighed against the correction bar and rejected:
these names work on the core path (migrate quotes the column, the
ObjectManager round-trips the key) and multi-word requirement names are
documented to load.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M1mRRB1K2WdYy82kntMQdx
parts.push(`${input.names.total} name authoring finding(s)`);
1880
+
}
1843
1881
1844
1882
consthelp: string[]=[];
1845
1883
if(failed.length>0){
@@ -1855,11 +1893,17 @@ function buildVerifyPayload(input: {
1855
1893
`${input.overlays.total} unflagged cross-file redeclaration(s) — see overlays.rows[]; add overlay: true so a renamed or removed target fails loudly instead of silently becoming a new object`,
1856
1894
);
1857
1895
}
1896
+
if(input.names.total>0){
1897
+
help.push(
1898
+
`${input.names.total} node name(s) containing whitespace — see names.rows[]; rename each node, and pin @column on a field whose physical column must keep its name`,
1899
+
);
1900
+
}
1858
1901
if(
1859
1902
failed.length===0&&
1860
1903
input.antiPatterns.total===0&&
1861
1904
input.requirements.total===0&&
1862
-
input.overlays.total===0
1905
+
input.overlays.total===0&&
1906
+
input.names.total===0
1863
1907
){
1864
1908
help.push("no drift and nothing advisory to answer — nothing to do");
1865
1909
}
@@ -1872,6 +1916,7 @@ function buildVerifyPayload(input: {
0 commit comments