AGENTS.md is normative. CLAUDE.md is a pointer, so rules are not duplicated. The verification command is npm run verify. scripts/build.mjs removes the output of every workspace module before building, so each build recompiles them and a promoted strict warning fails every build (F004 fixed; dependency output stays cached). Via scripts/build-prune.mjs it also removes output of workspace-prefixed modules whose source was deleted (F006; test/build-prune.test.mjs). scripts/strict-rebuild.mjs, run by verify, proves the recompile. Never obtain green results by suppressing a gate, weakening an assertion, or adding a bypass allowlist.
[text](target) link; inside a fence, a bare URL line;
and skipped files: .agents/, .claude/skills/, docs/patches/, bootstrap/
snapshots, editors/vscode/snapshots/ (generated) and lock files. Wrap
with continuation lines; never reword. Generated JSON is not scanned;parse only; docs/dependencies.md): performance.now,
.timeOrigin, .mark, .measure, globalThis.performance, imports of
node:perf_hooks/perf_hooks, Date.now, every zero-argument
new Date() (stored values included; a labeled amendment; new Date(x)
with arguments reads no clock and is outside the rule),
process.hrtime(.bigint), process.uptime, process.cpuUsage,
process.resourceUsage, Temporal.Now, Date() without new,
os.uptime (named or via an imported os),
console.time/timeEnd/timeLog, imports
of test/go-timed.mjs, test/growth.mjs or test/timing.mjs, and aliases by
destructuring, assignment of the object or .bind followed in source
order. global. reads as globalThis.. Bindings are tracked by lexical
scope (Program, function and parameters, block, catch clause, loop head;
var hoists to its function), so a local console hides that root only
in its own scope. Every read must match a use in
test/fixtures/timing-inventory.json (file, form, exact source line,
count) whose category the file’s scope allows, and each entry is checked
against its own file whether or not a scope reaches it, so a stale or
widened one fails. Floors on the files scanned stop an empty scan from
passing; test/clock-gate.test.mjs, test/clock-scope.test.mjs and
test/clock-inventory.test.mjs hold the must-fail, must-pass and near-miss
fixtures. Blind spots are listed under the policy below. verify also
prints one conditions line (commit from git describe --always --dirty,
time, 1-minute load, power source, and untracked non-ignored files when
there are any; unavailable (reason) for any value the host cannot give)
before each test phase (scripts/verify-conditions.mjs); npm run perf
prints the same line first. Beside it verify prints one schedule line
(scripts/verify-schedule.mjs): test files at once, regression jobs and
free memory. WAXWING_VERIFY_TEST_CONCURRENCY=trace (accessor, update, literal field or pun, record pattern) only
in Scheme start, DeclarationUse traced, Apply appliedAt and
pipedAt, Clauses file, Defer checkDefer, Install install and
Function checkFunction, in pinned counts; Check/Trace exports Trace
without its constructor; no instance of any class on Trace; finish
imported by Check/Function alone, not re-exported; Check/Trace/Types
imported by Check/Trace alone; Check/Trace’s export list exactly the
reviewed one (traceExports: the type, emptyTrace, the six recorders,
finish, module Features.Check.Trace.Types), so a new function taking
a Trace fails until reviewed. An unparsed module fails, and a floor on
modules read stops an empty scan. test/structure-trace.test.mjs holds the
must-fail and near-miss probes. Blind spots: the gate keys on the label,
not the type, so an unrelated record’s trace outside the allowlist is
a false positive and a same-count swap inside an allowlisted declaration
a false negative; the allowlist will also list readers of the finished
Traced as the read-back adds them (reviewed entries); a label reached
through a type-level string, or code outside src/, is not seen;
Check/Function’s exports are not pinned, so a wrapper of finish
exported from it would pass. Inertness and coverage
(test/r0-t2-trace-inert.serial.test.mjs): per corpus declaration,
recheck less its trace equals the no-collection baseline’s digest
(test/fixtures/r0/t2-trace-inert.json, built from the fixture’s commit
with scripts/r0-t2-trace-removal.mjs, whose edits must each match once),
and the finished and raw traces’ entry counts per kind are pinned. A
corpus re-pin moves both the digests’ key set and the counts: the
fixture records the corpus manifest’s SHA-256 and the test fails naming
the re-pin, node scripts/r0-t2-trace-inert-pin.mjs <scratch dir outside
the worktree> (src committed; the baseline must collect nothing), a
reviewed change whose digest diff must be explained; a new recorder
needs its removal edit first;internalModules;
test/structure.test.mjs pins both directions). Since R0 Task 1.1 two
token modules follow the same pattern. Domain.Verdict.Internal (the
constructors of Valid, Refuted, NonForced,
ForcednessEvidence) is imported only by Domain.Verdict and the
trusted checkers Features.Check.Strategy.Substitution,
Features.Check.Refute.Rules and Features.Check.Admit.Forcedness.Check
(exact names; Decide, Strategy.Online, Strategy.ReadBack and
Refute.Counter are refused). Domain.Recorded.Internal (the
constructor of RecordedProblem) is imported only by
Domain.Recorded and modules matching
^Features\.Check\.Generate(\.|$). Since R0 Task 5.1 two more
token modules follow it: Domain.Verdict.Theorem.Internal (the
constructor of TheoremRef) is imported only by Domain.Verdict and
Features.Check.Refute.Theorems, the hidden registry, and
Features.Check.Refute.Rules.Internal (the constructor of SoundRule)
only by Features.Check.Refute.Rules. Refute.Theorems is itself
importable only by Refute.Rules (a graph rule), and Rules’ import of
it must name TheoremRef without constructors: an explicit list, no
hiding, nothing in parentheses after TheoremRef
(theoremImportFindings, a source scan of every src module’s import
of Theorems, since purs graph sees modules only;
test/structure.test.mjs). The scan is defence in depth with the
compiled re-export check, not a guarantee: it reads source text only.
Tests mint either token through the
Internal module’s compiled JS (test/r0-stubs.mjs). A public module
re-exports its Internal module’s types alone (import X.Internal (T,
…) as Exports with module Exports), and no module re-exports a
constructor from any of them. Domain.Recorded also exports fields ∷
RecordedProblem → Fields, the record a constructor-less view
returns (R0 Task 3.1, ruling R4): every module reads the problem,
only generation builds it. purs graph sees neither re-exports nor
inlined constructors, and source forms vary (comments, layout,
aliases, line endings), so two checks read the compiler’s output
after the build (scripts/structure.mjs). reexportFindings: purs
0.15.16 emits a re-exported value as export { … } from
"../M/index.js" and a type as nothing, so any such statement from a token
Internal module is a finding. importFindings: purs inlines a constructor
into its client, so a module that uses one through an operator alias
(infix 4 Valid as <!>) or a re-export imports the Internal
module’s JS though its source does not; only the allowed importers
above may import that JS (the public re-exporters are among them).
So no module outside the allowed importers imports a token Internal
module’s compiled JS, and no module re-exports from it. purs itself
accepts both routes, so the checks are needed (docs/findings.md,
“The verdict token boundary”); test/structure-r0.test.mjs pins each
direction. Since R0 Task 7.1a, D1’s rules E1-E6
(docs/plans/r0-generation-continuation.md §3.1) are in the same
tables (scripts/structure-modules.mjs): E1 Domain.Elaborating.Build,
E2 Domain.Elaborating.Internal, E3 every Features.Check.Generate.*
module by pattern, E4 Features.Check.Generate.Elab.Internal, E5
Domain.Verdict.Judged.Internal, and S10 (no Runtime module imports
Domain.Elaborating* or Features.Check.Generate). Elaborating’s and
Judged’s Internal modules are token modules; Generate.Elab.Internal is
not, since every client of Elab or Gen imports its instance
dictionaries’ JS. E6 is read from the source (scripts/structure-elab.mjs):
a module X export that reaches a restricted module must bind only
import P (T₁, …) as X of bare types from the paired Internal module
(or a stated exception), and the export lists of the D1 modules are
pinned; test/r0-elab-rules.test.mjs has a case per rule and T10’s
import-closure check. Automated: all of these. Review convention: a
change to a pin. Threat model: the allowed importers are trusted and other
modules are not. A module outside them cannot reach a token
constructor through source imports, compiled imports or re-exports,
or FFI JS that names a token Internal module (foreignFindings scans
src/**/.js and output/Features.Check.Strategy.Substitution: mints Valid and
Certified; G0’s check; substitutionOnly, the non-minting
comparator (§18.174); validate, A2’s runner, returns a Valid
without a Certified (dossier §18.145 (b)); and certifyPackage,
the only code that constructs Certified, the online strategy’s
check since §18.170 (test/r0-minting-boundary.test.mjs).Features.Check.Strategy.Candidate: generic and under define the
candidate every judgement is taken under.Features.Check.Strategy.Atoms: judges each B atom against D; an
error here accepts a bad candidate.Features.Check.Strategy.Asked: judges each BQ atom by the ground
rule.Features.Check.Strategy.Exposed: the outside kinds a candidate’s
substituted terms expose (Scope A’s defensive check); an error here
lets an out-of-scope application reach Solved.Features.Check.GroundRule: the three-valued ground requirement rule
Asked applies.Features.Check.Mentions: decides which variables a type mentions, so
which atoms are ground.Features.Check.Spine: the arrow spine every atom judgement reads.Features.Check.Decide.Open: openAtom picks the atoms the check
skips; a wrong pick skips a real obligation.Features.Check.Entailed: reduces a BQ atom through the entailed
equalities.Features.Check.Entailed.Mgu: the unifier that reduction uses.Features.Check.Entailed.Triangular: the unifier’s substitution
in triangular form, read and back-substituted (BACKLOG R021).Features.Check.Entailed.Merge: applies the unifier’s substitution to a
recorded type.Features.Check.Decide: rule 1 blocks Solved while an atom is open.Features.Check.Decide.Shadow: assembles the one detector decide
uses.Features.Check.Decide.Reason: blocks puts A2’s record defect
first (spec §6); a dropped block lets a defective problem be Solved.Features.Check.Decide.Reading: reads each refusal as a decline or
a refused candidate (spec §6); a wrong reading misroutes a refusal.Features.Check.Strategy: checked takes the verdict’s Valid and
compilation from the check’s Certified alone; a spec has no
separate witness adapter (BACKLOG R026).Features.Check.Strategy.Online: certified hands the certificate’s
effect package to certifyPackage, which validates it and builds the
witness from the completed package; no other certificate field
reaches the verdict or the witness. A read fault declines as
EffectsUnread, and Online takes only certifyPackage and
certifyPackageSound from Substitution (scripts/structure-online.mjs;
docs/plans/r0-certify-package-argument.md).Features.Check.Strategy.Witness: G0’s adapter and Cov; the
witness is built here (witnessOf for the package path), so a wrong
binding is a wrong compilation.
Its solved form is also A2’s I3 check (i) over packages,
unsolvedKey, through the one outside predicate (spec D9).Features.Check.Strategy.HoleContract: decides which holes may stay
to be defaulted; a wrong judgement admits a default that breaks an
atom.Features.Check.Strategy.ReadBack.Type: settled gives the hole
defaults the check judges and holesIn the holes; they must be the
defaults lowering applies.Domain.Verdict.Certified and Domain.Verdict.Certified.Internal:
the token that pairs Valid with its witness (BACKLOG R026).Domain.Verdict.EffectPackage, Domain.Verdict.EffectPackage.Internal
and Domain.Verdict.EffectPackage.Types: A2’s effect package (spec
§2.2) and the Completed token only complete builds (spec §2.4);
the types are split from the facade because Completed wraps them.Features.Check.Strategy.Effects.Arity: the declared arities as
I3’s check (k) and record check 5 read them (dossier §18.148 (1)):
which applications conform, the bare spelling of a clause row’s
labels, and which recorded arities are valid; a wrong reading lets
an undeclared effect or a malformed application in an unconstrained
row through, or refuses the record’s own bare C rows.Features.Check.Strategy.Effects.Complete: complete, the one
builder of Completed, gives the completed package whose hole
numbers the witness and the hole contract share, and settledOf the
package every obligation reads (spec §2.4).Features.Check.Strategy.Effects.Dependency: Dep, the nodes connected
to the forced tails by the recorded obligations, and classify, which
turns a failed check into RigidExact, ForcedTail or an ordinary
failure; a missed edge reports a dependent failure as ordinary, an
extra edge an unrelated one as ForcedTail (spec §5.1).Features.Check.Strategy.Effects.Consume: consumeCheck decides
E2, Consume obligations, with Definition 4.2’s exact counts last
and alone marked as a limitation; a wrong reading lets an effect
reach a handler or row that does not allow it (statements §4).Features.Check.Strategy.Effects.Equal: equalCheck and samePTy
decide E1, Equal obligations, by structural equality on the settled
package, and report the failing check’s place in spec §9’s order.Features.Check.Strategy.Effects.Forced: the forced ResultC tails F
and their sources, which completion copies (spec §2.3, §2.4).Features.Check.Strategy.Effects.Handler: handlerEqual is
Definition 4.1 with rule J and rowEqual R-A’s row equality; a wrong
reading lets a handler value reach an installation with C or marks
other than its type’s (statements §4).Features.Check.Strategy.Effects.Judged: the result types every A2
obligation check returns. Every later Features.Check.Strategy.Effects
module joins this list as it lands.Features.Check.Strategy.Effects.Malformed and
Features.Check.Strategy.Effects.MalformedTerms: I3 (spec §5 item
3), the input package’s domain and forms in the order (a)-(j), then
(k), arity (§18.148 (1)); a check they miss lets a package outside
the domain, an unknown or non-N mark, a two-sort hole, an unsolved
image, a keyless Fail label or an undeclared or miscounted
application reach completion and the obligations, which assume
them.Features.Check.Strategy.Effects.Package: erase gives the
substitution G0 judges and must agree with generation’s
recordedWith; settle gives the defaults every obligation reads,
which must be lowering’s; under reads recorded types and marks
through a package; key decides which labels match and when a Fail
label is keyless (spec §2.2, §2.4, §2.5, §4.2).Features.Check.Strategy.Effects.Rows: grouped, R-A’s row normal
form, decides which rows are equal up to scoped order; a wrong group
makes E1 and E2 relate the wrong labels (spec §9).Features.Check.Strategy.Effects.Sites: the site checks E4, E5,
E6, E8 and E9 (HandlerLit, Install, Defer, Entry,
FailConcrete); a dropped own-abort, frame or deferral demand lets
a handler that may fail run where failure is not allowed, and E9
decides which Fail payloads have a key (statements §4, spec §9).Features.Check.Strategy.Effects.Term: norm, holds and
sameTerm decide every mark edge and mark equality (statements §5).Features.Check.Strategy.Effects.Validate: prerequisites (record
validation, the first Unsupported, I3) and judgeObligations,
each obligation in recorded order by its kind’s check on the settled
completed package, the first failure classified; a wrong order or
package reports the wrong refusal or accepts a package a step should
refuse (spec §4, §5). Strategy.Substitution’s validate composes them
with G0, completion and coverage.Features.Check.Strategy.Effects.Record,
Features.Check.Strategy.Effects.RecordCompanions,
Features.Check.Strategy.Effects.RecordEntries and
Features.Check.Strategy.Effects.RecordRefs: record validation (spec
§4.1): the site table, the record’s domains, forced-tail placement,
the Fail invariant and the companion table (the consumptions or
UnframedInstall each Install, HandlerLit and Defer requires,
dossier §18.148 (2)), over every recorded entry in spec §5’s order;
a check they miss lets a generation defect reach the obligation
checks, which trust the record.
Features.Check.Strategy.Effects.RecordArity adds check 5, the
recorded arities and every recorded application against them;
Features.Check.Strategy.Effects.RecordDuplicates check 6, no entry
repeated in the declaration lists flexEff and positions.Domain.Recorded.Atom: its hand-written Eq RTExpr (sameSpine) is
the equality G0’s equation judgements, the hole contract and
elaborate’s problem identity rest on.Domain.Recorded.Hole: holeVar, isHole and holeIndex decide
which variables are holes, for settled and for build’s images
alike; a disagreement makes the judged sigma and the built IR differ.
Modules of plain data whose instances are all derived are out of
scope for this list (the review’s ruling, 2026-10-24); a hand-written
instance or function that a check rests on brings its module in.
Review-required lowering boundary (BACKLOG R029; D1 spec §8.2 puts
build and the witness adapter inside it): the code that turns a
Judged solution into checked IR. A wrong step here lowers ill-typed
IR from a correct verdict. test/structure-trusted.test.mjs pins this
list and the marker, including every module of the generator family.Features.Check.Elaborate: elaborate’s steps before build, and
the only constructor of a successful Elaboration.Domain.Elaborating, Domain.Elaborating.Internal,
Domain.Elaborating.Build and Domain.Elaborating.Types: the sealed
generator result, its read-only view, build’s one accessor and its
faults.Domain.Verdict.Judged and Domain.Verdict.Judged.Internal: the
pairing of a problem with its solution (minted only by decide).Domain.Verdict.Witness: what each binding means to build.Features.Check.Generate and every module under it: generation
builds both the recorded problem and the build closure, so its
reads, images (Generate.Elab.Image) and label checks are lowering
code.build rests on, and today’s live
checker uses them too): Features.Check.Holes and
Features.Check.Walk (hole numbering in build’s output),
Features.Check.Implied (the declared facts G0 judges against),
Features.Check.Tables and Features.Resolve.Builtin (the
signatures the recorded problem is built from), and
Features.Check.Functional, Features.Check.Nested,
Features.Check.NestedArguments and Features.Check.Components
(which types hold functions, read by the static rules), and
Features.Check.Admitted (Scope A’s admitted heads, which narrow
the DataApplication marker).
The core allowlist (scripts/structure.mjs coreLibraries) is Prelude and
Data.{Either, Maybe, Int, String, Foldable, Traversable} modules, plus
exactly Data.Array and Data.Array.NonEmpty (F007: Data.Array.ST and its
submodules are mutation and stay rejected, pinned by the same test file)
and, since A003 Task 3b, exactly Control.Monad.Rec.Class, for tailRecM
loops over long inputs (BACKLOG E002); test/structure.test.mjs pins that
Control.Monad.ST, Control.Monad and near-miss names stay rejected. Since
P001 Task 3 it also admits exactly Data.Map, Data.Set and Data.Tuple
(packages ordered-collections and tuples), for the unifier’s
substitution; their submodules (Data.Map.Internal, Data.Set.NonEmpty,
Data.Tuple.Nested) and Data.List stay rejected, pinned by the same file.
Since Text v1 Task 2 it also admits exactly Data.Enum (package enums), for
toEnum/fromEnum between Int and CodePoint in \u{…} decoding and Go
literal escaping; Data.Char and Data.Enum.* stay rejected, pinned by the
same file;do block, the operators >>=, =<<, >=> and
<=< (including sections such as (>>=)), and the names bind,
join, discard, Prelude’s ap, ifM, whenM, unlessM and
liftM1, and Control.Bind’s bindFlipped, composeKleisli and
composeKleisliFlipped, plain,
qualified or in backticks. Format.Parse.Grammar, which holds the
Parser instances, and Format.Parse.Cursor, the token cursor beneath it,
are exempt; fixtures in test/style.test.mjs pin both the rejected and the
exempt modules. The gate is syntactic: an aliased or re-exported Bind
under another name would pass it, which review must catch;run or initialState; an open, as-only
or hiding import of either module is rejected. Format.Parse.Grammar,
which defines run and re-exports initialState, is exempt. Without
this, a production could run a sub-parser and inspect its result, which
is Bind by another route. Fixtures in test/style.test.mjs cover the
rejected forms, the exempt modules and an ordinary named import;npm run verify runs every test/*.test.mjs file (32 files, 302 tests at
P001 Task 9, no skips; the list is read from the directory, never
hand-kept) in one parallel node --test run, except the
test/*.serial.test.mjs files, which it runs afterwards in a second
run with --test-concurrency=1 (scale tests that build go or run long
Waxwing phases, so the parallel runner’s own load cannot fail them; user
decision 2026-10-09, FN001 Task 8). A new test that builds large Go
programs takes the .serial.test.mjs suffix (review convention; the
split by suffix is automated in scripts/verify.mjs). Since the
verification contract (below), the time bounds those tests once held are
in *.perf.test.mjs files, which verify excludes. The FX001 Task 11
timing tests (now test/fx-scale.perf.test.mjs) follow one convention, a
review convention, not an enforced rule: time the whole process after a
warm-up run (which also checks the output), take the median of five runs on a
quiet host to choose the bound, and set the bound to 3x that median; the
go build test assumes the warm .build/go-cache that verify provides.
test/text-scale.serial.test.mjs (Text v1) refines the go build timing:
one warm-up build of a trivial program first, then each measured build is
the minimum of three, since Go’s fixed startup and link cost (about 130
ms) is as large as the smaller bounds and load inflates single runs while
a real regression inflates all of them. Only the 10,000-part case keeps a
go build bound: for the 1 MB literal and the 100,000-escape program,
go build time is Go’s fixed startup (~130 ms) plus ~17/~4 ms of Waxwing
output, so a time bound there tests the host, not the compiler (user
decision 2026-10-13); they still build, run and match exactly.
Under verify’s load the measured figures did not stay inside the bounds
on this shared machine (dossier 18.130), which is why the bounds moved to
npm run perf. FN006’s 20,000-parameter suite is
test/fn-linear-timing.serial.test.mjs (workloads and outcome assertions)
with its eight bounds in test/fn-linear-timing.perf.test.mjs, unchanged;
fn-linear.serial.test.mjs is separate. The T003 deep/wide match ladder
block is test/match-lift-timing.serial.test.mjs (outcome) and
match-lift-timing.perf.test.mjs (its 1500 ms bound, unchanged);
semantic match-lift tests stay parallel. These moves keep each bound’s
constant and workload.
Then verify runs
scripts/regression.mjs (T013: one plain-purs baseline compiled per run in
.build/regression/baseline, never the spago output, whose bytes differ;
each row an independent cp -cR clone of it, or an ordinary recursive
copy where cloning fails, never a hard link; the row’s edits applied to
the clone’s sources and compiled incrementally with relative globs so
source paths match; row directories removed in finally, a failing row’s
error saved to .build/regression-failed/text-order (interpolation parts evaluated
right to left), text-nested-raw (a Text in data printed raw),
text-indent-count (a block’s indent removed by length, not as an exact
prefix), text-dollar (\$ interpolating), text-hash-mismatch (a
closing quote with too many #s accepted), text-surrogate (\u{D800}
accepted) and text-utf16-order (the field comparison orders Text by
UTF-16 unit). Go compares strings bytewise, which on valid UTF-8 is
code-point order, and no Go helper compares Text, so the UTF-16 mutant
replaces the field comparison itself. The scale rule is
test/text-scale.serial.test.mjs (a serial test): a 1 MB literal, 10,000
interpolation parts and a literal of 100,000 escapes each compile and run,
and emission is deterministic. Each bound is 3x the median of five runs
on the development host, for the in-process compile and, for the
10,000-part case only, for go build alone (figures in docs/progress.md, Text
entry). Examples are snapshotted
byte for byte (examples/text.wxw to bootstrap/text.go,
test/text-literal.test.mjs);-) adds five regression rows, in
scripts/regression-arith.mjs with probes in test/regression-arith.mjs:
sub-operands (the helper’s operands swapped), sub-inline (-
emitted inline, so Go folds and rejects INT_MIN - 1),
sub-helper-missing (the helper never emitted), sub-check-right (the
right operand’s Int check skipped for -) and sub-generated-as-plus
(the R0 generator building + for -);*) adds four rows there: mul-precedence (the + and
* levels swapped, so 2 + 3 * 4 prints 20), mul-inline (*
emitted inline, so Go folds and rejects 65536 * 65536),
mul-check-right (the right operand’s Int check skipped for *) and
mul-generated-as-plus (sub-generated-as-plus’s defect, probed on
x * 2); since Task 5 mul-precedence swaps the levels above unary
minus, which stays beneath both;neg-binding (the
operand read at the additive level, so -x + 1 at x = 5 prints -6),
neg-fold (no literal folding, so -2147483648 is E_INTEGER),
neg-inline (unary minus emitted inline, so Go rejects
-(-2147483648) as a constant overflow), neg-check (the operand’s
Int check skipped, so -true is accepted) and neg-generated-as-plus
(the R0 generator building a binary + for unary minus);r001-print-ground (no ground-type printable check: the probe must see
Go’s own go build error, read after the # command-line-arguments
header), r001-record-order (fields kept in written order),
r001-row-sort-propagation, r001-duplicate-field,
r001-callee-to-caller, r001-settled-sort, r001-caller-conflict and
r001-sort-feedback (the row-sort solver), r001-field-bound-tail
(tails decided against stale rows), r001-sorted-layout (layouts keyed in
written order), r001-lacks (no lacks check), r001-shared-remainder
(two open tails each given their own remainder), r001-field-order
(every field used in place in the Go struct literal),
r001-shape-types (layouts keyed by labels alone), r001-body-lacks
(body types not held to the signature’s lacks sets) and
r001-record-guard (no repeated-label guard in lowering). R012 adds
seven rows in scripts/regression-r012.mjs (probes in
test/regression-r012.mjs), R004 seven in scripts/regression-r004.mjs
(probes in test/regression-r004.mjs): r004-missing-field,
r004-label-span (a field’s span taken from its pattern),
r004-widening (record patterns not widened to their type’s labels),
r004-walk-binders (settlement skipping patterns in record fields),
r004-inhabitation (record fields read as Int), r004-go-fields
(lowered conditions testing no field) and r004-hole-tail (a hole tail
never extended), R005 nine in scripts/regression-r005.mjs (probes in
test/regression-r005.mjs): r005-overlap (no overlap check),
r005-overlap-order (the overlap reported at the item whichever was
written first), r005-written-use (written lacks not seeded at a use),
r005-provenance (the violation’s clause forgotten, the shape text
instead), r005-rest-type (a rest typed as the whole record),
r005-go-order (extension temporaries out of written order),
r005-empty-unit ({} unifying with Unit), r005-rest-layout (a
remainder layout interned and forgotten, so an unused rest’s struct is
never emitted) and r020-selection-refused (a broken row fact at a
selection reported as the missing field, BACKLOG R020), and FX024 adds
fx-label-argument-ambient to scripts/regression-fx.mjs. Every one of
these rows’ messages pins the symptom of its restored defect (the
wrong diagnostic, a wrong acceptance, an internal error, Go’s build
error, the wrong output, or, for r001-record-guard, the lowered
layout { a, a }), not only the probe’s own failure label, so an
unrelated mutant failure cannot satisfy the proof (BACKLOG T012, done
in R001 Task 13). The scale rule is test/r001-scale.serial.test.mjs
(programs in
test/r001-scale-programs.mjs): 200 shapes through 20 generic links give
exactly 4,001 keys and checked output, with compile, go build (the Text
v1 method) and Go-line bounds of 3x the median of five runs (figures in
docs/progress.md, “R001 Task 10”); a services proxy runs in the same file
with exact keys and no time bound. The records example is snapshotted
(examples/records.wxw to bootstrap/records.go, test/compiler.test.mjs);runGoBatch(import.meta.url, cases, label?) takes an array of
[name, source] pairs (an array, so a computed name collision is refused
at declaration rather than collapsing silently) and, on the first run(name),
compiles them all, writes a synthetic module
under .build/go-batches/<id>/ (its own go.mod with module path
waxwingbatch and the pinned toolchain’s language version, one package
c<N> per case, a dispatcher main importing them), builds once with
GOCACHE under .build and GOWORK off, and runs each case as its own process
(the binary invoked with the case’s package name). <id> is the test
file’s basename plus an optional label, sanitized; a batch clears only its
own per-process directory, never the root, and an id may be claimed once
per process.
Before rewriting, each program must have exactly one package main clause
and exactly one canonical printed entry (func main() { fmt.Println(...) })
or Unit entry (func main() { waxwingFnN() }), and no func Main; only
those two lines change. Failure
contract: a Waxwing rejection is recorded per case and rethrown, unchanged,
by that case’s run (runGo’s error), while the other cases still build;
an unexpected program shape or a Go compile failure is a batch
infrastructure failure, thrown by every case’s run, naming the offending
case(s) when Go’s output identifies their package. run keeps runGo’s
contract (stdout, exit status 0 asserted); result returns the raw
process outcome. Panics keep their message and exit status; stack traces
differ (package path waxwingbatch/c<N>, Main). Each process builds
under its own .build/go-batches/<id>.<pid>/ (T002), so concurrent runs
of one file in a checkout do not race; the directory (binary included) is
removed when the process exits or gets SIGINT/SIGTERM. A SIGKILLed run
can leave one behind; rm -rf .build/go-batches reclaims them.
The go build timeout (300 s) kills only the go command, not its compile
children (spawnSync cannot kill a process group); depth-build’s
builds group-kill with a termination timeout (the 10 s budget is in
depth-timing.perf.test.mjs). Self-tests:
test/go-batch.test.mjs (the concurrency one spawns
test/go-batch-child.mjs). Not batched: depth-build.serial.test.mjs’s
builds, scripts/regression.mjs probes, goTest, and the slow
accepted probes of test/fx008-probes.test.mjs (the batch compiles
in-process, which would escape their child-process timeout); runGo
remains as the self-tests’ standalone reference;The CST ban on all anonymous lambdas is deliberately stronger than MileAhead’s manual ‘name what you pass’ rule. The Maybe/Either rule is stronger than its pass-through-only automated eliminator gate, following explicit user steering. Named where helpers and maybe’ preserve laziness for computed fallbacks.
(Dossier 18.132; docs/plans/2026-10-30-verification-contract-proposal.md.)
Two questions are kept apart. Functional acceptance is npm run verify:
every functional test, the structural gates, the regression proofs, the
stack-safety checks and generous timeouts that catch hangs. Performance
qualification is npm run perf (scripts/perf.mjs): the absolute
elapsed-time budgets. The shared machine’s load can fail a budget without any
compiler change (dossier 18.130), so a budget is not a condition of
routine acceptance. File names decide the command: test/*.perf.test.mjs
files run only under npm run perf, one at a time, after a conditions
line, every file even after a failure, exit 1 if any failed, no retry;
verify skips them by name and ends with the dynamically counted line
“Performance qualification was not run: N files under npm run perf.” Perf
does not build; run npm run build first. Neither command is run by the
other.
Where a file mixed a budget with functional or stack-safety assertions, the
routine file keeps the workload and every outcome assertion, without the
time bound, and the .perf.test.mjs file keeps the budget with the same
workload and constants. The split was checked by a before/after inventory
of test names and assertion counts per file (scripts/test-inventory.mjs).
Growth checks (doubling ratios) may run in routine verify only through
test/growth.mjs and only after a demonstration against a healthy base, the
healthy head and a quadratic mutant. test/growth.mjs fixes the protocol: two
untimed warm-ups (small, then large), then exactly ten timed invocations in
the order S L L S S L L S S L, the statistic median(L) / median(S), the
caller’s threshold, every sample printed with its position, size and load1.
It bounds growth between two sizes; it does not prove linearity, and a ratio
reduces but does not remove interference. The one adopted check is
partialFirst at 10,000 and 20,000 parameters, threshold 3.0
(test/fn-linear-growth.serial.test.mjs; regression row partialfirst-growth
shows the ratio assertion failing on a constructed quadratic, not a
historical one). The existing ratio check (fx008-install’s doubling) stays
in perf until it has its own demonstration. Thresholds are reviewed, not
machine-checked.
Inventory categories (test/fixtures/timing-inventory.json). Each clock use is classified by its actual assertion, not by the file name:
spawnSync timeouts, go build kills). It is
not a budget, but it can also fail on a computation that is merely slow.
A margin of about ten times the measured time is a review guideline, not
a guarantee and not a calibration prerequisite;buildMs);limitMs argument (fx-differential’s shrinkMs) is
a functional clock use, the parameter of fx-shrink’s deadline, not a kill.
A limit that proves to be a budget is reclassified, not loosened. An
assertion on elapsed time inside a file that looks like a termination test
(poly-termination-timing) is a budget.Clock gate policy. Parallel phase: no clock reads except listed functional
exceptions. Regression phase: as serial. Serial phase: reads only
through listed uses of a category the scope allows (growth helper,
termination helpers, diagnostics). Perf files
and the helpers only they reach: free to read clocks, but every
*.perf.test.mjs file and every read must be in the inventory. An unlisted
read, an import of go-timed.mjs or growth.mjs from an unlisted file, and a
listed use that no longer matches are findings. Limits: the gate sees
syntax, not intent. It cannot tell a generous timeout from a tight one (the
ten-times margin is a review rule; timeouts are listed but read no clock, so
the gate only checks that the listed line exists). It cannot see a duration
a child process reports in its output. It cannot stop misuse of a listed
helper, such as comparing go-timed’s buildMs in a routine file or calling
the growth helper with a lax threshold. It does not judge thresholds.
It also has the older blind spots: clocks reached through modules outside
test/ (scripts/, compiled output, child processes); computed property access
with a non-literal key, and eval; a clock root passed as a value
(f(performance), { c: performance }, [performance]); elapsed time
asserted through a runner timeout; dynamic imports when building the scope;
require or createRequire of perf_hooks; a clock read in one file and
compared in another; an alias made at top level and used in a function
declared earlier; non-.mjs modules under test/ (skipped; none exist today).
Regression phase. test/regression.mjs and test/regression-*.mjs run in
verify’s regression phase and are a routine gate scope (the serial
categories; no absolute budget). The r005b-quiet probe lost its
Date.now() limit and is now the functional check it already was: the
mutant fails with E_INTERNAL “re-examination passed”. The row
duplicate-scan-timing (an absolute 5 s budget over three 20,000-type
compiles) left the routine registry: it is a perf regression proof in
scripts/regression-perf.mjs, run by npm run perf after the perf files
through the regression runner (probe: test/perf-regression.mjs). A fixed
compiler must pass it and the restored defect must fail it; either
failing counts as a perf failure. A growth check on it is a later
candidate. A row flagged alone runs one at a time after the pooled rows;
the growth row uses it, because the pool’s load is not the load a ratio
should be measured under.
Growth mutant calibration. The constructed mutant of row
partialfirst-growth is not a pre-registered form. Two scratch trials
preceded the formal run: a first form (scan of the leading at elements,
ratio 3.078, marginal), then the final form (scan of the whole list, ratio
3.444); the formal run gave 3.425. Choosing the form after seeing ratios
is a selection effect. The margin over the 3.0 threshold is 14% (3.425 /
3.0), so the row shows sensitivity to this slowdown, not that 3.0 separates
every quadratic. The mutant text builds clean under the strict build
(spago build --strict --pedantic-packages, 0 warnings, 0 errors, checked
by applying the row’s edits to a scratch copy). A row’s mutant is not
subject to the style gates (purs-tidy, anonymous-lambda and let rules):
those run on the real src tree and on nothing in an isolated clone.
Counts and corrections. The proposal’s first-pass table named five
existing ratio checks. By assertion only one is: fx008-install’s doubling.
large-source-timing, r013-scale, r0-mgu-scale and fx008-scale hold
absolute bounds only. The inventory also missed r005b-predicates (a
Date.now bound on each check), now a perf file. npm run perf has a
termination safeguard of its own: a perf file running longer than 600 s
(fileTimeoutMs, about ten times the longest file) is killed and reported
as failed, and the run continues; a skipped, todo or only test inside a
perf file is a failure. The perf file count is pinned exactly in the gate
(floors.perfFiles), and each perf file must reach a listed absolute
budget or ratio use.
scripts/test-inventory.mjs counts static test sites and assert call sites
inside each file. Its blind spots: assertions made by a helper in another
file are not counted, a test generated by a loop is one site, and a
timeout is not an assertion, so an unlisted timeout is not a finding.
Completion reports state functional acceptance (routine verify) and
performance qualification (npm run perf: run or not run, result,
conditions) separately. A perf check that did not run is never described as
passing.
Types/instances, constants, public functions, private functions; descriptive names; named constants except 0/1/2 and test data; 30 declaration lines, 3 nested decisions, 8 active branches, 8 where bindings. Branch expressions should call a named helper when they hold computation. The CST gate currently catches branch do blocks, not every complicated operator/record expression. Comments explain why. These conventions were inspected in MileAhead and apply here; E001 tracks extending automation after the first slice.
Loops whose length grows with the input (characters, tokens, declarations)
use tailRecM or a self tail call, and accumulate with Format.Stack or
indexing rather than Array.snoc/uncons/drop per item, which copy the array.
This is a review convention; only test/large-source.test.mjs (megabyte
padding, 20,000 declarations) checks it, and only for the paths it drives.
The FX008 probe gate (test/fx008-probes.test.mjs, data in test/fx008-probes/,
table in test/fx008-probe-table*.mjs) pins the outcome of every review probe
(code, text, span, Go SHA-256, stdout, stderr, status). A task may change an
entry only where the FX008 plan lists that probe for that task; any other
change stops the work, and a hash of the table without flipped
(test/fx008-probe-hash.mjs) catches accidental edits only, so the reviewer’s
diff of the table is the real control.
No coverage percentage is claimed. Properties use deterministic generators and explicit edge cases with no discarded inputs. Parsing tests compare with independent generated trees; executable comparisons use a BigInt interpreter. Record rows with several tails (R005 Tranche B Task 4, Features.Check.UnifyRecord) are compared with an independent brute force (test/row-merge-oracle.mjs, ported from research/open-row-merge/) on generated and exhaustive labels-only problems in several orders, with the solver’s state read back by the test itself (property E, test/row-merge-readback.mjs) and a sensitivity check of that read-back. The unifier (Features.Check.Unify, P001 Task 3) is compared with an independent union-find oracle (test/unify-oracle.mjs) and checked for soundness, acyclicity and most-generality over generated pairs. Row unification (Features.Check.UnifyRow, FX001 Task 3) is compared with an independent recursive Leijen oracle (test/row-oracle.mjs) over generated rows with repeated keys, shared tails and rigid tails, and checked for soundness (scoped-label equality), symmetric acceptance and acyclicity; its side-condition test runs in a timeout-guarded child process. These solved properties remain in test/unify-row.test.mjs. The separate deferred-row properties (test/row-properties.test.mjs) distinguish pending acceptance from solved equality: an independent transactional oracle models rollback, postponement and settling, with deferred keys, same-family payloads, arrow label arguments and nonempty starting substitutions. Pending constraints are retried after the body’s ordinary constraints; they are not equality witnesses. groundErased is used only at Resolve/Seeds monomorphism boundaries; strict ground still checks both type variables and row tails.
Measurement and checking tools are committed, not ad hoc (T003); neither
runs in verify. scripts/differential.mjs compares two built compilers
phase by phase (lex, parse, resolve, check, specialize, Go emission, full
compile) over the sources the test suite parses (harvested by
scripts/differential-hook.mjs into .build), token soups, generated
nested-match programs and mutations, and exits 1 on any difference: run
it against an isolated build of the previous commit for every
behavior-preserving refactor or performance change. Its digests carry
normalisations for fields an IR gained, each dropped only where a baseline
without it agrees: a Plain token’s kind (Text v1), an empty records in
the monomorphic IR (R001 Task 7) and a checked function’s sorts, a copy
of resolve-phase data (R001 Task 8).
R005 Tranche B Task 4 adds two such tools for the row solver:
scripts/row-merge-exhaustive.mjs runs a whole exhaustive domain (A is
about 19 million runs) through the compiler against the independent
oracle, as test/row-merge-domains.test.mjs runs a sample, and
scripts/row-merge-cross.mjs compares the compiler with the research
prototype on generated problems.
scripts/ladder-profile.mjs times the match-lift ladder cold and per phase,
alternating with a baseline build. Both are review conventions. The
differential loads compilers and harvests sources through
scripts/differential-load.mjs.
FX020’s corpus migration used one-off tools (a resolver-driven rewriter and a paired differential of each original program with its migrated twin). They were removed in FX020 Task 7; git history keeps them.
The FX001 differential corpus (Task 10) is a test-side reference
interpreter (test/fx-oracle.mjs, written from the design, no compiler code)
and a seeded generator of well-typed programs over two user effects, two
failure families and Console traces (test/fx-programs.mjs, fx-gen-.mjs).
test/fx-differential.serial.test.mjs (serial phase, ruling F11) builds the
programs in go-batches of at most 100 and compares Go stdout, stderr and exit
status with the interpreter exactly; the census (test/fx-census.mjs counts
what the interpreter observed, not what the generator intended) must meet its
minimums (50 programs per scoped-handler scenario, 25 per cleanup outcome) or
the run fails, and so does a generated program the compiler rejects, with its
seed. Knobs, outside verify: WAXWING_FX_SEED (default 20261010; program
i has seed SEED+i, reproduced with generate(SEED + i, i)) and
WAXWING_FX_PROGRAMS (default 500; the minimums need about 400, so a
smaller count fails by design; larger counts build in more batches). A
differing program’s source, both outcomes and a shrunk source
(test/fx-shrink.mjs) are written to .build/fx001-differential/. The 25
rejection variants of strict defer are generated from the same seed, and
25 more reach a failing handler (FX008: directly, through a forwarding
clause, through a clause calling an ambient callback).
Since FX020 Task 5 the interpreter reads qualified operations, signature
aliases and imports, with Console and Fail as effects
(test/fx-oracle-names.mjs; tests in test/fx020-oracle.test.mjs), and the
generator spells each function’s operations bare, qualified (some through
an alias) or through imports of its own row (test/fx-gen-names.mjs), from
a stream of its own so a seed keeps its program shape. Each performed
operation reports its spelling, and the census requires programs that
perform one qualified (400), imported (150), through an alias (50) and
bare (75, until Task 7).
Since R001 Task 9 the interpreter models records (test/fx-oracle-records.mjs;
hand traces in test/fx-oracle-records.test.mjs): fields and update
replacements evaluate once in written order, values compare and print in
sorted label order (Text quoted as nested data), and a record payload’s
Fail family is its label set. A record frame (test/fx-gen-records.mjs, in
70% of programs) draws a label universe with one type per label, writes
literals and types in shuffled order, and calls generic functions over open
records (test/fx-gen-record-fns.mjs). The census requires 250 programs each
running a record literal, access, update, generic record function,
comparison, print and Fail payload.
Since R004 Task 4 it also matches record patterns (fields, puns and
...; test/fx-oracle-records.mjs). test/fx-oracle-record-patterns.test.mjs
runs 200 generated programs (test/fx-gen-record-patterns.mjs), each match
an ordered partition of its scrutinee’s type so it is exhaustive and
non-redundant by construction, through the compiler and Go, and compares
stdout, stderr and status with the interpreter’s. It requires 95% of the
programs to be accepted and each pattern form in at least 10. It shares no
code with the compiler or with the coverage oracle.
Since R005 Task 3 it also evaluates a literal’s spread (items left to
right, the base once), without, a named rest and {} (printed {};
test/fx-oracle-records.mjs). test/fx-oracle-record-extension.test.mjs runs
200 generated programs (test/fx-gen-record-extension.mjs: each record
expression is built for a known label set, so it is well typed by
construction, with effectful items so output order is checked), through the
compiler and Go, and compares stdout, stderr and status with the
interpreter’s. It requires 95% accepted and each form in at least 10.
test/fx-oracle.test.mjs validates the interpreter against the hand-derived
traces of Tasks 2, 4, 7 and 8 (imported from their program modules), the
shrinker, and a sensitivity check (clauses run in the operation’s context
must change some of 50 programs). Both run in verify; the differential test
is in the serial phase.
Random clauses may fail (FX008 Task 11): a clause is fail-free, fails with a
family handled outside its with (parameter w, reserved for generated
failing clauses; the census counts the aborts of such clauses as failing
random clause, at least 25 programs), or forwards to an outer operation
whose handler may fail. A failing clause is reachable: the with may sit in
its own handle, and its body ends with the operation. Designed failing
frames (test/fx-gen-failing.mjs) add the shapes lexical, forward, callee,
value and ambient; they are extras outside the focus rotation, and the
random path alone meets the census row. The generator tracks the user
labels whose innermost handler may fail (ctx.failing): constrained cleanup
performs none and no function whose row names one is called under it, so
every program compiles. The one-way soundness differential
(test/fx008-soundness.serial.test.mjs, serial phase) generates 300 programs
generate(SEED + 100000 + i, i, { unconstrained: true }) whose cleanup
ignores those frames. A rejected program must carry an FX008 headline at a
defer or at a call, or a strict defer text at a defer; a witnessed
escape must be rejected by an FX008 headline. An accepted program must never
make the interpreter report typed abort escaped cleanup and must agree with
Go exactly. Minimums: 50 accepted programs whose cleanup performs a user
operation, 50 rejected by an FX008 headline, 25 oracle-witnessed escapes
(oracle error: typed abort escaped cleanup), every one rejected, and at
least 5 witnessed escapes in each shape (lexical, forward, callee-plain,
callee-nofail, value-passed, value-returned, ambient, random). Failures are
saved to .build/fx008-soundness/. Sensitivity (ruling R1), run on commit
ff0c6d1 (Task 8, no mark check) with this corpus at the default seed: 110
of the 120 witnessed escapes are accepted, every shape except value-returned
(its 10 hit the strict Fail text), and the test fails.
Report functional acceptance (npm run verify) and performance
qualification (npm run perf) separately; see “Verification contract”.
Acceptance criteria must run through the actual CLI/backend, with typed
rejections and regression sensitivity. Check new instructions from a clean
output directory, because incremental zero warnings do not prove a rebuild.
Update plan, progress, findings, ADRs, provenance, and backlog together.
Record known failures with concrete next actions; deferred language features
are scope decisions, not hidden failures. No external issue/commit/push rule
from a reference project is inherited.
Generated output/output caches and lockfiles are excluded from line limits. Waxwing fixture files and generated Go are data; maintained source or test code cannot be moved into those trees to evade checks. The checker tests test the checker itself. Structural guarantees are bounded by direct imports and known library APIs, not a proof of arbitrary dependency purity.
Superpowers is project-local, revision-pinned third-party guidance, preserved unmodified under .agents/skills with its MIT notice. It is distinct from maintained Waxwing source/tests/tooling; project gates still cover their existing roots without weakened checks. docs/planning-skills.md records instruction precedence and adoption. Migrated plans preserve historical evidence without asserting retroactive TDD/commit records. Execution uses the installed plan/task/review helpers and real commit ranges.
The audit moved computed Maybe fallbacks to named maybe’ functions, contextual traversal callbacks into where, independent resolver bindings into where, and branch calculations into helpers. Private comma-list parsing functions now have an explicit export boundary. No language semantics or gate was relaxed. Numeric limits in maintained checking/mutation scripts are named constants.
The 30-line/3-decision/8-branch/8-binding budgets are review targets. The flat exhaustive mappings in Format.Diagnostic (codeName: seventeen ErrorCode arms, one unrendered; code and message: fifteen Problem arms each) are retained together for readability; E003 records this specific target exception and its next review. All maintained code remains below 250 lines; automatic counts do not prove full naming/complexity compliance. No new source behavior or unification is claimed. Existing executable/snapshot/diagnostic tests validate this refactor.
research/ holds maintained evidence for designs that is not part of the
compiler: prototypes, oracles and generators a design relies on (first
research/open-row-merge/, for R005 Tranche B). It is maintained but not
in verify: nothing there is built, tested or run by npm run verify.
Automated: scripts/width.mjs scans it like every tracked .mjs and .md
file, so the 80-column rule applies. Review convention: the 250-line
limit and the other tooling rules hold there too, although
scripts/structure.mjs scans only src, test, scripts and tools/style/src.
Each directory has a README.md with exact commands, seeds, expected
output and what each script checks; a design citing a result names the
command that reproduces it.
Approved by the user on 2026-10-17 as a general rule, with proportional scope. It binds new or materially changed solving rules and the diagnostic claims they make (a unifier’s rule, a constraint solver, a decision procedure whose result a diagnostic reports). Routine checker edits (a new text for an existing failure, a refactor, a rule extended to a new syntactic form with the same meaning) do not need a new three-way result type, an exhaustive oracle or a claims ledger. Where the evidence a rule below asks for is unavailable (no independent oracle can be written, the domain is too large, a part of the system is absent from the prototype), the design says so explicitly and names the compiler test that covers it instead. All of this is review convention: no gate checks it.
Solved, Contradiction or
Unresolved, and diagnostics are rendered only from it: a
contradiction text only from Contradiction, an unresolved text only
from Unresolved. Result types and behavioural tests are the
safeguard; no test bans a word in source. No internal state is named
for a property it has not established (for example “ambiguous”).A cross-boundary generator of real programs compares the compiler’s outcome with an independent reference and shrinks failures into permanent fixtures.
Result boundary classification (the user, 2026-10-18; same proportional scope). Where failures are converted into semantic claims, no catch-all: each failure constructor is classified explicitly (a proven mismatch or violated constraint is a contradiction; a depth or resource limit an operational stop; a broken internal invariant an internal error; an unimplemented stage a placeholder stop), so adding a constructor forces a decision about what it establishes. The classifier is tested on its own, with limits and internal failures injected directly, since generated problems rarely reach them. Tests are reviewed against the result’s contract: for each path producing a contradiction, name what established impossibility. First instance: the RowOutcome table in docs/plans/2026-10-17-open-row-merge-rules.md, §11b.
Int and unifies with it); uncertainty keeps the failure’s own text.
Its tests include an earlier plausible suspect that is compatible
beside a later one that fails, in each order, with the conflicting
value made compatible accepted. Rejection correctness and explanation
correctness are reviewed apart: a solver oracle backs the first only.
Each new heuristic is challenged for a case where its condition holds
and its conclusion is false before its output is pinned, and a state
snapshot read for blame is checked for bindings made earlier inside
the operation that failed. First instance: test/r005b-render.test.mjs,
row r005b-clash-established.First applied in docs/plans/2026-10-17-open-row-merge-plan.md (R005 Tranche B); its rule arguments are docs/plans/2026-10-17-open-row-merge-rules.md.
Directed by the user on 2026-10-20, after a review refuted the completeness claim of a proposed signature checker (record composition dossier, §13.7) and, earlier, a forced-placement claim (§3.2, C7). Both defects had the same shape: the examples exercised cases where two different properties happened to coincide. Before a proposed procedure or a claim about one is approved for proof or implementation:
Review convention; no gate checks it.
The approved Waxwing charter guides substantive language, library, runtime and tooling decisions. Name the relevant principles and explain material tradeoffs in the design’s existing rationale and assurance sections. The decision note asks about the programmer’s problem, library alternatives, guarantees, evidence and any departure. Use those questions where they help; a new form is unnecessary when the design already answers them.
This is a review convention. Neither a link check nor an automated prose check can establish semantic compliance. Latest explicit author decisions govern within scope; record supersession and raise substantially disruptive consequences before applying them. Charter approval does not authorize a feature, proof or implementation plan.
Review convention (not automated), adopted 2026-10-19 at the user’s request. Applies to READMEs and documents written to explain a design to readers (not to plans, logs or progress records).
humanizer skill lists (not-X-but-Y contrasts,
one-line closers, staged openers, forced triads, dash overuse, inflated
claims, sales language, stock words, bold labels, filler) and Bryan A.
Garner’s plain-English concerns (Garner’s Modern English Usage; Legal
Writing in Plain English): needless words, buried nominalizations
(“make a determination” for “determine”), passive voice that hides the
actor, abstract nouns where a concrete example would serve, unexplained
jargon, inconsistent terms for one idea, and points buried mid-paragraph
instead of stated first.humanizer skill is the tool for steps 1-3 where available; record
the catalogue in the commit or review notes.Review conventions only: the layer names describe reasons to change, which no gate checks; the gate checks import direction, purity and IR access. F005: the nil-guard probe’s temp-directory cleanup is not asserted.
The self-hosting roadmap and its source inventory identify parity obligations. This section is proposed review guidance; it adds no automated gate and authorizes no implementation or gate exception.
For each ported subsystem, record the existing static invariant, its Waxwing counterpart, the language/library assumptions, and the check or argument supporting it. Include negative cases for hidden constructors, scoped handles, variable sorts, witness coupling and read tracking where those properties apply. Preserve the independent boundary between untrusted proposals and trusted certification.
Adapt import/export and trusted-surface checks to Waxwing’s parsed module information. Keep executable, rejection and oracle fixtures; replace white-box adapters that depend on compiled PureScript’s JavaScript shapes. Repeated self-compilation is convergence evidence, separate from a proof of model-to-implementation correspondence.
Before claiming a tail-call or iterator-cost guarantee, name the source forms and backends covered. Test self, mutual and indirect tail calls, short-circuiting, callback order, failures and pending cleanup as applicable. On Go and JavaScript, specify Waxwing lowering that supplies the promised space bound rather than relying on host tail-call optimization. Account for pending cleanup and installed handler frames. Measure compiler-scale time, allocation and stack use. Keep the reference loop and size-dependent measurements; a small example passing is not a stack-safety or zero-overhead guarantee.