You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facade refusals don't say what to write: an agent following the spec guessed the grammar for an hour #3129
In the postal-mcp transcript the user (an agent) read §16.2b and still guessed, because refusals state the rule broken but not the form that works: "a case states an integer C type ('c_long', 'curl_off_t', an enum) or 'str'", "a retained pointer case's type is caller-managed storage", "param 0 ... receives a modeled resource; a resource is passed by the value that owns it, never fixed", "function 'Easy.new' is already defined".
Every facade refusal should end with the spelling that is accepted for the user's intent, or, when the grammar has none, say so plainly and name the issue tracking the gap (e.g. "an out-pointer case has no form yet: #3119; present this function through a with function over a raw call"). The same for the generated-code failures (#3114's unknown type: BorrowedPart should never reach the user as a compile error in generated text).
Done when: each facade diagnostic in SemaFacade.w carries a help line with an accepted spelling or a tracking issue; a fixture per diagnostic checks the help text.
#3405 lands the first part: every refusal in src/SemaFacade.w now ends with a help line (224 gained one), 156 existing fixtures expect theirs, and ten new fixtures cover refusals that had none. Still open: about 85 refusals have no fixture that checks their help line. They are being written in batches.
#3406 merged: 47 more fixtures, each pinning a contract refusal's help line, and a compiler panic fixed on the way (argv param 7 on a three-parameter callback indexed out of bounds in the renderer; now refused). 55 of the 208 help lines still have no fixture; three of those are compiler-defect reports no program should reach. Continuing in batches.
#3412 merged: 21 more fixtures. 32 of the 208 help lines still have no fixture. Noted on the way: the parser's own contract refusals (for example 'a variadic callback names its paired selector') print no help line; they are outside the checker's 208.
Two more fixtures on a local branch (facade-help-fixtures, lands with the next battery): a parameter both fixed and a userdata; nullable on a callback item's other pointer. A fresh count over SemaFacade.w's 256 help lines finds 52 with no fixture, of which 22 are 'this is a compiler bug' lines no contract can reach by design, leaving about 28.
One class cannot be pinned as written: where the parser refuses the same shape first (param N fixed 1.5), the checker's copy with the help line is never reached and the parser's message has no help line. The parser has no way to attach one; that is the fix, not a fixture.
Five more fixtures written (2026-11-20, local branch facade-help-fixtures, to ride the next battery), each pinning the refusal and its help line: valid on failed on a function whose first parameter receives no resource; a handle operation that states more than a lend; rename on a call presented under its C name; callback_thread any with no callback; abandon naming a function with a second parameter. A rough scan (longest fixed fragment of each help text against the facade tests) still finds about a hundred help lines whose text no test contains, of which about 22 are 'this is a compiler bug' lines no contract reaches.
Activity
Contract refusals end with the spelling that works (#3129); with get …
ehartford commentedon Nov 17, 2026
#3405 lands the first part: every refusal in
src/SemaFacade.wnow ends with a help line (224 gained one), 156 existing fixtures expect theirs, and ten new fixtures cover refusals that had none. Still open: about 85 refusals have no fixture that checks their help line. They are being written in batches.facade fixtures (#3406)
ehartford commentedon Nov 17, 2026
#3406 merged: 47 more fixtures, each pinning a contract refusal's help line, and a compiler panic fixed on the way (
argv param 7on a three-parameter callback indexed out of bounds in the renderer; now refused). 55 of the 208 help lines still have no fixture; three of those are compiler-defect reports no program should reach. Continuing in batches.Contracts: 21 more fixtures for refusals' help lines (#3129) (#3412)
ehartford commentedon Nov 17, 2026
#3412 merged: 21 more fixtures. 32 of the 208 help lines still have no fixture. Noted on the way: the parser's own contract refusals (for example 'a variadic callback names its paired selector') print no help line; they are outside the checker's 208.
Contracts: three more fixtures for refusals' help lines (#3129) (#3413)
Three fixtures: 'nonnull' on a by-value resource, a non-lend clause o…
Four fixtures for callback refusals' help lines, and one refusal's wo…
ehartford commentedon Nov 18, 2026
Two more fixtures on a local branch (
facade-help-fixtures, lands with the next battery): a parameter both fixed and a userdata;nullableon a callback item's other pointer. A fresh count over SemaFacade.w's 256 help lines finds 52 with no fixture, of which 22 are 'this is a compiler bug' lines no contract can reach by design, leaving about 28.One class cannot be pinned as written: where the parser refuses the same shape first (
param N fixed 1.5), the checker's copy with the help line is never reached and the parser's message has no help line. The parser has no way to attach one; that is the fix, not a fixture.Contract report names destroyers for unproduced records; survey reads…
Five more contract refusals have fixtures for their help lines: the f…
ehartford commentedon Nov 20, 2026
Five more fixtures written (2026-11-20, local branch
facade-help-fixtures, to ride the next battery), each pinning the refusal and its help line:valid on failedon a function whose first parameter receives no resource; a handle operation that states more than a lend;renameon a call presented under its C name;callback_thread anywith no callback;abandonnaming a function with a second parameter. A rough scan (longest fixed fragment of each help text against the facade tests) still finds about a hundred help lines whose text no test contains, of which about 22 are 'this is a compiler bug' lines no contract reaches.List.len is declared in the standard library (the first built-in meth…
str.contains, starts_with and ends_with are declared in the standard …
Every contract-refusal fixture that prints a help line checks it: 72 …