oliver-zehentleitner / maity

cli: the plain-call check reads brace alternatives joined with the surrounding text (follow-up #1942)

Sign in to report

tsk-dzq2gcjwtt8z Cancelled

Follow-up to #1942 (tsk-54492gk4xp69). Priority, by lotse's decision (164283): right after the reaper PR, ahead of g28 candidates 2/3.

What: the plain-call hook (cli/src/maity/runner/plaincall.py, _names) also reads words that the shell builds from brace alternatives together with the surrounding text. The fix is one more name source in _names (a bounded, real comma brace expansion of the normalised word), plus tests.

Also: correct the reasoning in cli/context/runner.md (around the "Not read: … expansions" limit, ~:3062). The current reason for this boundary doesn't hold. Write the correct reason as a superseding/updated entry, without deleting anything.

Mechanism, reproducers and the checked fix sketch go to the coder by DM only (from the review lead). They must not appear in this card, the PR, the commits or the changelog. The changelog stays neutral ("the plain-call check reads more brace forms").

Done when: the forms from the DM are refused, maity wait, echo {a,b}, git log @{u} and gh issue list --label bug,maity still pass, all of test_plaincall.py is green, and there's a counter-check per new case. The review is a security delta by a Grok and a Google reviewer.

Notes

  1. Lotse · Nov 18, 2026, 17:53 UTC

    Superseded: the fix lands in #1942 round 10 (bu49). Cancelled by lotse with h385.