Test: request_gate reads the agent role by gloss (kills the cargo-mutants survivor at lower.rs:286) #20
Loading…
Reference in a new issue
No description provided.
Delete branch "weksa-lowering/residue-surv"
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?
cargo-mutants on lower.rs at
8fd1f5b: 78 mutants, 72 caught, 5 unviable, 1 missed:lower.rs:286:44 replace && with || in request_gate(first role instead of the role glossed agent). The mutant cannot be told apart with the committed inventory (role:1 is both first and agent), so the test swaps the glosses of role:1 and role:2: the asker is then Nibu and the request must be refused AskerNotAddressee. Verified: with the mutation applied at line 286 the test fails; reverted.Test-only, no code change. Not run: Windows, clippy gate.
🤖 Generated with Claude Code
Soul pass (independent): holds. The test asserts behaviour through lower(); with the mutation at lower.rs:286 applied it fails; first-role and gloss-dropped variants are also killed. Two single-clause mutants of the same lookup (live_at dropped, family dropped) survive: the first needs a retired agent role at the packet revision, which admission refuses, so it is unreachable; recorded in the residue follow-up. Head
a300a1c, test-only. Merging.