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
docs: add mx dump-mpr as Path 5 in schema extraction proposal
Adds `mx dump-mpr --module-names='System'` as a fifth extraction path
for System module metadata (entities, enumerations, Java actions,
microflows). Unlike the MCP/PED paths this requires no running Studio Pro —
only the mx binary and a blank .mpr — making it CI-friendly and available
on all supported Mendix versions.
Also adds Phase 1.5 to the implementation plan (mxcli schema extract-system)
which can ship independently before any MCP plumbing is in place, and
updates the coverage table and Open Question #1 accordingly.
Updates the review.md recurring findings table with Finding #12 (mock
tests constructing Kind values the real parser cannot produce).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/commands/mxcli-dev/review.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ proactively. Add a row after every review that surfaces something new.
34
34
| 9 | Doc comment promises a fallback/feature that doesn't exist in the code (e.g., "raw-map fallback in the client" when no such fallback was implemented) | Docs quality | Grep for function/type names referenced in doc comments to confirm they exist before committing |
35
35
| 10 | BSON array items decoded by mongo driver are `primitive.D`, not `map[string]any` — bare type assertion `item.(map[string]any)` always fails silently, causing silent data loss (e.g. Languages not parsed, issue #480) | BSON parsing | Always use `extractBsonMap(item)` instead of `item.(map[string]any)`; write a parser unit test with `primitive.D` items to catch this class of bug |
36
36
| 11 |`execShow` switch missing a case for a new `ShowXxx` constant — executor handler is wired but never dispatched, command silently does nothing | Dispatch gap | After adding a new `Show*` constant and handler, grep `executor_query.go` to confirm the case is present; add a mock test that calls the handler directly |
37
+
| 12 | Mock test constructs a `Kind` value (e.g. `"Array"`) that `parseImportMappingElement` can never produce — parser only sets `"Object"` or `"Value"` — giving false assurance for a code path that is dead against real MPR data | Test coverage | Before writing a mock test for a fallback path, verify the parser can actually produce the mocked value; if not, either extend the parser or remove the dead fallback |
0 commit comments