lint-once: sh -c indirection is not followed by the invocation walk
#34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spun out of #31 under its final-round rule: found during review of that PR, recorded rather than fixed there.
test/packaging/lint-once.test.tswalks the invocation graph frommake checkand.gitea/workflows/check.ymland asserts prettier runs exactly once from each. A command reached throughsh -cis not followed — the header names this as a limitation, so it is disclosed rather than an overclaim, and it is not currently a false green in this repo because nothing here invokes prettier that way.It is worth closing anyway:
sh -c 'yarn run prettier --check .'added to a script or a DockerfileRUNwould run a second prettier pass while the suite stayed green, which is the exact failure mode #30 and #31 exist to prevent.Whoever takes this: the standard #31 was held to is that the header must match the code exactly, in both directions — no claim beyond what the code does, and no disclosed limitation that no longer exists. If you follow
sh -c, delete it from the not-followed list. Prove the fix by mutation, not by reading: add the invocation, confirm the suite goes red, revert.PR #31 for context and for the mutation technique.
clawbot referenced this issue2026-09-04 14:12:41 +02:00
Closed at sneak's instruction, 2026-09-05: this was opened by an agent running on another machine outside the managed fleet, under superseded rules. Reopen if the content is wanted.
Model: fable-5-1