Skip to content

check: microflow list operands, downloads and retrieve sort members (CE0117, CE0024, CE0480, CE1613) - #2748

Merged
ako merged 1 commit into
mainfrom
fix/check-gap-sweep5-microflows
Dec 2, 2026
Merged

ako merged 1 commit into
mainfrom
fix/check-gap-sweep5-microflows

Conversation

@ako

@ako ako commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Check-gap sweep 5, batch A (f104 f105 f108 f110 f120, #1258). Each passed check -p, and MxBuild 11.16.1 rejected the project; f120 was refused by exec instead.

What check now rejects

  • MDL130, list item of the wrong entity (CE0117): add or remove of an object or list of another entity to or from a list. The item must be the list's entity or a specialization of it. A generalization is rejected too, which was measured.
  • MDL130, second list of the wrong entity (CE0024): union, intersect or subtract whose second list holds another entity, by the same rule.
  • MDL130, download of a non-file (CE0480): download file of an object that is not a System.FileDocument or a specialization of it. System.Image is accepted.
  • MDL130, change of a list: change of a list variable. exec already refused this.
  • Retrieve sort member (CE1613, under -p): a database retrieve sorted by an attribute the entity does not have, including one only a specialization has.

Evidence

  • Agreement with MxBuild: all 20 measured cases (one project per case) and the five fixtures agree with mx. The new control check-gap-operand-entities.mdl builds clean in mx.
  • Stub proof: switching off each rule fails only its reported cases (11 and 2).
  • False-positive sweep: check -p over every example script found no false positives. That covers 11 scripts with add … to, 10 with union/intersect/subtract, 4 with download file and 38 with sort by.
  • Local gate: make ci-local passed. A first run failed only on a full disk; it passed after freeing space.

Generated by Claude Code

…CE0117, CE0024, CE0480, CE1613)

Check-gap sweep 5, batch A (f104 f105 f108 f110 f120): each passed check -p,
and MxBuild 11.16.1 rejected the project (f120: exec refused it).

- MDL130: add / remove of an object or list of another entity to or from a
  list (CE0117); a union, intersect or subtract whose second list holds
  another entity (CE0024). The item or second list must be the first list's
  entity or a specialization of it; a generalization is rejected too.
- MDL130: download file of an object that is no System.FileDocument (CE0480).
- MDL130: change of a list variable, which exec refuses.
- A database retrieve sorted by an attribute the entity does not have,
  including one only a specialization has (CE1613).

All 20 measured cases and the five fixtures agree with mx; the new control
file builds clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
@ako
ako marked this pull request as ready for review December 2, 2026 08:07
@ako
ako merged commit 5093796 into main Dec 2, 2026
19 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.

2 participants