test: banner purge + WHY-only comment sweep (rule 8)

Every section banner dies (103 -> 0) across test/lang, the observer
suites, the C carriers, and the five comment-heavy corpus fixtures;
banner provenance (#N cites, carrier numbers, repair-cluster labels)
folded into headers or adjacent WHY comments. Narration deleted; row
provenance, ref cites, divergence pins, and layout contracts kept
(fwd-ref decl-order guards and bootstrap-gate corpus rationale
restored where the sweep over-cut). Comment-only proven: all 3742
wwbuild workdir .s byte-identical before/after; test-commit and
test-byteid (161 lang + 1399 data, 0 pinned-divergent) green.
This commit is contained in:
2026-08-08 21:40:23 +09:00
parent aadc6618f0
commit 83f5956df2
120 changed files with 184 additions and 530 deletions

View File

@@ -19,7 +19,7 @@ package seplink_test;
// exit non-zero, name "duplicate symbol", and leave no partial
// binary. Non-vacuity flip: a distinct symbol builds + runs (exit 3).
//
// cycle (#46 commit-4) — a 3-package import cycle
// cycle (#46 commit-4 A) — a 3-package import cycle
// root->pkga->pkgb->pkgc->pkga is LOUD-rejected: non-zero exit, the
// `dependency cycle: pkga -> pkgb -> pkgc -> pkga` chain named, no
// partial binary, and cs stderr == ww stderr BYTE-IDENTICAL (the
@@ -65,8 +65,6 @@ fn runcode(dir: str, name: str, argv: []str) i32 = {
return co.code;
};
// ---- archive (#46 commit-5a) -------------------------------------------
@test fn archive() void = {
let td: str = testenv.fresh();
assert(os.mkdir(strings.concat(td, "/helper"), 493) == 0);
@@ -140,8 +138,6 @@ fn runcode(dir: str, name: str, argv: []str) i32 = {
testenv.clean(td);
};
// ---- archivedup (#31 through .a, PASS 3) -------------------------------
@test fn archivedup() void = {
let td: str = testenv.fresh();
assert(os.mkdir(strings.concat(td, "/pkga"), 493) == 0);
@@ -208,8 +204,6 @@ fn runcode(dir: str, name: str, argv: []str) i32 = {
testenv.clean(td);
};
// ---- cycle (#46 commit-4 A) --------------------------------------------
@test fn cycle() void = {
let td: str = testenv.fresh();
assert(os.mkdir(strings.concat(td, "/pkga"), 493) == 0);
@@ -289,8 +283,6 @@ fn runcode(dir: str, name: str, argv: []str) i32 = {
testenv.clean(td);
};
// ---- linkdup (#31 at the linker) ---------------------------------------
@test fn linkdup() void = {
let td: str = testenv.fresh();
let u1: str = strings.concat(td, "/u1.ww");