AtlatestRepositorysigil-doc

sigil-doc / tree / test / transcripts / sd-p1sabotage.txt

1==============================================================
2LEG 1 (product) -- THE NAMED SABOTAGE: the root allowlist is ignored.
3Every binding, every message, every location stays in place; only the
4membership test is removed. This is the falsification for the phase.
5test/sabotage-sd-p1.sh: line 84: label: unbound variable
6--- leg1-allowlist-ignored: exit=1
79 passed, 2 failed
8✗ the root allowlist rejects a root it does not name, in both directions
9✗ @text and @expr are dispatched as author commands, not pseudo-kinds
10✗ Some tests failed
11==============================================================
12LEG 2 (product) -- multiplicity is ignored; every profile accepts any
13number of roots.
14test/sabotage-sd-p1.sh: line 84: label: unbound variable
15--- leg2-multiplicity-ignored: exit=1
1610 passed, 1 failed
17✗ multiplicity is a parameter, and is enforced in both directions
18✗ Some tests failed
19==============================================================
20LEG 3 (product) -- the DEFAULT profile is silently widened, so
21sigil/doc would start accepting a folio root.
22test/sabotage-sd-p1.sh: line 84: label: unbound variable
23--- leg3-default-widened: exit=1
246 passed, 5 failed
25✗ the root allowlist rejects a root it does not name, in both directions
26✗ multiplicity is a parameter, and is enforced in both directions
27✗ the default profile is today's policy and today's diagnostics, exactly
28✗ @text and @expr are dispatched as author commands, not pseudo-kinds
29✗ a root-policy error still precedes any lowering error
30✗ Some tests failed
31==============================================================
32LEG 4 (product) -- spans are measured in SCALARS instead of UTF-8 BYTES.
33This is the exact bug the byte-vs-scalar precondition on the location arm
34exists to make detectable.
35test/sabotage-sd-p1.sh: line 84: label: unbound variable
36--- leg4-scalar-spans: exit=1
3710 passed, 1 failed
38✗ a profile with a different root set parses, with exact locations
39✗ Some tests failed
40==============================================================
41LEG 5 (product) -- top-level classification reverts to the HEAD SYMBOL,
42so an author's @text{} command is mistaken for the parser's own prose
43pseudo-node again.
44test/sabotage-sd-p1.sh: line 84: label: unbound variable
45--- leg5-head-symbol-classification: exit=1
4610 passed, 1 failed
47✗ @text and @expr are dispatched as author commands, not pseudo-kinds
48✗ Some tests failed
49==============================================================
50LEG 6 (product) -- trim-body-edges reverts to the HEAD SYMBOL.
51This is the site the first version of this phase MISSED, and the most
52dangerous of the family: it does not merely misread a @text{} command,
53it REBUILDS it as a five-slot prose node, so every later stage then
54behaves correctly on the wrong node. Fixing lower-block alone left the
55block-position case completely unchanged and looked like success.
56test/sabotage-sd-p1.sh: line 84: label: unbound variable
57--- leg6-trim-body-edges-head-symbol: exit=1
5810 passed, 1 failed
59✗ @text and @expr are dispatched as author commands, not pseudo-kinds
60✗ Some tests failed
61==============================================================
62LEG 7 (ASSERTION layer) -- one expected byte offset in the suite is
63perturbed by one. This proves the location assertions actually execute
64rather than sitting in a branch nothing reaches.
65test/sabotage-sd-p1.sh: line 84: label: unbound variable
66--- leg7-assertion-layer: exit=1
6710 passed, 1 failed
68✗ a profile with a different root set parses, with exact locations
69✗ Some tests failed
70==============================================================
71LEG 8 (instrument validity) -- CAN GATE ARM 2 FAIL AT ALL?
72Arm 2 asserts the classification change is confined: at least one
73colliding spelling moved, and every positive control is identical. Its
74INPUT is the committed BEFORE transcript. Here that input alone is
75neutered -- replaced with the CURRENT behaviour, control marker kept --
76while the gate's scoring and exit logic are left untouched. If arm 2
77still passes, it was passing for free.
78--- leg8-before-transcript-neutered: exit=1
79sigil 0.18.3 (sigil-lang 0.18.3-dev+0ed19fd1)
80SD_P1_GATE_01 root-profile suite 11/11, locations verified at 2 roots
81no colliding spelling changed behaviour; the classification fix is inert
821d0
83< PRE_SD_P1_CONTROL_UNBOUND (forged for leg 8 -- this transcript is NOT pre-SD-P1)
84==============================================================
85RESTORED -- every file back to its pristine hash. Re-running the suite
86green closes the loop: sabotage proves green->red, this proves red->green.
87 db605aad575385989ea7a4dda851c6959ed520785e2b62e763f3f780a38cd447 src/sigil/doc/private/parser.sgl
88 f7d6d8ea70931de2939a929e8f2b74fc9fe75e17aa4298042678478894740da8 src/sigil/doc/reader.sgl
89 54e490b46d39ac503c8c77672a6717c745d372a9fd7da62ca19fec9e3989ce78 test/test-root-profile.sgl
90 ba82579dd6be3ad26016d184d1ebba12db2bcc05dcbe3a585c55aef7040fef93 test/transcripts/sd-p1/classification-before.txt
91 ok 11 passed test/test-root-profile.sgl
93━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
94 ✓ All tests passed!
95 Files: 1 of 1 run
96 Tests: 11 passed (11 total)
97 Time: 3m 24.41s
98━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
99SD_P1_SABOTAGE_COMPLETE 8 legs
100SABOTAGE3_EXIT=0