Repository navigation
process(plan): plan-777361 (P78) scope decides meaning — draft by the owner's decision (no fifth pass); reviewed, awaiting the owner - #2767
Merged
Conversation
Draft of the P78 plan (N1/N2/N4/N7: scope decides meaning; #2423 #2398 #2432; charter §3.20l, full (c)). Stage 0 is specified and not landed: it waits on the owner's answers listed with the plan pull request. Measured @ e24aaf9; check_plan_refs: RESULT OK, body 19,426 / 20,480. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Corrections to the draft from measurements @ e24aaf9: math.pi and socket.AF_INET are module variables of the .spy stdlib, so D8 refuses them (SPY0401) and subprocess.PIPE is the admitted control; N2 at module level covers every read at load of a builtin name; a redeclared import stays SPY0204; a nested type is a class-level member in D3; the 32 N7 rows on a nested type through self or an alias are R-LQ's (P16), an owner question; N1-arity names its code. check_plan_refs: RESULT OK, body 19,880 / 20,480. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
A11 names what #2426 still owes at its close (its comments of 2026-11-06 and 2026-11-07). check_plan_refs: RESULT OK, body 20,090 / 20,480. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
This was referenced Nov 20, 2026
Stage 0 of plan-777361 (P78; contract §11), first commit. Test code and its allowlist only: no product path. 32 rows of name-resolution-differential-allowlist.txt cited #2423 and are `self.N()` / `A.N()` on a nested type: rule N7, tagged must-run, refused SPY0203 (22 through `self.`, 10 through an alias). R-LQ admits that call and gave it to P16, so the cell is #2397's (the owner's ruling of 2026-11-20, #2423 comment 7030074628: "the 32 N7 rows citing #2423 that are `self.N()` / `A.N()` on a nested type are R-LQ's (P16) and are re-cited to #2397"; the cell is posted on #2397, comment 7030092843). A row's cite is the route's, so the route gains the arm: a false refusal of an N7 read whose target is a nested type is #2397 (NameResolutionDifferentialTests.ImplementingIssue). The sweep holds every row to its route, so a row re-cited by hand alone is red. Rows: 2377 unchanged; citing #2423 1117 -> 1085, citing #2397 207 -> 239. No baseline moves. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; contract §11), second commit: the binding and scoping rule table (#2487, R-LO) as data, read by NameResolutionDifferentialTests in place of its hand-written RuleAxes predicates. Test code, its data and the scorecard baseline only: no product path, and no hook was needed. The table: Conformance/name-resolution-rules.txt, 186 rows over 44 rules. A row is `<Tag> <rule> axis=value,... axis!=value,...`. The case -> expected map is row -> (tag, rule); the generator still computes a cell's tag and rule beside its model and its python prediction, and the two must agree cell by cell. Totality (RuleTable_EveryCellHasOneRow_AndEveryRowACell, and the sweep through ClosedSetFailures): every generated cell matches exactly ONE row, that row's tag and rule are the cell's, and every row has a cell; a value the table names on an axis is a member of the axis's enumeration, or (the four text axes) is carried by a cell. A per-rule predicate could not say "exactly one": 2733 of the 8951 cells fit a second rule's RuleAxes predicate (#2457 cell 1), so an arm retagged to such a rule stayed green. Axes (RuleTableAxes), each a typed property of the cell or a typed part of its key: - family (Family); target, outer (BindingKind); position (ReadPosition); relation (DeclaringRelation); form (StoreForm); construct (LocalTarget); timing (ReadTimings); declaration (DeclarationShapes); typeAt (TypePosition): the cell's properties, each roster already held to the compiler by Rosters.cs; - order, spelling, nesting, readForm, receiver, resultForm, storeSpelling: the enum VALUE the generator passed to CellId, kept by the new CellKey. No axis is read back from the id's text (RuleAxes split the id on `/` for these); - classes (@typelevel, @Initializer, ...): the image of the roster or predicate the generator itself branches on; - hand lists, closed by the pool and not by an enumeration: route (a sub-generator's label), mark (the other text labels of a key), shape and deviation. They are the generator's own strings; a value the table names that no cell carries is red. The rows were DERIVED, not written from the rules: the pool was split on the axes until each part carried one tag and rule, and parts that differ on one axis were merged. They state what the generator does today, are exclusive on the pool by construction, and are edited by hand from here (the plan's T8 rewrites the ones its D9 names). Verdicts moved against RuleAxes: nine cells, on the owner's ruling of 2026-11-20 (#2423 comment 7030074628, item 2: "Must-run (Recommended)"), each a must-refuse cell whose program runs: read/ModuleEnum/{ParameterDefault,DataclassFieldInitializer, StructFieldInitializer,EnumMemberValue}/{Earlier,Later}/Bare/outer=None (an enum member's `.value`; now N1 at the earlier order, N3 at the later) and read/ClassLiteralConst/ParameterDefault/base/H.x (a literal const through a subclass name; now N7). Their nine rows are deleted (each passes), the census moves by those cells, the judged later/ earlier pairs go 1276 -> 1280, and `scorecard_metrics.py --lower` takes allowlist_rows_seed 2377 -> 2368. No other cell's tag, rule, model, python prediction or source differs from the base (the pool was dumped before and after and compared). CellBudget stays 8951. RuleAxes and its id-token helpers are deleted; the admitted-codes directions it carried stay as AdmittedRuleFailures. Mutations (contract §2), in a worktree at this commit's tree (8d78796), each restored with cp and confirmed with cmp: - totality, a row: the first N2 row deleted -> the fact red, 32 cells match no row (1 failed); - totality, the cell's side: the generator's N2 arm retagged SPY0401, the compensated swap #2457 measured green -> the fact red, 600 cells differ from their row (1 failed); both restored -> 1 passed; - a passing cell listed as known-red (`read/StaticField/ StaticInitializer/Earlier/Bare/outer=None SilentWrong # #2423 silent-wrong`) -> NameResolutionDifferential_Sweep red, "STALE: delete the row", allowlist 2369, stale 1 (1 failed); restored -> 1 passed. FullyQualifiedName~NameResolutionDifferentialTests at this tree: 233/0/0 (measured; sweep 438 s, pool 8951, python agrees on 8951, allowlist 2368, non-allowlisted 0). Not done here: docs/design/gap-discovery-contracts.md still names RuleAxes (a doc path; the plan's T11). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; contract §11), third commit: the cells of N1, N2, N4 and N7 that the P77a pool has no program for, as a generated test type of their own with its own allowlist. Test code and the scorecard baseline only: no product path. The owner's word (2026-11-20, #2423 comment 7030074628, item 1), on where stage 0's new cells live: "New test type (Recommended)". It decides: "a new generated test type with its own allowlist; `allowlist_rows_outside_seed` rises by the measured red count. Not approved: a `CellBudget` raise, an `allowlist_rows_seed` raise, a seed registration." So `scorecard_metrics.py --set-baseline allowlist_rows_outside_seed` moves it 572 -> 605 (+33 rows); allowlist_rows_seed stays 2368 and CellBudget 8951. Conformance.ScopeMeaningDifferentialTests: 86 cells (40 must-run, 46 must-refuse), 33 known-red rows in scope-meaning-differential- allowlist.txt (23 cite #2423, 10 cite #2432). A cell is a NameCell and carries NO verdict: its tag and rule are read from its one row of name-resolution-rules.txt (#2487), which gains 10 rows and 4 rules (R-QI, N1-typed-read, N4, N1-alias-target; 196 rows, 48 rules). The generator writes the program, what it prints if it runs and the codes a refusal of it may carry. Six cell sets, each over an enumeration or a set named closed, every value generated or excluded with its reason (Axes_EveryValueIsGenerated OrExcluded): - no-initializer (R-QI): BindingKind x {Present, Absent, AccessorBodies}, 17 cells, 4 red: a module variable, a module property, a @static field and a @static property with no initializer print 0; - typed-read: `b: bool = <read>`, BindingKind x {Annotated, Inferred} x {Earlier, Later}, 30 cells, 13 red: SPY0908 CS0029 where the declaration is checked after its reader (11), SPY0200 for a module variable declared below (2, listed as wrong-code); - callee: a binder's name called under a module def of the name, LocalTarget and the parameter, 8 cells, 4 red: the module def is called (12, python 1); - constant-kind (#2432): the four constant positions x {CLR literal field, Stdlib module variable, comparison chain, chain with a non-constant link}, 17 cells, 10 red: math.pi / socket.AF_INET are CS1736 or CS0133 behind SPY0908 (7; must-refuse SPY0401, item 4 of the same comment), `1 < 2 < 3` is SPY0401 (3); - init-overload: caller x order, 8 cells, 1 red: `self.__init__(7)` above the overload it names is SPY0224; - alias-target: {Declared, Missing} x {Used, Unused} x order, 6 cells, 1 red: `type K0 = nosuch`, unused, runs (must-refuse SPY0202, item 3 of the same comment). Python agrees on the 18 cells it runs with the same meaning; the rest have no twin (a property, an overload, a type alias, a refusal). A must-refuse cell refused under a code its cell does not admit is red as FalseRefusal with the lane wrong-code, so "refused for another rule's reason" is a row and never a pass. Excluded on what the compiler does today (measured @ e5991c8): a @static property typed read is CS0029 at either order (#2417's class); `match one:` / `case x:` over a function value is CS8119 with no module def of the name. Mutations (contract §2), at this tree: - totality: the table's `N1-typed-read` row deleted -> RuleTable_Every CaseHasOneRow_AndTakesItsVerdictFromIt red, 30 cells match no row (1 failed); restored (cmp) -> green; - a passing cell listed as known-red (`local/callee/Parameter/ outer=None SilentWrong # #2423 silent-wrong`) -> ScopeMeaning_Sweep red, "STALE, delete the row" (1 failed, 3 passed); restored (cmp) -> 4 passed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
A draft with no pass: revised to the owner's rulings of 2026-11-20 (#2423 comment 7030074628) and to stage 0 as landed @ 8bd4b49 (ff40b21, 59ac995, 8bd4b49). Text is replaced, not appended. - Generator: no longer "not landed". The table (196 rows, 48 rules, 27 axes), the two test types with their counts, the hand-listed axes named as such, the exclusions, and which decisions turn rows green. - D8: the nine must-refuse cells that run are must-run (item 2); math.pi / socket.AF_INET are SPY0401 and #2768's as constants (item 4). A9 and #2432's close criterion follow. - D10: an alias to a missing type is refused at its declaration, used or not (item 3), with A13, M13, T12, its direction line and its place in A8's record. The 32 R-LQ rows cite #2397. - D9: the relabelling is T8's edit of the table; its SPY0401 count is 154 (the draft's 169 counted 15 qualified reads, which N2 does not name). - Counts re-taken @ 8bd4b49: 303/0/0 on the instrument filter (measured), sweep 7 m 26 s, seed rows 2368 (1076 / 6 / 27), the new type's 33 (23 / 10), scorecard seed 2368 and outside 605. - A11 names docs/design/gap-discovery-contracts.md, which still says RuleAxes. check_plan_refs.py: RESULT: OK; body 20,090 -> 20,479 / 20,480 bytes; 0 verify passes / 2. Next: /verify-plan in a fresh context. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
/verify-plan pass 1 of 2, nine dimensions. Result NEEDS REVISION (Dimension 6, with Dimension 4 design rows); Adequacy CELL. The stamp replaces the DRAFT marker and a Verification Summary is appended. The body is unchanged: 20,479 of 20,480 bytes before and after, so no correction was made in place; each is in the summary. Stage 0 (contract §11) @ 8bd4b49: the path check passes; both generated types and the three hand instruments are 303/0/0 at this tree; seven mutations were re-run from cp copies, each red, each restored and confirmed with cmp, then green. Open: axes the new type carries as hand lists or single values, each with a value measured red today; D2 not reaching six of A2's thirteen red cells; four decisions that are the owner's. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; verification contract §11), answering the first /verify-plan pass (NEEDS REVISION, Dimension 6 @ a7fbd94): the seven hand-listed or single-valued axes of ScopeMeaningDifferentialTests are each the image of a compiler enumeration, read by reflection, by a census, or from the 8951 pool, with an assertion that every value is generated or excluded with a reason. Test code and the scorecard baseline only; no product path. Axis <- source (ScopeMeaningDifferentialTests.Axes.cs): - constant position <- AdmissionTable (5 tables, 8 hosts, and the enum member's value, which has no table: a table added for it is red) - constant member kind <- a census of discovery's FieldSignature facts (IsConst x IsGuarded) over every value of every Stdlib module; each expression's kind is checked against what discovery records for it - callee outer <- BindingKind (30 generated, 4 excluded) - alias site <- ScopeKind x TypeKind, pinned to the 8951 pool's census of the two binder sites - alias target shape <- the public properties of TypeAlias, TypeAnnotation and FunctionType (10 shapes) - typed-read spelling, reader position, nesting <- Spelling, ReadPosition, Nesting as the 8951 pool runs a read of the kind (derived from its must-run cells; a placement it gains is red) - R-QI host <- TypeKind; declared type <- SemanticType's 19 subclasses - order <- Order, per cell set that has the axis An exclusion that rests on compiler behaviour has a probe that goes red when the behaviour changes (Exclusions_RestingOnTheCompiler_GoRedWhenItChanges, 6 probes): the module `let` refusal, a match subject that is a function value (CS8119), an interface's @static value (CS0120, #2383), enum and union bodies, a declaration that needs its value. The @static property typed-read exclusion is gone: the cells are generated. Cite by class (contract §10; #2423 comment 7039834146): a typed read that is red at the EARLIER order is no order defect, so it and its later twin cite #2417 (150 rows: an `auto` field or a @static property read through a receiver). read/typed-read/StaticField/Inferred/Earlier was re-measured @ 55846bb: `b: bool = H.x` is SPY0908 CS0029 with the declaration above its reader and below it. Rule table: +axis `admission` (AdmissionTable), +2 rows, +1 rule (SPY0425, an attribute argument's refusal): 198 rows, 49 rules. A `const` initializer handed a non-constant member must run (N4). Counts @ this commit: ScopeMeaningDifferentialTests 2225 cases (683 must-run, 1542 must-refuse; python agreed 30/30), 639 known-red rows: 463 cite #2423, 26 #2432, 150 #2417. By route: no-initializer 318/72 red, typed-read 1308/430, callee 120/40, constant-kind 51/26, init-overload 8/1, alias-target 420/70. NameResolutionDifferentialTests unchanged: 8951 cases, 2368 rows. Scorecard: allowlist_rows_outside_seed 605 -> 1211 (+606 = 639 - 33), by `scorecard_metrics.py --set-baseline allowlist_rows_outside_seed`. The owner's word is item 5 of #2423 comment 7039834146: "Close all seven (Recommended)", "this is the owner's word for the further allowlist_rows_outside_seed raise by the measured red count". Not raised: CellBudget, allowlist_rows_seed; no seed registration. Mutations (each from a cp copy, restored and confirmed by cmp): - totality: the SPY0425 row deleted -> both RuleTable_Every... facts red (4 cells match no row; 48 rules, not 49) (2 failed) - a passing case listed known-red (local/callee/Parameter/outer=None) -> ScopeMeaning_Sweep red, STALE (1 failed, 4 passed) - cite: a #2417 row re-cited to #2423 -> ScopeMeaning_Sweep red, "the row cites '#2423 ice' and the route says '#2417 ice'" (1 failed) - Axes_EveryValueIsGeneratedOrExcluded, one mutation per axis family, applied together, one failure line each (1 failed): constant position: the lambda table's hosts removed -> "constant-kind x host: LambdaParameterDefault is neither generated nor excluded"; member kind: sys.maxsize listed as a CLR literal -> "discovery records it (IsConst, IsGuarded) = (False, False)"; callee outer: ModuleEnum removed -> "neither generated nor excluded"; alias site: the struct body removed -> "alias-target x type body: Struct ..."; alias shape: ErrorType removed -> "TypeAnnotation. ErrorType ..."; typed-read: BaseList's exclusion removed and SelfDot dropped from the derivation -> one line each; R-QI: the struct host and TupleType removed -> one line each; order: the alias set's Self exclusion removed -> "alias-target x order: Self ..." - Exclusions_...: the module-let probe handed a program that compiles -> red, "rests on SPY0340, and the probe now gives [] stdout '1'" (1 failed) - all restored -> green. Runs @ 55846bb + this diff (product code == e24aaf9): ScopeMeaningDifferentialTests + RuleTable: 6/0/0 (1.7 min). Both generated types, ClassBodyReadPositionMatrixTests, StaticInitializerOrderMatrixTests, ConstantPositionValidator*: 304/0/0 (13.2 min). pytest build_tools/tests -k "scorecard or allowlist": 112 passed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Answers the first /verify-plan pass (NEEDS REVISION, Dimension 6 @ a7fbd94) by rewriting the text each finding names; stage 0 for the revision is 0c54469. Stamp lines and the Verification Summary are removed; the revision log carries the pass. Body 20,479 -> 20,470 of 20,480 bytes. check_plan_refs.py: RESULT: OK. Owner rulings recorded: #2423 comment 7039834146 (items 5 and 6). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
/verify-plan pass 2 of 2 on plan-777361 (P78), nine dimensions, at 6569918 (product code == e24aaf9; stage 0 @ 0c54469). Result NEEDS REVISION, Adequacy CELL (Dimension 6 with one Dimension 4 design row, D8). Contract §12 Convergence was applied and does not hold: two findings are not deferrable. 1. D8's list answers true for a literal of a referenced MODULE only, and false for every other bound member. A referenced type's literal (`def f(x: int = int.max_value)`, prints 2147483647 today) would be refused, against D8's own predicate, and no case of either pool or fixture hands a constant position such a member. The member-kind axis is closed against the Stdlib modules' values only. 2. The hosts under an AdmissionTable value are a hand list. A struct's defaulted auto-property (`property p: int = H.x`) is CS1736 behind SPY0908 through CodeGenInfoComputer, a reader outside the validator. Stage 0 re-measured: path check PASS; ScopeMeaning 2225 cases, 639 rows; both generated types and the hand controls 304/0/0; both §11 mutations and one mutation per axis family, each alone, red; a host removed from a table stays green (finding 2's control). The plan body is unchanged (20,470 of 20,480 bytes). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; verification contract §11), answering the second /verify-plan pass (NEEDS REVISION, Dimension 6 @ 6569918) as the owner ruled on 2026-11-20 (#2423 comment 7042723494, items 7 to 9). Test code and the scorecard baseline only; no product path. Finding 1, ruling 7: the constant member-kind axis is closed against the bound-member kinds. ScopeConstantKind is the image of what the compiler records for a member, per where the member lives: - a referenced module's value <- the Stdlib census of FieldSignature (IsConst x IsGuarded), as before, now also named bare through `from m import x` (N7: a spelling); - a referenced type's member <- the subclasses of ClrMemberResolution, a Field refined by FieldInfo.IsLiteral and an enum owner. Generated: literal field (int.max_value through a builtin's name, an imported name and a module-qualified one; Math.PI), enum member (DayOfWeek.Monday), static readonly field, static property, a method and a method group read uncalled. Excluded: NestedType (SPY0220), AbsentResult (SPY0203), InconclusiveResult (nothing is bound). Each expression is checked against ClrMemberTypeResolver's own answer; - the program's own enum <- EnumMemberAccessKind and the member itself, per enum shape (six kinds); - any other name of the program <- BindingKind: the typed-read set's 13 kinds under each annotation, through the type's name or a subclass's, a callable read uncalled, and a builtin. Excluded: the type-denoting kinds (SPY0220), a constructor and every call form (EmittableConstantKind.Call by shape), the locals, ModuleLet. Own names are generated at every host, the 8951 pool's five positions included: that pool's qualified reads sit inside the member's own type. Finding 2, ruling 8: a host is keyed by the READER that judges it, a call site of ConstantDefaultClassifier.IsAdmitted found by a syntax census of src/Sharpy.Compiler (ScopeMeaningDifferentialTests.Readers.cs; a site whose table is its method's parameter is counted at each caller that passes one). The six call sites are nine readers: the validator's def, lambda, dataclass and struct defaults, an attribute's positional and named arguments, ConstEligibility.Compute (a `const`, refined by ScopeKind x TypeKind into six sites), MarkStructConstructorProperty (the struct auto-property host, new: every expression must run there), and IsExportedConstCompileTime (excluded: the cross-module route, the plan's hand control A3). A host's AdmissionTable is read from its reader's call. 9 hosts become 14: +attribute-keyword, +block-const, +struct-const, +interface-const, +struct-auto-property. Finding 4, ruling 9: an alias whose target reaches the alias itself has its UNUSED cells (ScopeAliasTarget.Itself, orders Self and Cycle, every site and shape but the module-qualified one: 126 cells), tagged must-run; all 126 run. The used ones stay excluded citing #2769: named by an annotation the alias overflows the compiler's stack, so no in-process probe can hold it (`type K0 = list[K0]` named by a parameter: `sharpyc run` exits 134, stack overflow in TypeResolver.ExpandTypeAlias, re-measured here). A red one would cite #2769 (ProposedCite; the ratchet fact holds it). Finding 6: TypeKind.Delegate's exclusion says why it stands (a `delegate` declaration has no body), with its probe (SPY0100). Rule table: 198 -> 207 rows, 49 -> 52 rules (+#1938: a struct auto-property keeps a non-constant default's initializer; +kind:SPY0336; +#2769). A string enum's member, its `.value` and any `.name` are tagged as non-constants (SPY0401 at a default): by call 43, not ruled. Counts @ this commit (product code == e24aaf9): ScopeMeaningDifferentialTests 3070 cases (1224 must-run, 1846 must-refuse; python agreed 30/30), 829 known-red rows: 463 cite #2423, 216 #2432, 150 #2417. constant-kind 770 cells / 216 red (was 51 / 26): module value 96/38, type member 119/33, own enum 79/54, own name 450/85, chain 26/6. alias-target 546 / 70 red (was 420 / 70). The other routes are unchanged. NameResolutionDifferentialTests unchanged: 8951 cases, 2368 rows. Scorecard: allowlist_rows_outside_seed 1211 -> 1401 (+190), by `scorecard_metrics.py --set-baseline allowlist_rows_outside_seed`; then `--check`: OK. The owner's word is item 7 of #2423 comment 7042723494: "Admit; close the axis (Recommended)", whose option read "The outside-seed allowlist baseline rises by the measured red count", and which decides "`allowlist_rows_outside_seed` may be raised by that commit's measured red count". Not raised: CellBudget, allowlist_rows_seed; no seed registration. New probes (Exclusions_RestingOnTheCompiler_GoRedWhenItChanges, 6 -> 15): a delegate body (SPY0100), a `const` in an enum body (SPY0101) and a union body (SPY0104), a lambda parameter of function type with a default (SPY0103), a float enum member value (SPY0253), a nested type in an int slot (SPY0220), a missing member (SPY0203), a call as a default (SPY0401), a local as a lambda's default (SPY0401). Mutations: each ALONE, from a cp copy, restored with cp and confirmed by cmp; the six facts that run no cell were run each time (6 tests), the sweep alone for the last two. Red -> the failing fact's first line: - totality: the kind:SPY0336 row deleted -> both RuleTable_ facts red (4 passed, 2 failed; 51 rules, not 52) - a reader removed (the struct auto-property entry) -> Axes_ red, "constant-kind x reader: CodeGenInfoComputer.cs: MarkStructConstructorProperty is neither generated nor excluded", and both RuleTable_ facts (3 failed) - PRODUCT side, never committed: a tenth IsAdmitted call added to CodeGenInfoComputer.cs -> Axes_ red, "constant-kind x reader: CodeGenInfoComputer.cs:P78StageZeroMutation is neither generated nor excluded" (1 failed) - a reader's host emptied (lambda) -> Axes_ red, "... has no host" - the local-const host removed, pass 2's control that stayed green -> Axes_ red, "constant-kind x const site: FunctionLike is neither generated nor excluded" - the struct-const host removed -> "... const type body: Struct ..." - NestedType's exclusion removed -> "constant-kind x type member: NestedType is neither generated nor excluded" - an expression under the wrong kind (a property under ClrTypeStaticField) -> "the checker's resolver answers Property for Array.max_length"; (sys.maxsize under ClrLiteralField) -> "discovery records sys.maxsize (IsConst, IsGuarded) = (False, False)" - StringEnumName removed -> "constant-kind x enum access: StringName is neither generated nor excluded" - Constructor's exclusion removed -> "constant-kind x own name: ..."; Form.Ctor's -> "constant-kind x read form: Ctor ..." - (Itself, Used)'s exclusion removed -> "alias-target x target x use: (Itself, Used) is neither generated nor excluded"; the dotted shape's -> "alias-target x self-reaching shape: dotted ..." - the Itself cells not generated -> Axes_, both RuleTable_ facts and Ratchet_ red (4 failed) - the census no longer following a table parameter -> ConstantReaders_TheCensusSeesACallSite... red (A and B missing), Axes_ and both RuleTable_ facts (4 failed) - ProposedCite's #2769 branch removed -> Ratchet_ red (1 failed) - each of the nine new probes handed a program that compiles, one run each -> Exclusions_ red, "rests on SPY0xxx, and the probe now gives [] stdout '1'" (1 failed each) - a passing case listed known-red (struct-auto-property/ ClrTypeLiteralField/int.max_value) -> ScopeMeaning_Sweep red, "listed as Ice, now Match: STALE", allowlist 830 (1 failed) - a known-red row deleted (struct-auto-property/OwnMember/StaticField/ Annotated) -> ScopeMeaning_Sweep red, "Ice ... (MustRun, #1938): Sharpy Ice [SPY0908 CS1736]; model '5'" (1 failed) - all restored -> green, the run below; `git status` lists this commit's files only. Runs @ 19ffa7a + this diff: ScopeMeaningDifferentialTests + NameResolution's RuleTable fact: 7/0/0 (2.4 min). After the last restore: both generated types, ClassBodyReadPositionMatrixTests, StaticInitializerOrderMatrixTests, ConstantPositionValidator*: 305/0/0 (14.1 min). pytest build_tools/tests -k "scorecard or allowlist or plan_caps or plan_refs": 199 passed. `dotnet format whitespace --verify-no-changes` on the four .cs files: clean. Not run: the whole solution (CI on the plan pull request is the gate), check_spec_blocks.sh (no spec or product path moves). Hand lists that remain, named in the plan: one host per reader (the `const` reader's excepted), one expression per member kind, three receivers of a type's literal, the int-enum host of an enum member's value. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Revised after the second /verify-plan pass (NEEDS REVISION, Dimension 6 @ 6569918; stamp commit 19ffa7a) as the owner ruled on 2026-11-20 (#2423 comment 7042723494, items 7 to 9). The plan returns to DRAFT; the stamp lines and the Verification Summary are deleted, and the Revision log carries the pass's dimension. Stage 0 for this revision is 3a422a6. Each finding of the pass: 1. D8 answers per name the checker bound, under every spelling, and admits a literal field of a referenced type as well as of a module (ruling 7). A9, M9 and the by-direction entry follow; the member-kind axis is closed in stage 0. 2. The struct auto-property host is in D8 and must run; T10 gains CodeGenInfoComputer.cs; the hosts are pinned to the reader census in stage 0 (ruling 8). 3. The checker checks each bracket-attribute argument as an expression; T10 gains TypeChecker.Definitions.cs (ruling 9). 4. An unused self-reaching alias must run: stage 0's cells, D10's clause and M13's third mutation (ruling 9). 5. Deferred (ruling 9), as a row of the Revision log line: D10's module-level judgement against the pipeline order, proved by the `dotted` and `Later` must-run cells. 6. The delegate exclusion's reason: stage 0 (ruling 9). Also from the pass: M2 gains the mutation of D2's in-progress mark; T3 names the files that hold the 33 sites; the Generator line names the hand lists that remain. Not ruled, taken from call 43 and written in the log: D8 answers false for a string enum's member, its `.value` and any `.name` (CS1736 behind SPY0908 today, so no program that runs is refused). Body 20,471 -> 20,473 bytes (cap 20,480). Paid for by cutting: the per-axis source list of the Generator line (the test's header carries it), two Current State examples, the three phase Goal lines, A9's restatement of the rows' verdicts, the five spec file names in A11, the detail of the two earlier Revision log lines, and the descriptors of the owner comments. check_plan_refs.py: RESULT: OK; 2 verify passes / 2. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
/verify-plan pass 3 of plan-777361 (P78), the extra pass the owner asked for (#2423 comment 7045333238). Result NEEDS REVISION, Adequacy CELL (Dimension 6, with one Dimension 4 design row on D8). The one file of record. Body edits, each listed before/after in the Verification Summary: - Scope gains the pass cap's record: Extra verify pass 3: owner, 2026-11-20 "run a third verify pass" (R-LW); - Owner rulings cite comment 7045166298 (ruling 10); - the Revision log's "Unruled: D8 refuses a string enum's member by call 43." is deleted: ruling 10 decides it; - the Generator row no longer claims a probe for every exclusion that rests on the compiler (two have none). Body 20,473 -> 20,473 of 20,480 bytes; check_plan_refs.py: RESULT OK, 3 verify passes with the extra pass ruled. Measured @ 56dbb00 (product code == e24aaf9; CPython 3.15.2): ScopeMeaningDifferentialTests 3070 cases, 829 known-red rows; both generated types and the hand controls 305/0/0 after the last restore; ten stage-0 mutations re-run, each alone, each red; one control stays green (a constant read's spelling is a hand list: finding 1). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; contract §11) after /verify-plan pass 3 (NEEDS REVISION @ 56dbb00). Test code and its data only; product code is e24aaf9's. The owner's word (#2423 comment 7046304965, 2026-11-20): - item 12, "Add the spelling axis (Recommended)". Decides: spelling and placement are an axis of ScopeMeaningDifferentialTests' constant-kind set, derived as the typed-read set derives them; D8 names the scope in which an attribute argument is checked; allowlist_rows_outside_seed may be raised by that commit's measured red count. - item 13, "Fold all three (Recommended)". Decides: all three ride the revision; finding 2's red cells are part of the baseline raise of item 12's commit. What the constant-kind set gains - Spelling and placement of the program's own names (finding 1): OwnSpellings(kind) is the projection (Spelling, inside-or-outside the member's type) of TypedReaders, which is itself read from the 8951 pool. Every host names the same slot in the member's own type (Inside) or says why it has none. A bare sibling is generated at both orders, with and without a module binding of the name (D3's axes); `self.` where the slot sits in a method. Per kind, spelling, placement and host: a cell, or a reason, never both. - Spelling of a referenced member: ImportSpellings is asserted total over ImportBindingForm, ImportKind and ImportBinding.IsStar; a type is also read through an alias and by its builtin name; the program's enum through its name and an alias. Every member under every spelling at every host: a cell, or the host's reason. - A referenced module's roster (finding 2): the shapes are keyed by the collection of discovery's ModuleOverloads that holds the member (Fields refined by IsConst x IsGuarded, Functions by overload count, Types excluded with a probe), total over the type's properties. Two kinds: ModuleFunction (math.sqrt), ModuleFunctionGroup (math.log). - The resolver's two answers that describe no member, refined by what reflection finds under the name (finding 3a). The stated reason was false, and so was the exclusion for one producer: a static method the resolver declines for its signature (Char.is_ascii_digit) runs in a function body and a `const` and is CS1736 at a default, CS0182 at an attribute. It is generated (ClrTypeDeclinedMethod, 78 cells). The instance half (DateTime.year) and a generic method (Array.resize, which the resolver answers Absent for) keep an exclusion, each with its probe and a tie from the probe's member to the shape; a static value of an unmappable type is held at 0 by a census of `System`, which has its own control. - A probe for an exclusion that rests on the compiler DYING (finding 3b): the compiler runs in a child process (a driver compiled by Roslyn, `dotnet exec`), with a control program the same child compiles. (Itself, Used) of #2769 rests on it. - Exclusions found while generating, each probed: an interface's `@static` field, property and method inside the interface (#2383, #2111); an int enum's `.value` / `.name` through an alias of the enum (CS1061 in a function body); a dotted type in a lambda parameter's annotation (SPY0103 with no default). - Cites by class (ProposedCite): a constant position's cell is #2432's, except N2's refusal and a bare sibling red BELOW its member alone (#2423), and a member through `self` that dies of CS0176 (#2147). Counts (measured on this tree; python = CPython 3.15.2) - pool 3070 -> 4682 cells (2139 must-run, 2543 must-refuse); python agreed 30/30; constant-kind 770 -> 2382 cells. - known-red rows 829 -> 1383: #2423 463 -> 555, #2432 216 -> 661, #2417 150, #2147 0 -> 17. All 829 earlier rows are carried: every earlier cell's program is still generated with the same tag, rule and verdict, and its row keeps its class and cite (compared by source). - rule table 207 -> 222 rows, 52 rules; probes 15 -> 26, and 1 in a child process. - allowlist_rows_outside_seed 1401 -> 1955 (+554, the measured red count; the owner's item 12 and 13 above), by `scorecard_metrics.py --set-baseline allowlist_rows_outside_seed`; `--check`: OK (seed 2368 unchanged). - ScopeMeaningDifferentialTests, NameResolutionDifferentialTests (8951, its budget unchanged), ClassBodyReadPositionMatrixTests, StaticInitializerOrderMatrixTests, ConstantPositionValidator*, CiFilterCoverageConformanceTests: 346/0/0, 11.8 min. Mutations, each ALONE: the file copied aside, mutated, built, the seven facts that run no cell (and the pool's RuleTable fact) run, the file restored by copy, confirmed by cmp, touched. Green before and after (8/8). Red as named: 1 own reads not generated under Alias -> Axes_: "own spelling: Alias is neither generated nor excluded" and 164 per-host lines 2 one member loses one spelling (math.pi, from-import; pass 3's control that stayed green) -> Axes_: "no cell reads StdlibModuleVariable math.pi under from-import" 3 the import-as spelling deleted -> "import form: ModuleAlias is neither generated nor excluded" 4 from-import-as deleted -> "import kind: FromImportWithAlias ..." 5 star-import deleted -> "star import: True ..." 6 the Functions/one shape deleted -> "module member: Functions/one is neither generated nor excluded" (7 lines) 7 a ModuleOverloads property's exclusion deleted -> "module member collection: LoadEntry is neither generated nor excluded" 8 a host's in-type slot removed -> "dataclass has no slot in the member's own type and no reason" 9 siblings generated at the earlier order only -> Axes_ ("order: Later ...", "sibling: ... no cell at Later"), both RuleTable_ facts (row L248 has no cell) and Ratchet_ (4 failed) 10 siblings generated without a module binding -> the same four, "no cell at Earlier under a module binding of the name" 11 a placement's exclusion deleted -> "own placement: Sibling ..." 12 a spelling's exclusion deleted -> "own spelling: Call ..." 13 the enum's alias spelling deleted -> "enum spelling: Alias ..." 14 the 11 new in-process probes each handed a program that compiles -> Exclusions_RestingOnTheCompiler_: 11 lines, one per reason 15 the crash probe handed a program that compiles -> Exclusions_RestingOnACompilerCrash_: "rests on a stack overflow ... now gives exit 0" 16 its control handed a program that does not compile -> the same fact: "the child process does not compile the control" 17 the (Itself, Used) exclusion deleted -> Axes_: "(Itself, Used) is neither generated nor excluded", and its probe is an orphan 18 a rule-table row deleted (N2 at a constant position) -> RuleTable_EveryCaseHasOneRow_: "matches no row" for its cells (and Ratchet_, whose N2 fixture is gone) 19 a passing cell listed known-red (.../def/OwnMember/ ClassLiteralConst/Annotated/Alias Ice # #2432 ice) -> ScopeMeaning_Sweep: "listed as Ice, now Match: STALE" (1 failure) 20 the N2 cite rule removed -> first GREEN (the sibling rule gave the same cite); the fact now holds N2 with its twin above red too -> Ratchet_ red 21 the CS0176 cite rule removed -> Ratchet_ red 22 the sibling-below cite rule removed -> Ratchet_ red 23 the instance-half probe's member swapped (DateTime.max_value) -> Axes_: "the checker's resolver answers Field/static for it" 24 the census pointed at a namespace with no type -> Axes_: "sees no static value of shape Field/literal ..." (4 lines) 25 interface statics generated inside the interface -> Axes_: "is generated and excluded" (9 lines) 26 an int enum's .value / .name generated through the alias -> Axes_: "IntEnumValue under Alias is generated and excluded" (2 lines) 27 the declined-method shape left unmapped -> Axes_: "InconclusiveResult/static-method is neither generated nor excluded" 28 one host loses one spelling (struct, import-as) -> Axes_: "... under import-as at struct is neither generated nor excluded" (14) 29 the lambda's dotted-type skip removed -> Axes_: its probe guards a reason no exclusion gives 30 the child's verdict made "compiled" always -> CompileInChildProcess_ and the crash fact red 31 the generic-method probe's member swapped (Array.max_length) -> Axes_: "the checker's resolver answers Property for it" 20 to 22 were re-run on the fact as committed. One reason string (the tracker of an interface's static METHOD, #2111) was corrected after the batch; the full run above is on the committed text. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Revised after /verify-plan pass 3 (NEEDS REVISION, Dimension 6, @ 56dbb00) under the owner's rulings 12 and 13 (#2423 comment 7046304965); the fourth pass the owner asked for (#2423 comment 7046359997) is recorded in Scope. Stage 0 is 0fe74e4. - Finding 1: the Generator row cites the new stage 0 (4682 cases, 1383 known-red rows); D8 says an attribute argument is checked in the scope its declaration stands in, so D3 and D4 decide a member's attribute's bare names; A9 and M9 hold it, and the by-direction entry names the attribute argument among N2's cells. - Findings 2 and 3: answered in stage 0; the Generator row names the hand lists that remain, each a decision, and the exclusions. - Finding 4: A14 is D8's control on the project route, per importer form, with M14; T10, the Testing Strategy and #2432's close criterion name it. - The stamp lines and the Verification Summary are deleted; one Revision log line carries the pass. Body 20,473 -> 20,473 of 20,480 bytes. Paid for by cuts: Current State's three example bullets became one sentence; #2487's list of remaining items left the Context and the Class trackers; A12's "regenerate" repeats left T1, T4 and the Adversarial Review; file names left T3 and T12; wording in the pre-mortem, D1, D3, D9, the Testing Strategy and the 2nd-pass log line (its deferred row untouched). `check_plan_refs.py`: RESULT: OK. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
/verify-plan pass 4 of plan-777361 (P78), the extra pass the owner asked for (#2423 comment 7046359997). Adequacy CELL; Dimension 4 (a design row on D8) and Dimension 6. The stamp and the Verification Summary only; the plan body is unchanged. Two findings are not deferrable: - D8 reads a referenced type's constant by FieldInfo.IsLiteral, so a decimal constant (decimal.one as a parameter default, which runs today at a def, a lambda, a dataclass field and a struct field) would become SPY0401 with no cell to notice. - A constant position's hosts are the classifier's own call sites, one hand-written program each: a delegate's default, an interface's signature-only method's default and attributes on other targets are red today outside them. Measured @ 73c7858 (product code e24aaf9): the two generated types 241/0/0; with the four neighbouring types after the last mutation was restored, 346/0/0. Seven mutations re-run, each alone, restored by copy. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Stage 0 of plan-777361 (P78; contract §11) after /verify-plan pass 4 (NEEDS REVISION @ 73c7858). Test code and its data only; product code is e24aaf9's. The owner's word (#2423 comment 7049561049, 2026-11-20): - item 17, "Admit it (Recommended)". The option read: "D8's fact becomes what C# reads as a constant from metadata (a literal field or one carrying DecimalConstantAttribute), still not admitted at an attribute argument. One stage-0 commit adds the shape with its mutation. Nothing that runs today is refused." - item 19, "reads the member, but i think this lambda syntax is incorrect, i thought typed params on lambdas require a different syntax? or am i mistaken?". The ruling: the default reads the member. Both spellings of `docs/language_specification/lambdas.md` (the `lambda` keyword and the arrow) are generated. - item 20, "Fold 3; 4 if stage 0 moves (Recommended)". Stage 0 moves, so finding 4 (the builtin-name spelling) rides this commit. And #2423 comment 7050154806, item 22: item 18 is superseded. The hosts outside the classifier's call sites leave P78 for #2779's group; "P78's generated hosts stand as they are". No host is added here. What the sets gain - A referenced type's field is refined by what C# reads as a constant from metadata (finding 1): `ClrTypeMemberShape` answers Field/decimal-constant for a static init-only `decimal` field that carries `DecimalConstantAttribute`. New kind ClrTypeDecimalConstant (Decimal.one): must-run at every default host and `const` site this set generates (def, lambda, dataclass field, struct field, struct auto-property, six `const` sites), under all seven spellings; at an attribute argument SPY0425 is expected and an ICE is measured (CS0182 or CS0103 behind SPY0908; SPY0909): 14 known-red rows. A census of the Stdlib's and Core's exported types holds their `const decimal` count at 0, because discovery's `IsConst` is `IsLiteral` alone. - The builtin-name spelling on every kind whose type has one (finding 4): a member whose owner is in `PrimitiveCatalog` is read by that name or excluded with a probed reason. `decimal.one`; a second ClrTypeStaticField member, `str.empty` (91 cells, each an ICE as its `BitConverter` twin's: CS0133, CS1736, CS0182 or CS0103 behind SPY0908; SPY0909); `char` names no receiver in an expression (SPY0200), probed. The kinds whose members are `Math`'s have no builtin name. - A new set, lambda-default (finding 5): a class member read bare as the parameter default of a `def`, of a `lambda` and of an arrow lambda, the lambdas called where they stand in a class-level initializer. Per owner: the kinds and annotations the 8951 pool reads from a `def`'s default in its own class, every position its bare reads have (or a probed reason), both orders, with and without a module `const` of the name, and a literal-default control per owner and position. Rows: N1 at Earlier, N1+N3 below with no outer binding, N2 (SPY0619) below under one. A `def` is green but for N2's two cells; a lambda of either spelling is SPY0200 with the method-body steer, and under a module `const` it reads that binding (`12` for the member's `5`). CPython agrees with the model on all 35 twins. - Exclusions found while generating, each probed: a lambda stored in a field and called later has lost its default (SPY0908 CS7036 with a literal default); a lambda with a default in a property's default is SPY0908 CS0103 with a literal default (`__lambda_0`); a call in a constant-only position is SPY0401 by its shape. - The remark on `EnumMemberHost` said an enum member's value is the one constant position no classifier call judges. Refuted by pass 4: it is the one such position this set generates. A delegate's parameter default, a signature-only interface method's default, a bracket attribute on anything but a class's method and a union's attribute arguments are #2779's, by the owner's decision (item 22). Counts (measured on this tree; python = CPython 3.15.2) - pool 4682 -> 4963 cells (2342 must-run, 2621 must-refuse); python agreed 30/30 -> 65/65; constant-kind 2382 -> 2564 cells (red 770 -> 875); lambda-default 99 cells (red 82). - known-red rows 1383 -> 1570, every earlier row carried verbatim (numstat 187 / 0): #2432 661 -> 766 (+105 ice), #2423 555 -> 637 (+82: 40 false-refusal, 20 silent-wrong, 22 missing-refusal), #2417 150, #2147 17. - rule table 222 -> 227 rows, 52 rules; probes 26 -> 31, and 1 in a child process. - allowlist_rows_outside_seed 1955 -> 2142 (+187, the measured red count), by `scorecard_metrics.py --set-baseline allowlist_rows_outside_seed`; `--check`: OK (seed 2368 unchanged). Items 17, 19 and 20 above authorize the cells; the raise itself needs the owner's word in the PR body. The 8951 pool's CellBudget and seed are untouched. - ScopeMeaningDifferentialTests, NameResolutionDifferentialTests (8951, its budget unchanged), ClassBodyReadPositionMatrixTests, StaticInitializerOrderMatrixTests, ConstantPositionValidator* and CiFilterCoverage*, on this exact tree: 346 passed / 0 failed / 0 skipped (12.4 min, measured). `pytest build_tools/tests`: 2216 passed, 2 failed, both `test_check_review_line.py` "no merge base" (the clone is shallow; pass 4 measured the same two @ 73c7858). The whole-solution gate was not run. - `dotnet format whitespace sharpy.sln --verify-no-changes`: clean. Mutations, each ALONE from a copy, restored by copy, `cmp` identical (the seven facts that run no cell and the pool's RuleTable_ fact: 8 / 0 green before and after, unless said) - ClrTypeDecimalConstant taken off the SPY0425 row -> RuleTable_ red, ".../attribute/ClrTypeDecimalConstant/Decimal.one/import matches no row" (1 failed, 7 passed); restored -> green. - the decimal constant classified as a non-constant static in the table (its row deleted, the kind added to the three rows of the static kinds) -> ScopeMeaning_Sweep red, 28 failures: "SilentWrong read/constant-kind/ParameterDefault/def/ClrTypeDecimalConstant/ Decimal.one/import (MustRefuse, SPY0401): Sharpy Ran '1'", and the same at lambda, dataclass and struct, seven spellings each; restored -> green. - the decimal refinement dropped from `ClrTypeMemberShape` -> Axes_ red, "Decimal.one is listed under ClrTypeDecimalConstant, and the checker's resolver answers Field/static" and "the census of `System` sees no static value of shape Field/decimal-constant"; restored -> green. - the Stdlib/Core `const decimal` census pointed at `System.Private. CoreLib` (its positive control) -> Axes_ red, "`Decimal.Zero` is a `const decimal` of a referenced assembly's own type, which discovery records as no constant" (five members); restored -> green. - a passing cell listed known-red (`.../ParameterDefault/def/ ClrTypeDecimalConstant/Decimal.one/builtin-name Ice # #2432 ice`) -> ScopeMeaning_Sweep red, "listed as Ice, now Match: STALE, delete the row"; restored -> green. - `BuiltinName` taken off Decimal.one -> Axes_ red, "constant-kind x builtin name: Decimal.one is neither generated nor excluded"; restored -> green. - String.empty given the builtin name `int` -> Axes_ red, "`int` is no name the primitive catalog gives String"; restored -> green. - `char`'s exclusion deleted -> Axes_ red, "Char.is_ascii_digit is neither generated nor excluded"; restored -> green. - the builtin-name expression generated for Int32 alone -> Axes_ red, "no cell reads ClrTypeDecimalConstant Decimal.one under builtin-name" and the same for String.empty; restored -> green. - the five new probes handed a program that compiles -> Exclusions_ RestingOnTheCompiler_ red, five lines "... rests on SPY0200 / SPY0908 CS0103 / SPY0908 CS7036 / SPY0401, and the probe now gives [] stdout '1'"; restored -> green. - the row `MustRun N1+N3 ... route=lambda-default order=Later outer=None` deleted -> RuleTable_ red, "read/lambda-default/Def/ ClassLiteralConst/Annotated/ParameterDefault/Later matches no row"; restored -> green. - the arrow owner's text swapped for the `lambda` spelling -> Axes_ red, "is ArrowLambda's, and the parser finds [a `lambda`] with a parameter default in its program"; restored -> green. - literal-default controls generated for `def` alone -> Axes_ red, "Lambda at StaticInitializer has no cell with a literal default, which is what says the slot itself runs" (ten slots); restored -> green. - the `@static` property-default exclusion deleted -> Axes_ red, "a probe guards the reason '...', and no exclusion gives it"; restored -> green. - lambda-default cells generated at Earlier alone -> Axes_ red, "lambda-default x order: Later is neither generated nor excluded" and "has no cell at Later under a module binding of the name", and both RuleTable_ facts red, "no cell of any pool matches 'MustRefuse N2 family=Read route=lambda-default ...'" (3 failed, 5 passed); restored -> green. - the kinds of the set emptied (read from a position no reader has) -> Axes_ red, "the 8951 pool runs no bare read of a member from a `def`'s default in its own class, so the set has no kind and no control", with both RuleTable_ facts and Ratchet_ (4 failed, 4 passed); restored -> green. - the route's cite removed from `RouteIssues` -> Ratchet_ red (its accepted lambda-default row is refused; 1 failed, 7 passed); restored -> green. - not re-run: the 31 mutations in 0fe74e4's body. Not in this commit: the plan's text (the next commit); a cell for any host of #2779. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Answers /verify-plan pass 4 (NEEDS REVISION, Adequacy: CELL @ 73c7858) under the owner's rulings of 2026-11-20 (#2423 comments 7049561049, items 17, 19 and 20, and 7050154806, item 22). Stage 0 is aa6d844. The plan is a DRAFT again: no pass has stamped this text, and no fifth pass is asked for (item 22; no `Extra verify pass 5` line). - Finding 1 (item 17): D8's rung-3 arm is a field C# reads as a constant, `FieldInfo.IsLiteral` or, except at an attribute argument, `DecimalConstantAttribute`; M9 gains "for a decimal constant -> `decimal.one` SPY0401". "D8 refuses nothing that runs" stands: `decimal.one` runs at every default host and `const` site stage 0 generates. - Finding 2 (item 22 supersedes 18): out of P78. Out of contract names a delegate's default, a signature-only interface method's default, attributes not on a class's method and a union's attribute arguments with #2779; the Generator row lists the host axis as closed by the owner's decision; #2432's close criterion claims the hosts S0b generates; D8's predicate is "in contract"; D8 gains no sentence for those hosts. - Finding 3 (item 20): the trackers line points at ruling 6 for #2487's remainder. - Finding 4 (item 20): answered in stage 0 (the builtin name on every member whose owner has one); counts follow. - Finding 5 (item 19): D4 says a lambda's parameter default, `lambda` or arrow, is not its body: in a class-level initializer D3 decides it, as a `def`'s. A6 and M6 gain the lambda-default cells; the by-direction list names the `12` a module binding gives today. Body 20,474 -> 20,473 bytes of 20,480 (`check_plan_refs.py`: RESULT: OK). Additions 1,154 bytes, paid by cuts: the `64` / `3` parenthetical and #2398's program in Current State; R-KV's reason in Scope; what the hand control holds (Standing harness); "A8 is the record."; the two row counts in Out of contract; A1's which-decision-drains-which; A8's list of codes; A11's "in five spec files"; A14's "(`m.Q`: CS1736 today)"; the `TypeChecker` and `NameResolver` partial names in T1, T2 and T7, `ClrTypeHelper.cs` in T10 and T8's table edit (D9 spells it); the "; Semantic" tag of D1 and D2; "rulings" and "literal" (one word each); the two Testing Strategy bullets "Beyond the generator" and "Outputs discriminate"; the descriptions in the 1st-, 2nd- and 3rd-pass revision-log lines (the deferred row is kept). The stamp lines and the Verification Summary are removed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
This was referenced Nov 20, 2026
The fix round for the independent review of PR #2767's test code @ 5e21569, under the owner's rulings 26, 28 and 29 (#2423 comment 7052893050). Item 26: "Repair the two checks so they can fail (with mutation records), require every must-refuse cell to name a code, correct each false exclusion reason to what is true with a probe, and post the hidden red programs as cells on their trackers. No new generated cells and no baseline raise". No cell is added: the pool is 4963 cases before and after. Checks that could not fail - F2. The typed-read derivation asked for a Spelling before it asked where the reader stands, so UnplacedTypedReaders was always empty. Measured on the old code: 137 must-run reads of the 8951 pool from a third type (Base 92, Other 30, Enclosing 15) and 6 through `G[int].x` were dropped unseen. Relation is now asked first; each placement and the generic receiver is counted, excluded with its reason and probed, and both directions are held (a placement with no reason; a reason the pool no longer reads from). - F7. A host was a string part, and "struct" is also a declared type's label, so the host axis was held by the label. Removing the 121 cells whose fifth key part is `struct` left AxisProblems at 0 on the old code. The host is now a typed part (DeclarationHost), the declared type its own Carried check, and the product kind x host x type is checked. - F6. A must-refuse cell that names no code is a totality failure. The 72 red R-QI cells name SPY0620, the plan's code (D7, D9). Exclusion reasons (each corrected to what `sharpyc run` does, each with probes; the excluded values are not generated, by item 26) - F1. Callee binders: `case x:`, `case _ as x:` and `out let x` bind a function value that prints 1 when called, and SPY0908 CS1955 under a module `x: int = 12` (#2423's class). `except E as x` with `__call__` prints 1 either way. - F8. Interface host: a `@static` value member is SPY0908 CS0120 with and without its initializer, an instance field's read through the interface is SPY0203 (#2383's class), and an instance `property x: T` runs and prints 5. - F10. The lambda host's two reasons are true of the `lambda` spelling alone. The arrow spelling takes a function-typed and a dotted annotation: `(p: () -> int = five) -> p` is SPY0401, `(p: (float) -> float = math.sqrt) -> p` is SPY0908 CS1736 (#2432's class), the dotted enum default runs. - F2's placements: a typed read from a subclass, an unrelated type and through `G[int].x` is SPY0220 above the member's type and SPY0908 CS1503 below it (#2423, D2's class); from a nested type an annotated member is SPY0220 and an inferred one CS1503 at both orders (#2417's). Rulings 28 and 29 - F4 (item 28). The string-enum default cells stay must-refuse SPY0401; the row's comment cites ruling 10, item 28 and #2772 and says it is an interim against function_default_parameters.md. The spec is unchanged. - F5 (item 29: "You rule that a function target type selects a CLR overload. The 42 cells become must-run, red today citing #2277, and the baseline rises by 42."). The 42 cells are `const K: (int) -> int` and a struct's `property p: (int) -> int` reading `Math.abs`; each was checked to have that shape. The 18 default cells (def, dataclass, struct) stay must-refuse and green under SPY0401's row; the 12 attribute-argument cells keep `kind:SPY0336` (no function type at the slot). allowlist_rows_outside_seed 2142 -> 2184 (+42, measured), set with `scorecard_metrics.py --set-baseline`. - F3 was declined by the planning session: the rows only gain a note that SPY0619 is the code P78 introduces. Lower findings - The escaped-name exclusion cited #1325 (closed). The reason no longer cites it and has a probe (escaped and plain missing target: SPY0202). - An exclusion whose reason names a diagnostic code or an issue must have a probe (the reverse of the orphan check). None is exempt. - The sweep requires the pinned oracle's minor (3.15), as the other differentials do. - Not done: the attribute hosts' constant `1`, the child compile's `dotnet` from PATH, the single-shape probes of three parse refusals (true today), the 8951 pool's own findings (P77a's ratchets), and check_allowlist_severity.py / gap-discovery-contracts.md (outside this round's files). Counts @ this commit (measured): pool 4963 (2384 must-run, 2579 must-refuse); known-red 1612 = 637 / 766 / 150 / 17 / 42 citing #2423 / #2432 / #2417 / #2147 / #2277; 39 exclusion reasons probed in process (59 programs) and one in a child process. Mutation records (each alone: break -> red, restore -> green; the 8 facts that run no sweep, 8/8 green on the restored tree) - F2a remove the Base exclusion -> Axes_ red: "Base is neither generated nor excluded, and the 8951 pool spells 92 must-run reads from it" and 10 unplaced reads. The old code had no exclusion and was green. - F2b the derivation skips relation Other -> Axes_ red: "Other is excluded as a placement the 8951 pool reads from, and that pool spells no must-run read from it". - F2c remove the GenericReceiver exclusion -> Axes_ red: 6 reads, "the label 'GenericReceiver' is neither generated nor excluded". - F7a the reviewer's mutation (drop the 121 cells) -> Axes_ red, 49 lines: "no-initializer: no cell carries struct", then each kind x type in a struct. Old code: 0 problems (control run). - F7b struct-host cells only -> red (49 lines). F7c declared-type-struct cells only -> red (9 lines). F7d one kind x host x type triple -> red: "no cell declares StaticProperty of type tuple in a struct". - F6 the R-QI cells name no code -> RuleTable_ red: each cell, "its row says must-refuse under R-QI, and the generator names no code its refusal may carry". - F1a binder probe without the module binding -> Exclusions_ red x3 (expected SPY0908 CS1955, runs and prints 1). F1b `one` returns 2 -> red x3 (control prints 2). F1c `__call__` returns 2 -> red x2. - F8a member read through the class -> red x2 (SPY0203 expected, CS0535). F8b a class for the interface -> red (prints 5). F8c the property implemented with 6 -> red. - F10a/F10b arrow defaults made constants -> red (CS1736 / SPY0401 expected, prints 1). F10c the dotted type under `lambda` -> red (SPY0103). F10d the `lambda` slot given a plain type -> red. - F2d/F2e third-placement orders swapped -> red x3 each (SPY0220 <-> CS1503). F2f the nested reader's slot made `int` -> red x4. - L1 the escaped alias left unused -> red (prints 1). L2 delete the probe of an exclusion that names a code -> Axes_ red: "names a diagnostic code or an issue ... and no probe holds it". - F5a the cite rule keyed on another code -> Ratchet_ red. F5b the group off the N4 row -> RuleTable_ red ("matches no row"). F5c the SPY0336 row without its admission -> RuleTable_ red ("matches rows L248, L250") and Ratchet_ red. - Sweep: with the rules of this commit and the allowlist of 5e21569, ScopeMeaning_Sweep is red with 42 failures, the 42 #2277 rows; with the rows, green. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Review finding F9 of PR #2767 and the owner's ruling 27 (#2423 comment 7052893050): "Exclude the sweep from the shard filter and run it in the sweeps job with its own measured hang limit. This PR introduces the test, so it should not merge able to turn shard 1 red for every later PR." Measured on CI @ 5e21569 (run 44825279604): ScopeMeaning_Sweep is one test that prints nothing for 8 m 24 s in Compiler shard 1, under that step's 10 m hang limit; the shard's job took 22 m 48 s; sweeps-quick took 11 m 12 s (its slowest run with P77 is 19 m 40 s). - COMPILER_MAIN_FILTER excludes `ScopeMeaningDifferential`, as it does its sibling `NameResolutionDifferential`. - sweeps-quick gains the step `Sweep scope-meaning-differential` (`Category=GapDiscovery&FullyQualifiedName~ScopeMeaningDifferential`: the class's 8 tests, its facts with its sweep) with `--blame-hang-timeout 18m`, 2x the measured 8 m 24 s (16 m 48 s). - The job's `timeout-minutes` goes 40 -> 60: 2x (19 m 40 s + the new step, taken as 9 m 15 s) = 57 m 50 s. The step has not run as a step yet, so its first CI run re-measures both numbers. - ci-summary expects `sweep-scope-meaning-differential.trx`. Files the workflow's guards require - CiFilterCoverageConformanceTests.cs: the sweep floor is 8 and the conditioned-step floor 6 (both measured), and the class is pinned among the python-oracle classes. - build_tools/tests/test_ci_gate.py: the ci-summary contract's fixture lists the eighth sweep trx (counts 156 -> 157). Checked locally (lists only): the nine Compiler shards partition the main filter, 52509 = 52509 as multisets, no ScopeMeaning test among them; the new step selects the class's 8 tests. CiFilterCoverage 39/39; pytest build_tools/tests green but the two shallow-clone failures of test_check_review_line.py that predate this branch. Mutation records (each alone: break -> red, restore -> green) - remove the new step -> EverySweep_IsSelectedByExactlyOneStep red ("ScopeMeaning_Sweep: 0 step(s)") and EveryCompilerTest_IsSelectedByAtLeastOneCiStep red. - remove the exclusion from the main filter -> EverySweep_ red ("2 step(s): compiler/Test Compiler ... [shard=1]; sweeps-quick/Sweep scope-meaning-differential"). - remove both -> "Found 7 sweeps (...), expected at least 8"; the old floor of 7 would have passed. - the workflow lists the trx and the fixture has none -> test_counts_every_trx_once_and_leave_out_windows red ("sweep-scope-meaning-differential: no trx"). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
The plan follows what the fix round moved in stage 0 (abec1a3 and 08eda11; owner rulings 26-29, #2423 comment 7052893050). No design decision's predicate changes and no verify pass is recorded; the text stays an unstamped draft. Added - Generator: 1612 known-red rows, 637 / 766 / 150 / 17 / 42 citing #2423 / #2432 / #2417 / #2147 / #2277; 40 exclusions probed; ruling 26's exclusions (third-type and `G[int]` readers, four callee binders, an arrow-lambda host); an interface's members, not only its statics. - Owner rulings: comments 7051706467 (23-25) and 7052893050 (26-29). - Neighbours: #2277 (ruling 29's rows) and #2772 (ruling 28's interim). - Revision log: one line @ 5e21569. - The three shas that say where stage 0 stands: 08eda11. Cut, to stay under the body cap (20,478 of 20,480 bytes) - Generator: the fact's name (`Axes_EveryValueIsGeneratedOrExcluded`), "of them" and ", one in a child process". - Generator, closed by decision: "a reader nested in or beside the member's type (the 8951 pool's)", which the review showed false (it is now an exclusion with a reason and probes); "(owner, comment 7050154806)" became "(ruling 22)". - Generator, excluded: "a self-reaching alias an annotation names (#2769)", which Out of contract and D10 still state. - D9: "; S0b's R-QI cells, which admit none today, admit SPY0620": stage 0 names the code since abec1a3, so T8 has no edit there. check_plan_refs.py: RESULT: OK. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
This was referenced Nov 21, 2026
antonsynd
pushed a commit
that referenced
this pull request
Nov 21, 2026
Conflict in build_tools/scorecard-baseline.json: took dev's allowlist values (allowlist_rows_outside_seed 2184, allowlist_rows_seed 2368, owner- ruled in #2767); procedure_bytes and claude_md_bytes re-measured on the merged tree with scorecard_metrics.py (145065 and 9205, this lane's prose cuts) and written with --lower. scorecard_metrics --check: OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGMKZYKjCq2pTmNWtKf2hy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Group: P78 — N1/N2/N4/N7: scope decides meaning (charter §3.20l, row 6c⁶⁵). Tier: full (c). Issues: #2423 (tracker), #2398, #2432; #2426 closes with the plan's implementation. #2487 stays open after P78 (owner, item 6 below).
Stage: the plan is a DRAFT @ 6344e58: revised after pass 4 (stage-0 commit aa6d844) and adjusted by the fix round after the independent review (abec1a3, 08eda11); no
/verify-planpass has stamped this text. Pass 4 (@ 73c7858, stamp commit 5e92775) stamped NEEDS REVISION · Adequacy: CELL; passes 1–3 did too. By the owner's ruling (#2423 comment 7050154806) no fifth pass runs: D8 acceptsdecimalconstants, and pass 4's finding 2 (constant-position hosts outside the classifier's call sites) left P78 for its own group on #2779. Pass 4's NEEDS REVISION is therefore the last verdict on record;/implement-planasks the owner whether to proceed on an unverified plan.check_plan_refs.py@ 6344e58:RESULT: OK; body 20,478 / 20,480 bytes; 4 verify passes / 2 (passes 3 and 4 ruled in## Scope).This pull request changes test code and a CI workflow, so it merges only with a current independent-review line.
Independent review @ 5e21569: merge after fixes; 12 applied, 8 declined (reasons below); the second review read the fix commits 5e21569..6344e58 itself; second review @ 6344e58: merge
Both reviewers wrote none of the code and were given the diff and CPython, never the plan (owner, #2423 comment 7051706467, item 25). The first round's findings and the owner's rulings on them are on #2423 comment 7052893050 (items 26–29). The second review found every fix does what it claims and no defect the round introduced; its nine low and nit findings are listed below as not applied, for the owner.
The independent review's findings and the fix round (confirmed by the second review @ 6344e58)
ScopeMeaning_Sweepran in compiler shard 1 at 8 m 24 s against a 10-minute hang limit. Item 27: excluded fromCOMPILER_MAIN_FILTER; its own step insweeps-quickwith an 18-minute hang limit; the job's limit 40 → 60 (on an estimated step time, re-measured from its first run). Guards updated:CiFilterCoverageConformanceTests.cs,build_tools/tests/test_ci_gate.py.UnplacedTypedReadersasked two other key parts before the relation, so 137 reads were dropped unseen; the no-initializer host check confused a host label with a declared-type label. Item 26: both repaired, each with a mutation the old code stayed green on.function_default_parameters.mduntil semantic: a string enum's member (and any enum's .name) cannot stand in a constant position — def f(p: E = E.RED) is refused where Python runs #2772 (item 28). Spec text unchanged.check_allowlist_severity.py's covered list andgap-discovery-contracts.md(outside this pull request's files; they need a lane); the older pool's python floor, empty admitted sets and codegen: a nested type constructed by its bare name inside the enclosing type (N()) is emitted as a member invocation — CS1955 behind SPY0908 #2397 arm (P77a's pool, outside the finding's scope); attribute hosts printing a constant1and the child compile'sdotnetfrom PATH (no wrong verdict today); theMustRun #2769row (owner-ruled, item 9); three single-shape parse probes (their reasons are true today).Second review's findings, none blocking, not applied (with the owner):
type K0 = `int`) is SPY0202 while the plain one runs.CiFilterCoverageConformanceTests.csnot raised; two new guards lack a mutation record in the commit body (the reviewer broke both and saw red); two comments say "SPY0336 today" where 12 attribute cells are ICE; a misplaced doc comment and a "Python 3.12+" remark in the workflow.CI at 6344e58 (read by the second reviewer and by the planning session): every check green except
review-line, which was red for want of the line above;.NET 10gatepassed=85550 failed=0 skipped=10. The newSweep scope-meaning-differentialstep took 5 m 16 s andsweeps-quick18 m 00 s, inside the 18-minute hang limit and the 60-minute job limit by the workflow's 2x rule; compiler shard 1 fell from 22 m 48 s to 11 m 31 s.What pass 4 found (the verifier's findings,
sharpyc run@ 73c7858, product code == e24aaf9; recorded on #2423 comment 7049483722)It confirmed by its own runs every count the last revision reported (4682 cases / 1383 rows; 8951 / 2368; table 222 rows / 52 rules; 346/0/0; A14's project-route programs), re-ran 6 of the 31 mutations red and did not re-run the other 25.
FieldInfo.IsLiteral; a C#const decimalis not a metadata literal, yetdef f(p: decimal = decimal.one)runs today (reproduced by the planning session). No cell or fixture would notice it turning into SPY0401.delegateparameter default and a signature-only interface method's default (CS1736 behind SPY0908; both reproduced), and every attribute target but a class's method (CS0182). The AST records that declareParametersandDecoratorsare the enumeration that closes it.int).Of the two defaults the revision took (#2423 comment 7048618066): item 15 was graded sound; item 16 is finding 2.
The revision after pass 4 (the revising agent's claims; no verifier has graded them)
decimalconstant, must-run at every default host andconstsite P78 generates (77 cells, green today); at an attribute argument 14 known-red rows citing semantic: a position that requires a compile-time constant is left to Roslyn — a non-constant enum member value is CS0133, a default through H.x is CS1736, both behind SPY0908 #2432. D8's text admits what C# reads as a constant (IsLiteral, orDecimalConstantAttributeexcept at an attribute argument).decimal.one,str.empty: 91 new cells, all red citing semantic: a position that requires a compile-time constant is left to Roslyn — a non-constant enum member value is CS0133, a default through H.x is CS1736, both behind SPY0908 #2432).lambda-defaultset, 99 cells: a class member read as the parameter default of adef, alambdaand an arrow lambda in a class-level initializer. All 80 lambda read cells are red today (40 SPY0200; 40 print the module binding's value). D4 says a lambda's default is not its body.The body cap forced cuts elsewhere in the plan (listed in the agent's report; among them two Testing Strategy bullets, A8's code list and the partial file names in T1, T2 and T7).
What pass 3 found, and the revision's answer (counts confirmed by pass 4)
Pass 3 confirmed every figure the previous revision said it measured and refuted no decision D1–D10.
ModuleOverloadscollection that holds the member; module functions and function groups are generated, module types excluded with a probe.InconclusiveResultthe revision's measurement refuted the exclusion for one producer (Char.is_ascii_digitread uncalled is CS1736 / CS0182 at a constant position), so it is generated as a kind (78 cells, 42 red citing semantic: a position that requires a compile-time constant is left to Roslyn — a non-constant enum member value is CS0133, a default through H.x is CS1736, both behind SPY0908 #2432); the instance half stays excluded with its probe. This is a default the owner has not ruled (semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7048618066, item 15).constat a default is SPY0401 under the from-import forms and CS1736 behind SPY0908 throughconsts.Q/c0.Q.Not ruled, defaulted by the revision (#2423 comment 7048618066): item 15 above; item 16, attribute arguments are held by cells only for an attribute on a method (no cell attributes a class, field, property or parameter).
What pass 2 found, and the revision's answer (graded by pass 3)
Pass 2 confirmed stage 0 as an instrument at 6569918 (13 mutations re-run one at a time, each red then green; counts confirmed; 304/0/0).
def f(x: int = int.max_value),= Math.PI), with no cell to notice. Ruling 7: D8 now also answers true for a literal field of a referenced type or enum (FieldInfo.IsLiteral), and the member-kind axis is closed against the checker's bound-member kinds.AdmissionTablevalue were a hand list; a struct's defaulted auto-property is classified outside the validator (struct S: property p: int = H.xis CS1736 behind SPY0908 today). Ruling 8: hosts are keyed by a census ofConstantDefaultClassifier.IsAdmittedcall sites (nine readers); the struct auto-property host is must-run; T10 gainsCodeGenInfoComputer.cs.TypeChecker.Definitions.cs.dottedandLatermust-run cells.TypeKind.Delegateexclusion. Folded: corrected, with a probe.Ruled after the revision (#2423 comment 7045166298, ruling 10): a string enum's member in a constant position (
enum E: RED = "r"/def f(p: E = E.RED)), CS1736 behind SPY0908 today, is refused with SPY0401 in P78, as the revision's cells already expect. The Python-parity residue is #2772.Stage 0 (test code only; counts confirmed by pass 4's own run)
self.N()/A.N(), R-LQ) re-cited from #2423 to #2397Conformance/name-resolution-rules.txtreplaces the hand-writtenRuleAxesarms inNameResolutionDifferentialTestsScopeMeaningDifferentialTests(86 cells, 33 known-red rows at that commit)NameResolutionDifferentialTests: 8951 cells (CellBudgetunchanged), 2368 allowlist rows. Filtered run over both generated types and the hand controls on the tree committed as 0fe74e4: 346/0/0 (repeated by pass 4 @ 73c7858); on the tree at 6344e58: 346/0/0 (the fixing agent's run). None of these is the whole-solution gate; CI at 5e21569 was green exceptreview-line. Mutation records are in each commit body; 0fe74e4 records 31, each run alone. One of them (the N2 cite rule removed) first stayed green; the agent strengthened the fact and re-ran it red.Scorecard baseline (
build_tools/scorecard-baseline.json)allowlist_rows_outside_seed572 → 605 (+33) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7030074628, item 1 — "New test type (Recommended)".allowlist_rows_outside_seed605 → 1211 (+606) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7039834146, item 5 — "Close all seven (Recommended)".allowlist_rows_outside_seed1211 → 1401 (+190, all constant-kind rows citing semantic: a position that requires a compile-time constant is left to Roslyn — a non-constant enum member value is CS0133, a default through H.x is CS1736, both behind SPY0908 #2432) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7042723494, item 7 — "Admit; close the axis (Recommended)", whose option read "The outside-seed allowlist baseline rises by the measured red count."allowlist_rows_outside_seed1401 → 1955 (+554, the measured red count of 0fe74e4) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7046304965, items 12 and 13 — "Add the spelling axis (Recommended)" and "Fold all three (Recommended)".allowlist_rows_outside_seed1955 → 2142 (+187, the measured red count of aa6d844) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7051706467, item 23 — "Accept the raise (Recommended)".allowlist_rows_outside_seed2142 → 2184 (+42) by--set-baseline. Owner's word: semantic: scope decides what a name means — order-free resolution, order-vs-scope ambiguity refused, consts not special, one verdict per spelling (N1/N2/N4/N7) #2423 comment 7052893050, item 29 — "Must-run, known-red", whose option read "The 42 cells become must-run, red today citing codegen: a function used as a value without a target type lowers to a delegate spelled from its Sharpy signature — generic, iterator-returning, defaulted, params and CLR-typed signatures reach Roslyn (SPY0908) #2277, and the baseline rises by 42."allowlist_rows_seed2377 → 2368 by--lower. NoCellBudgetraise, no seed registration.Owner rulings, 2026-11-20
Before pass 1 (#2423 comment 7030074628):
type K0 = nosuch, used or not, is refused at the alias in P78.math.pi/socket.AF_INETdefaults; the Stdlib constants are stdlib: a module's Python constants (math.pi, socket.AF_INET) are module variables, so they are refused as parameter defaults #2768.After pass 1 (#2423 comment 7039834146):
5. The seven hand-listed axes are closed against their compiler enumerations in a new stage-0 commit.
6. #2487 stays open after P78, with the remainder listed in the plan.
After pass 2 (#2423 comment 7042723494):
7. D8 admits a literal field of a referenced type or module; the member-kind axis is closed in stage 0.
8. Constant hosts are pinned to the classifier's call sites; the struct auto-property host is in P78 and must run.
9. Findings 3, 4 and 6 ride the revision; finding 5 stays deferred.
After that revision (#2423 comment 7045166298):
10. A string enum's member, its
.valueand any.namein a constant position are refused with SPY0401; running them is #2772.Extra pass (#2423 comment 7045333238):
11. "run a third verify pass" — pass 3 ran on the plan at 56dbb00.
After pass 3 (#2423 comment 7046304965):
12. Spelling and placement become an axis of the constant-kind set, in a new stage-0 commit.
13. Pass 3's findings 2, 3 and 4 ride the same revision.
After pass 4 (#2423 comment 7049561049, then 7050154806 which governs where they differ):
17. D8 accepts a referenced type's
decimalconstants ("Admit it (Recommended)"; restated in item 22).18. Superseded by item 22.
19. A lambda's parameter default in a class-level initializer reads the member.
20. Finding 3 folded; finding 4 rides the stage-0 commit.
21. "do a 5th pass" (comment 7050110688) — withdrawn by item 22.
22. "nix that … Recommendation: no fifth pass. Rule on finding 1 directly: D8 accepts those
decimalconstants, so working programs keep working. Split finding 2's extra cases into their own group under #2779, enumerated by a generator rather than a hand list." (the full words are in comment 7050154806)After the narrowed revision (#2423 comment 7051706467):
23. The baseline raise 1955 → 2142 is accepted.
24. A stored lambda keeping its default when called stays out of P78 (#2277).
25. The independent review runs now, on the unstamped draft's test code.
After the independent review (#2423 comment 7052893050):
26. Fix the checks; generate no new cells.
27. The CI hang risk is fixed in this pull request.
28. Ruling 10 stands as an interim, cited; the spec text is not changed; #2772 stays open.
29. A function target type selects a CLR overload: the 42 cells are must-run, known-red citing #2277.
Extra pass (#2423 comment 7046359997):
14. "run a fourth verify pass when the revision lands" — pass 4 ran on the plan at 73c7858.
Decided by the planning session, not asked (comments 7030074628, 7039834146, 7041455175 and 7048618066; pass 2 graded the first seven sound, pass 4 graded the declined-method kind sound and the attribute-target default not sound (its finding 2); the owner can overrule any): the rule table lands before P77c's cell 1; the 32 nested-type rows go to #2397; D9's relabelling stays an implementation task; the
auto@staticfield typed-read cell goes to #2417; D4's crossing stays variable-only; a used recursive alias is out of P78 (#2769); a ring of unannotated@staticlambdas keeps running (no SPY0240 arm); a declined CLR static method read uncalled is a generated kind refused at a constant position; attribute arguments are held for a method's attribute only.Filed / posted by this plan's stages
Math.absruling (item 29) with its cells.math.sqrtis CS1736.@static propertyand independent of order.x()is SPY0908 (CS8119).objectfallback — non-generic CLR interfaces keep CLR identity, UnmappedClrType becomes refusal-only (R-BO; tracking, P18 phase 2) #1975 — a comment with one cell: an instance member of a referenced type read through the type's name (DateTime.year) is typedobjectand reaches C# (CS0120).consts.Qat a default is CS1736)..value/.namethrough a type alias is CS1061 behind SPY0908.Probe-reach cells with no open tracker, not filed (contract §10 allows no new issue for them): a lambda parameter annotated with a function type is SPY0343. Reported by the revision and not filed:
math.logread with a function-type target runs whileMath.absis SPY0336 (a refusal with a code, by design for a CLR method group; checked withsharpyc run).Owed
/implement-planasks the owner whether to proceed on it.check_allowlist_severity.py's covered list;gap-discovery-contracts.md).devhas moved since this branch was cut (e24aaf9 → f09bffc at last reading); the merge is clean.https://claude.ai/code/session_01LGMKZVcFYGqQRfHgd16DLa
Generated by Claude Code