Skip to content

Bundled skill test-microflows.md documents a --require-assertions flag the binary does not accept #926

Description

@TOFBuck

Repro

$ ./mxcli test tests/ -p eShopMendix.mpr --require-assertions
Error: unknown flag: --require-assertions

$ ./mxcli test --help | grep -c require-assertions
0

But .ai-context/skills/test-microflows.md — written by mxcli init from the skills embedded in
this same binary — documents it:

  # Fail the run on any test that asserts nothing
  mxcli test tests/ -p app.mpr --local --require-assertions

Why it matters

The skills are embedded in the binary and rewritten by mxcli init --sync-skills specifically so
guidance and binary stay in step — the bootstrap script even comments that upgrading the binary
"used to leave yesterday's guidance in place with no warning — and an agent reads stale guidance
with the same confidence as current guidance." Here they are out of step in the same release, which
is the failure mode that machinery exists to prevent.

Either the flag regressed out of the test command, or the skill documents an unreleased feature.
A vacuous-test guard is genuinely useful, so landing the flag seems better than deleting the doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions