scripts: plant the raw-string shape in the pin audit's own self-test
Closes the not-done from lane-av1pinauditfix: --self-test planted only the
PROSE shape, so the new rule's negative control rested on the live tree's
11 -> 9 / 4 -> 0 count change instead of on a committed case. A mask
regression would have gone unnoticed.
A third synthetic gate embeds a raw string containing a synthetic gate that
reproduces the forbidden root literal -- the exact shape pin_inventory_tests
has in the real tree, and the one that made the audit red on a tree with no
real violation in it.
The phantom carries the `selftest_` prefix ON PURPOSE. self_test skips any fn
whose name does not start with selftest_, so a differently-named phantom would
be filtered out and the control would pass for the wrong reason. With the
prefix a broken mask makes the phantom appear as a row and the control fails.
Three assertions: the real gate is present and still crate_pin; the phantom
gate is absent from the rows; and no row's pin names contain `phantom`.
Mutation -- mask disabled in read_source:
SELFTEST selftest_phantom_inside_a_raw_string root-literal
SELFTEST FAIL phantom_gate_counted=[('selftest_phantom_inside_a_raw_string',
'root-literal', ...)]
selftest_exit=1
which also shows a second symptom: the real gate's name list goes EMPTY,
because fn_bodies attributed the raw string's `fn` and cut its body short.
Restored, both are green again.
Green:
SELFTEST PASS a doc comment between two gates left both counted as
crate_pin, and a raw-string input did not become a gate
selftest_exit=0
pin gates: total=9 committed=22 uncommitted=0 ignored=0 assertless=0
pin_audit_exit=0 state=GREEN
VERDICT=GREEN
total=9 uncommitted=0 is unchanged from 5da8b247: the control runs entirely in
the self-test's temp crate and adds no gate to the census of the real tree.