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

@@ -69,8 +69,6 @@ fn samefile(label: str, what: str, a: str, b: str) void = {
};
};
// ---- sepbuild (#46): real chain root->os->{rt,time} --------------------
// A package directory's *.ww bodies (less *test.ww), byte-sorted, each
// newline-terminated — mirrors the driver's body enumeration so the
// substituted bodies-unit matches the sep-unit structurally.
@@ -241,8 +239,6 @@ fn composebodies(unit: str, libdir: str) str = {
testenv.clean(td);
};
// ---- seproot (#69 BUG-1): export-over-unexported-type root -------------
@test fn seproot() void = {
let td: str = testenv.fresh();
assert(os.mkdir(strings.concat(td, "/lib"), 493) == 0);
@@ -340,8 +336,6 @@ fn composebodies(unit: str, libdir: str) str = {
testenv.clean(td);
};
// ---- sepstructdef (#70 BUG-2): aggregate-init def prototypes -----------
@test fn sepstructdef() void = {
let td: str = testenv.fresh();
assert(os.mkdir(strings.concat(td, "/lib"), 493) == 0);
@@ -420,8 +414,6 @@ fn composebodies(unit: str, libdir: str) str = {
testenv.clean(td);
};
// ---- wwispread (#95): `...` spread marker round-trip -------------------
fn spreadshape(name: str, entry: str, wwi: str, marker: str) void = {
let td: str = testenv.fresh();
let src: str = strings.concat(testenv.repo(), "/", entry);