Skip to content

Lay out generated mocks from per-type facts and node records - #1209

Merged
dfed merged 5177 commits into
mainfrom
claude/project-thread-dab9up-mocks-on-146
Dec 3, 2026
Merged

dfed merged 5177 commits into
mainfrom
claude/project-thread-dab9up-mocks-on-146

Conversation

@dfed

@dfed dfed commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Turns on the mock planner that #1207 landed behind switches. Generated mock() methods are now laid out from per-type facts and node records instead of the mock tree walk. Three switches flip on: laying out mock roots from their records, mock homes, and sharing mock worlds across a module's mock roots. Records of a production root's filled seam calls stay off outside the tests that turn them on, and mock roots keep their own records of filled calls. Production dependency trees are unchanged.

What changes for adopters

A generated mock's builder functions are hoisted. Each scope's function becomes a sibling of the functions that call it and takes its SafeDIMockConfiguration (or override closure) as an argument. Before, it was nested inside its caller and read its configuration by path from safeDIOverrides. The values a mock builds and the overrides it honors are unchanged. The mock() signature, SafeDIOverrides and SafeDIMockConfiguration are unchanged too, except for the differences registered as approved.

The layout keeps the walk's code where a hoisted function could not compile:

  • A hoisted override read inside a @Sendable function, for a place a lazy cycle may enter left out, stays a local outside that function.
  • A mock row that builds a property nothing fulfills (a value its mock() takes as a parameter) keeps no shared home, so it never passes nil for that value.
  • A call of another module's public mock inside a @Sendable function hands it a @Sendable builder where the laid-out place is in the @Sendable family.
  • A kept-tree mock root builds its world once, and builds none where its records would refuse it.

Tests

  • Mock expectations across the suites are re-recorded to the laid-out form. Each changed literal was checked to still compile and build the same values.
  • Hand-written regression tests cover each fix above: the override read in a lazy cycle, a mock row with an unfilled value under two and three parents, two levels and each wrapper kind, and a public mock called inside a @Sendable builder of a cycle.
  • The mock proof (MockProgramComparison) checks that the code laid out from records builds the same values as the walk's code.
  • graph-fuzzer.yml's mock_proof compiles each corpus graph's mocks with this branch's release tool and with SafeDI 2.4.5's tool, and requires every pair of values to be equal. As with every other job since Remove CI time limits from work, split each repeat pass in three, add a sweep workflow #1208, its jobs carry no time limit of their own.
  • The graph fuzzer's known issues, pins and fixture hashes are rederived on this branch. Graphs whose laid-out mocks change under a renaming because the cycle edge a mock leaves out follows type names are listed as known issues: each changes under the same renamings with SafeDI 2.4.5, and the mock proof finds the values of every naming equal to 2.4.5's.

Found and not fixed

  • generate on the S12 shape with mocks needs about 1.3 times the peak memory of the base tool (202.6 MB against 156.0 MB on Linux), above the 1.1 the Generate Time check reports against. Accepted for this release. The check's limit is unchanged, and the memory work continues in a near-term follow-up release.
  • Which cycle edge a laid-out mock leaves out still follows type names, as it did in 2.4.5. Left for a near-term follow-up release, because the values every naming builds are equal.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd


Generated by Claude Code

claude added 30 commits December 2, 2026 00:59
… switches, and read each lap's overrides

Each test compares the laid-out mock with the walk's, and with the mock switches on the walk's side was laid out too,
so the two agreed on everything and the expected creation-order differences failed. Its walk side is now pinned to the
walk. Each test also overrides the values a later lap of the cycle builds (`A`'s log and reader, `T3`'s log and the
session of the `T0` it is built beneath), so that a lap which read a fresh configuration instead of the root's, as the
walk reads it, would differ: with re-entry of an entered place broken, both tests fail on those values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQHdCJMwsKrWH5L7aXs
… the override closure first

A mock root laid out from node records built a call of another module's public mock, configured by an override closure,
in a function returning the called type, while the closure returns the place's type: a place of a protocol the called
type names in fulfillingAdditionalTypes failed to compile. The function now returns the property's type, as the walk's
builder function does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
…hows production's order

The shipped mock proof's report lists every pair that is not EQUAL. An entry claimed for a root in
Scripts/mock-proof-allowances.tsv now allows that root's DIFFERENT pair only when the shard's comparison of the records'
mock with production for that root (pairs.production-order.tsv) is EQUAL: order may follow production, and nothing else
may differ. A claim without that comparison, or with production's order differing, stays listed with what is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMifKg1WBCEn5ahSLi
…ose frame is now 2,408 bytes

Under the 64 KB every generator function is held to, the function needs no line of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
…op Mutex from the comparator

A `let` in a nested function that reads the name it binds now reads the enclosing binding, as Swift 6.2.1 does, rather than reporting a read before declaration. A field default that is a bare lowercase name is read as the static member of the type the configuration is nested in. The comparison's thread hands its verdict back through an NSLock, since Mutex needs macOS 15 and this target compiles for the package's platforms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQJFbZF6c8FbxzTFKUi
…on of the caller's

A fill of another module's public mock that receives a value the called mock does not hold reads the caller's
declaration, which one mock root may declare as a value and another lazily. Sharing the call's part across mock
worlds spelled the first world's read in every world, so a root that holds the value lazily passed the wrapper where
the fill takes the value. The call's part is now left to each world when any fill reads a caller's declaration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQKqaF9eRvqtwAFSdEZ
… 35 for test pairs 0221 and 0508

A test's pair has no seed, so an allowance names a pattern of the pair folder's name: `<seed>-*-<module>-<type>` for a
corpus root, the pair's own name for a test's. 0221 and 0508 are claimed for entry 35 (approved by the lead on the
condition that order follows production); each is allowed only once the proof's comparison with production is EQUAL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMifKg1WBCEn5ahSLi
MockProgramComparison.compareWithProduction runs the records' mock with no override supplied, so every override's `if let` takes its `else`, against the root's production initializer read as a mock that returns the root. EQUAL says the mock makes the root's instances, reads and calls in production's order; DIFFERENT names the first event where they split. The approved-differences entry for mock creation order holds only where this is EQUAL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQJFbZF6c8FbxzTFKUi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQJFbZF6c8FbxzTFKUi
… its fills

A call of another module's public mock spelled in place (one that fills the called mock's places) declared its function
returning the called type whatever the record said, so where its override closure returns the place's type the function
failed to compile, as the previous change fixed for a call built in a function of its own. The function now returns the
property's type where the record does, erasing an erased place's value itself, and the binding then erases nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
…mparison

A mock root that is not a production root has no production initializer to compare its order with. With SAFEDI_TEST_RECORD_PRODUCTION_TWINS set, a recording test run also generates the same sources with only `isRoot: true` added to the root's `@Instantiable` (MockProductionTwin), in a detached task without recording or compiling, and records the twin's initializer as `<Root>+SafeDI.twin.swift`. A root no twin can be made or generated for records none, and its order stays unproved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQJFbZF6c8FbxzTFKUi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQJFbZF6c8FbxzTFKUi
… 2.4.6 cut

From the analysis of run 46782400275 ("Check Graph Fuzzer Corpus on Linux", job 143151646073) on
35c9ecb, applied with apply-fuzzer-pins: eight per-feature counts and twelve value
oracle counts of the base corpus. No fixture or partition hash moved, and the smoke jobs passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
With mocks laid out from node records by default, a test that compares the records' mock with the walk's built both
sides laid out, so it compared a mock with itself. Every walk side now runs inside generatingMocksByTheWalk, which turns
the four switches off, and the tests of what the walk observes (tree names, root-level bindings, captures, the tree's
checks of a mock root) carry the mocksByTheWalk trait. Both go with the tree in 2.4.7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
…//github.com/dfed/SafeDI into claude/project-thread-dab9up-mocks-on-146

# Conflicts:
#	Tests/SafeDIToolMockTests/SafeDIToolNodeRecordsMockCycleWalkTests.swift
Rewrites, with regenerate-expectations from runs of the switches off and on, the 339 expected literals of the 394 tests
whose every changed mock the mock proof (MockProofPairsTests) judges EQUAL to the walk's: the same values, the same
identities and the same creation order under every override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
…erty's type

The function a call spelled in place declares now depends on that flag (its return type and where it erases), so two
calls that differ only there must not share one class's function text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
…rowth as debt

LPB's time grows about 2.1 times at the doubling, slightly faster than linear, as it has since the 2.4.5 release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
…ompiles do not share the runner's memory

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLHq43QvdYBYGWTdSo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
…ocks laid out

The shared SafeDIMockConfiguration.swift declares the entered places wherever a laid-out mock enters one, in eight tests
that expected it empty. Fifteen more tests of the tree's names and checks carry mocksByTheWalk. The world-sharing
comparison writes no homes on either side, so it compares sharing alone. The chained-seams memory test counts the
records' one builder function per seam.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Timing of 66af20d

Wall times measured in this run. A wall time, peak memory, size or growth row over its limit is reported here and fails no check; a shape the tool cannot generate still fails "Check Generate Time on Linux". Every run rewrites this comment, and a check that did not run in it is not listed.

generate, head against base: 0 failure(s), and 3 finding(s) reported and not failed.

Reported and not failed:

  • S12-mocks: generate needed 1.25 times the base tool's peak memory with one allocator arena (199.6 MB against 159.1 MB, median of 5); the limit is 1.1
  • A300-app: generate needed 1.46 times the base tool's peak memory (248.9 MB against 170.3 MB, median of 5); the limit is 1.3
  • CH1500-chain: generate needed 1.32 times the base tool's peak memory (99.7 MB against 75.8 MB, median of 5); the limit is 1.3
Every shape and row

generate time and peak memory, head against base: median of 5 alternating runs; a shape fails at 2 times the base's wall time or 1.3 times its peak memory, there or on the median peak of 5 more runs with one allocator arena, and C1500-mock-chain, E32-inline-mocks, S12-mocks, S16 at 1.1 times with one arena. APP100x800x3, APP300x3000x3, E24-public-mock, MR20x1000-many-roots, ORD400-ordinary are compared on their runs with one arena alone, at 1.3 or at the shape's own memory limit.

Shape Runs Base wall / CPU Head wall / CPU Head / base (wall) Base peak Head peak Head / base (peak) Generated code Verdict
E16-seam 5, and 5 with one arena 0.145 s / 0.137 s 0.147 s / 0.139 s 1.01 58.2 MB 58.6 MB 1.01; with one arena 55.9 MB and 55.6 MB, 0.99 identical within the limits
E24-seam 5, and 5 with one arena 1.034 s / 1.094 s 1.030 s / 1.093 s 1.00 158.4 MB 160.1 MB 1.01; with one arena 138.1 MB and 137.1 MB, 0.99 identical within the limits
E32-inline 5, and 5 with one arena 0.039 s / 0.028 s 0.039 s / 0.029 s 1.01 47.6 MB 47.3 MB 0.99; with one arena 47.4 MB and 47.4 MB, 1.00 identical within the limits
D20 5, and 5 with one arena 0.595 s / 0.431 s 0.595 s / 0.427 s 1.00 54.0 MB 53.2 MB 0.98; with one arena 53.5 MB and 52.7 MB, 0.99 differs within the limits
E24-public-mock 5, and 5 with one arena 1.778 s / 1.841 s 1.790 s / 1.855 s 1.01 208.1 MB 209.1 MB 1.00; with one arena 145.4 MB and 146.1 MB, 1.01, the figure compared identical within the limits
E24-fill 5, and 5 with one arena 1.958 s / 2.059 s 1.973 s / 2.075 s 1.01 266.1 MB 260.1 MB 0.98; with one arena 237.7 MB and 237.6 MB, 1.00 identical within the limits
E24-sendable-builder 5, and 5 with one arena 0.991 s / 1.049 s 0.995 s / 1.059 s 1.00 166.5 MB 165.9 MB 1.00; with one arena 144.5 MB and 144.1 MB, 1.00 identical within the limits
E24-lazy 5, and 5 with one arena 1.089 s / 1.152 s 1.080 s / 1.143 s 0.99 162.3 MB 163.1 MB 1.00; with one arena 139.9 MB and 139.7 MB, 1.00 identical within the limits
I800-seam 5, and 5 with one arena 0.393 s / 0.477 s 0.391 s / 0.476 s 0.99 103.4 MB 104.0 MB 1.01; with one arena 79.0 MB and 79.0 MB, 1.00 identical within the limits
H1200-seam 5, and 5 with one arena 0.821 s / 1.333 s 0.800 s / 1.307 s 0.97 120.1 MB 117.6 MB 0.98; with one arena 107.1 MB and 107.1 MB, 1.00 identical within the limits
M80x80-calling-mocks 5, and 5 with one arena 0.390 s / 0.539 s 0.352 s / 0.598 s 0.90 67.9 MB 78.3 MB 1.15; with one arena 66.8 MB and 77.8 MB, 1.16 identical within the limits
R10x10-referenced-modules 5, and 5 with one arena 4.039 s / 3.547 s 3.900 s / 3.506 s 0.97 53.8 MB 54.0 MB 1.00; with one arena 52.6 MB and 52.7 MB, 1.00 identical within the limits
S12-mocks 5, and 5 with one arena 1.161 s / 2.173 s 1.255 s / 2.284 s 1.08 189.1 MB 208.8 MB 1.10; with one arena 159.1 MB and 199.6 MB, 1.25 identical memory over the limit
S16 5, and 5 with one arena 0.708 s / 0.707 s 0.713 s / 0.714 s 1.01 103.1 MB 103.2 MB 1.00; with one arena 83.3 MB and 83.4 MB, 1.00 identical within the limits
E32-inline-mocks 5, and 5 with one arena 1.050 s / 1.814 s 0.145 s / 0.165 s 0.14 228.9 MB 56.2 MB 0.25; with one arena 209.3 MB and 54.6 MB, 0.26 differs within the limits
C1500-mock-chain 5, and 5 with one arena 0.596 s / 0.404 s 0.355 s / 0.331 s 0.60 204.1 MB 111.0 MB 0.54; with one arena 197.8 MB and 83.9 MB, 0.42 differs within the limits
A300-app 5, and 5 with one arena 0.834 s / 0.824 s 0.880 s / 0.871 s 1.06 170.3 MB 248.9 MB 1.46; with one arena 160.3 MB and 160.7 MB, 1.00 identical memory over the limit
CH1500-chain 5, and 5 with one arena 0.221 s / 0.212 s 0.227 s / 0.218 s 1.03 75.8 MB 99.7 MB 1.32; with one arena 75.6 MB and 76.0 MB, 1.00 identical memory over the limit
RG600-ring 5, and 5 with one arena 0.109 s / 0.100 s 0.107 s / 0.099 s 0.98 56.9 MB 67.8 MB 1.19; with one arena 58.0 MB and 57.9 MB, 1.00 identical within the limits
SH100-self-holding 5, and 5 with one arena 0.063 s / 0.054 s 0.064 s / 0.054 s 1.02 49.9 MB 49.9 MB 1.00; with one arena 49.8 MB and 49.6 MB, 1.00 identical within the limits
ORD400-ordinary 5, and 5 with one arena 0.254 s / 0.244 s 0.259 s / 0.249 s 1.02 96.8 MB 98.2 MB 1.01; with one arena 75.9 MB and 75.9 MB, 1.00, the figure compared identical within the limits
RT20-roots-over-tree 5, and 5 with one arena 0.577 s / 0.568 s 0.587 s / 0.577 s 1.02 87.5 MB 88.8 MB 1.01; with one arena 76.9 MB and 77.6 MB, 1.01 identical within the limits
RT100-roots-over-tree 5, and 5 with one arena 2.605 s / 2.557 s 2.639 s / 2.595 s 1.01 173.8 MB 180.6 MB 1.04; with one arena 167.0 MB and 170.1 MB, 1.02 identical within the limits
APP100x800x3 5, and 5 with one arena 0.260 s / 0.251 s 0.274 s / 0.264 s 1.05 83.3 MB 113.0 MB 1.36; with one arena 82.9 MB and 83.2 MB, 1.00, the figure compared identical within the limits
APP300x3000x3 5, and 5 with one arena 0.982 s / 0.973 s 1.011 s / 1.001 s 1.03 183.8 MB 291.7 MB 1.59; with one arena 183.7 MB and 183.5 MB, 1.00, the figure compared identical within the limits
MR20x1000-many-roots 5, and 5 with one arena 0.961 s / 0.934 s 0.995 s / 0.971 s 1.04 107.6 MB 107.4 MB 1.00; with one arena 107.7 MB and 109.0 MB, 1.01, the figure compared identical within the limits

.safedi size, head against base: a module fails at 2 times the base's bytes.

Shape Module Base bytes Head bytes Head / base Verdict
E16-seam Feature 48882 48882 1.00 within the limit
E16-seam App 48039 48039 1.00 within the limit
E24-seam Feature 495884 495884 1.00 within the limit
E24-seam App 494465 494465 1.00 within the limit
E32-inline App 9271 9271 1.00 within the limit
D20 Core 202 202 1.00 within the limit
D20 M19 597 597 1.00 within the limit
D20 M18 597 597 1.00 within the limit
D20 M17 597 597 1.00 within the limit
D20 M16 597 597 1.00 within the limit
D20 M15 1801 1801 1.00 within the limit
D20 M14 1801 1801 1.00 within the limit
D20 M13 1801 1801 1.00 within the limit
D20 M12 1801 1801 1.00 within the limit
D20 M11 3559 3559 1.00 within the limit
D20 M10 3559 3559 1.00 within the limit
D20 M9 3553 3553 1.00 within the limit
D20 M8 3553 3553 1.00 within the limit
D20 M7 5507 5507 1.00 within the limit
D20 M6 5507 5507 1.00 within the limit
D20 M5 5514 5514 1.00 within the limit
D20 M4 5514 5514 1.00 within the limit
D20 M3 7614 7614 1.00 within the limit
D20 M2 7614 7614 1.00 within the limit
D20 M1 7614 7614 1.00 within the limit
D20 M0 7614 7614 1.00 within the limit
D20 App 10277 10277 1.00 within the limit
E24-public-mock Feature 901713 901713 1.00 within the limit
E24-public-mock App 900398 900398 1.00 within the limit
E24-fill Feature 1189780 1189780 1.00 within the limit
E24-fill App 1188294 1188294 1.00 within the limit
E24-sendable-builder Feature 487213 487213 1.00 within the limit
E24-sendable-builder App 485806 485806 1.00 within the limit
E24-lazy Feature 500208 500208 1.00 within the limit
E24-lazy App 498795 498795 1.00 within the limit
I800-seam Feature 165565 165565 1.00 within the limit
I800-seam App 156804 156804 1.00 within the limit
H1200-seam Feature 373028 373028 1.00 within the limit
H1200-seam App 370769 370769 1.00 within the limit
M80x80-calling-mocks Base 88 88 1.00 within the limit
M80x80-calling-mocks Feat 30062 30062 1.00 within the limit
M80x80-calling-mocks App 39223 39223 1.00 within the limit
R10x10-referenced-modules L0M0 1663 1663 1.00 within the limit
R10x10-referenced-modules L0M1 1664 1664 1.00 within the limit
R10x10-referenced-modules L0M2 1664 1664 1.00 within the limit
R10x10-referenced-modules L0M3 1663 1663 1.00 within the limit
R10x10-referenced-modules L0M4 1663 1663 1.00 within the limit
R10x10-referenced-modules L0M5 1664 1664 1.00 within the limit
R10x10-referenced-modules L0M6 1664 1664 1.00 within the limit
R10x10-referenced-modules L0M7 1664 1664 1.00 within the limit
R10x10-referenced-modules L0M8 1663 1663 1.00 within the limit
R10x10-referenced-modules L0M9 1664 1664 1.00 within the limit
R10x10-referenced-modules L1M0 2014 2014 1.00 within the limit
R10x10-referenced-modules L1M1 2014 2014 1.00 within the limit
R10x10-referenced-modules L1M2 2013 2013 1.00 within the limit
R10x10-referenced-modules L1M3 2013 2013 1.00 within the limit
R10x10-referenced-modules L1M4 2014 2014 1.00 within the limit
R10x10-referenced-modules L1M5 2013 2013 1.00 within the limit
R10x10-referenced-modules L1M6 2014 2014 1.00 within the limit
R10x10-referenced-modules L1M7 2014 2014 1.00 within the limit
R10x10-referenced-modules L1M8 2013 2013 1.00 within the limit
R10x10-referenced-modules L1M9 2013 2013 1.00 within the limit
R10x10-referenced-modules L2M0 2318 2318 1.00 within the limit
R10x10-referenced-modules L2M1 2319 2319 1.00 within the limit
R10x10-referenced-modules L2M2 2319 2319 1.00 within the limit
R10x10-referenced-modules L2M3 2318 2318 1.00 within the limit
R10x10-referenced-modules L2M4 2318 2318 1.00 within the limit
R10x10-referenced-modules L2M5 2318 2318 1.00 within the limit
R10x10-referenced-modules L2M6 2319 2319 1.00 within the limit
R10x10-referenced-modules L2M7 2318 2318 1.00 within the limit
R10x10-referenced-modules L2M8 2319 2319 1.00 within the limit
R10x10-referenced-modules L2M9 2318 2318 1.00 within the limit
R10x10-referenced-modules L3M0 2622 2622 1.00 within the limit
R10x10-referenced-modules L3M1 2623 2623 1.00 within the limit
R10x10-referenced-modules L3M2 2622 2622 1.00 within the limit
R10x10-referenced-modules L3M3 2623 2623 1.00 within the limit
R10x10-referenced-modules L3M4 2622 2622 1.00 within the limit
R10x10-referenced-modules L3M5 2622 2622 1.00 within the limit
R10x10-referenced-modules L3M6 2623 2623 1.00 within the limit
R10x10-referenced-modules L3M7 2623 2623 1.00 within the limit
R10x10-referenced-modules L3M8 2622 2622 1.00 within the limit
R10x10-referenced-modules L3M9 2623 2623 1.00 within the limit
R10x10-referenced-modules L4M0 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M1 2927 2927 1.00 within the limit
R10x10-referenced-modules L4M2 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M3 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M4 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M5 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M6 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M7 2928 2928 1.00 within the limit
R10x10-referenced-modules L4M8 2927 2927 1.00 within the limit
R10x10-referenced-modules L4M9 2927 2927 1.00 within the limit
R10x10-referenced-modules L5M0 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M1 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M2 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M3 3235 3235 1.00 within the limit
R10x10-referenced-modules L5M4 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M5 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M6 3235 3235 1.00 within the limit
R10x10-referenced-modules L5M7 3235 3235 1.00 within the limit
R10x10-referenced-modules L5M8 3234 3234 1.00 within the limit
R10x10-referenced-modules L5M9 3234 3234 1.00 within the limit
R10x10-referenced-modules L6M0 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M1 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M2 3537 3537 1.00 within the limit
R10x10-referenced-modules L6M3 3537 3537 1.00 within the limit
R10x10-referenced-modules L6M4 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M5 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M6 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M7 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M8 3538 3538 1.00 within the limit
R10x10-referenced-modules L6M9 3537 3537 1.00 within the limit
R10x10-referenced-modules L7M0 3844 3844 1.00 within the limit
R10x10-referenced-modules L7M1 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M2 3844 3844 1.00 within the limit
R10x10-referenced-modules L7M3 3844 3844 1.00 within the limit
R10x10-referenced-modules L7M4 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M5 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M6 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M7 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M8 3845 3845 1.00 within the limit
R10x10-referenced-modules L7M9 3844 3844 1.00 within the limit
R10x10-referenced-modules L8M0 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M1 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M2 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M3 4164 4164 1.00 within the limit
R10x10-referenced-modules L8M4 4164 4164 1.00 within the limit
R10x10-referenced-modules L8M5 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M6 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M7 4163 4163 1.00 within the limit
R10x10-referenced-modules L8M8 4164 4164 1.00 within the limit
R10x10-referenced-modules L8M9 4163 4163 1.00 within the limit
R10x10-referenced-modules L9M0 4586 4586 1.00 within the limit
R10x10-referenced-modules L9M1 4587 4587 1.00 within the limit
R10x10-referenced-modules L9M2 4586 4586 1.00 within the limit
R10x10-referenced-modules L9M3 4586 4586 1.00 within the limit
R10x10-referenced-modules L9M4 4586 4586 1.00 within the limit
R10x10-referenced-modules L9M5 4587 4587 1.00 within the limit
R10x10-referenced-modules L9M6 4586 4586 1.00 within the limit
R10x10-referenced-modules L9M7 4587 4587 1.00 within the limit
R10x10-referenced-modules L9M8 4587 4587 1.00 within the limit
R10x10-referenced-modules L9M9 4587 4587 1.00 within the limit
R10x10-referenced-modules App 3620 3620 1.00 within the limit
S12-mocks App 2614 2614 1.00 within the limit
S16 App 3286 3286 1.00 within the limit
E32-inline-mocks App 9310 9310 1.00 within the limit
C1500-mock-chain App 162663 162663 1.00 within the limit
A300-app App 657901 657901 1.00 within the limit
CH1500-chain App 162658 162658 1.00 within the limit
RG600-ring App 67481 67481 1.00 within the limit
SH100-self-holding App 14866 14866 1.00 within the limit
ORD400-ordinary App 144192 144192 1.00 within the limit
RT20-roots-over-tree App 78834 78834 1.00 within the limit
RT100-roots-over-tree App 84195 84195 1.00 within the limit
APP100x800x3 App 179593 179593 1.00 within the limit
APP300x3000x3 App 687952 687952 1.00 within the limit
MR20x1000-many-roots App 114404 114404 1.00 within the limit

Growth, the head tool alone: each row at its layers and at 2 more, or at the two numbers it names; median of 3 alternating runs for time, and of 3 more with one allocator arena for peak memory. A measure fails at 2 times the smaller graph's, or at the limit beside it.

Row Layers Wall: fewer layers, more, ratio Peak memory .safedi bytes Generated code Verdict
P-seam-hole-at-every-screen 6 and 8 0.198 s, 1.617 s, 8.16 (limit 13) 60.3 MB, 200.2 MB, 3.32 (limit 5.5) 291416 bytes, 3379022 bytes, 11.60 (limit 12.5) 80978 bytes, 123266 bytes, 1.52 within the limits
L-label-declared-again 9 and 11 0.036 s, 0.039 s, 1.08 47.3 MB, 48.2 MB, 1.02 10443 bytes, 12982 bytes, 1.24 17699 bytes, 22475 bytes, 1.27 within the limits
K-mock-at-every-screen 6 and 8 0.043 s, 0.059 s, 1.35 (limit 6.5) 51.3 MB, 52.0 MB, 1.01 3135 bytes, 4255 bytes, 1.36 116509 bytes, 159533 bytes, 1.37 (limit 10.5) within the limits
M-public-mock-layers 6 and 8 0.072 s, 0.124 s, 1.71 (limit 5) 50.7 MB, 54.7 MB, 1.08 6955 bytes, 9179 bytes, 1.32 128150 bytes, 191046 bytes, 1.49 (limit 9) within the limits
MH-public-mock-hole-at-every-screen 6 and 8 0.183 s, 1.415 s, 7.71 (limit 12.5) 62.3 MB, 184.3 MB, 2.96 (limit 5.5) 224758 bytes, 2506094 bytes, 11.15 (limit 12.5) 490878 bytes, 3360205 bytes, 6.85 (limit 9) within the limits
Q-seam-own-module-paths 9 and 11 0.070 s, 0.076 s, 1.10 48.3 MB, 48.7 MB, 1.01 10422 bytes, 12665 bytes, 1.22 59796 bytes, 75892 bytes, 1.27 within the limits
B-cycles-through-instantiators 3 and 5 0.047 s, 0.049 s, 1.04 (limit 27) 46.1 MB, 46.2 MB, 1.00 (limit 3.6) 1706 bytes, 2680 bytes, 1.57 4492 bytes, 7990 bytes, 1.78 within the limits
W-ring-of-screens-that-open-each-other 10 and 12 0.026 s, 0.027 s, 1.04 (limit 4) 45.8 MB, 46.2 MB, 1.01 2498 bytes, 2962 bytes, 1.19 7147 bytes, 8555 bytes, 1.20 within the limits
WL-ring-of-screens-receiving-labels 2 and 4 0.156 s, 0.449 s, 2.87 (limit 5.5) 62.7 MB, 99.4 MB, 1.58 (limit 2.4) 46751 bytes, 60851 bytes, 1.30 50201 bytes, 76701 bytes, 1.53 within the limits
BM-mocks-of-cycles-through-instantiators 2 and 4 0.062 s, 0.147 s, 2.36 (limit 48) 50.0 MB, 52.2 MB, 1.05 (limit 6.5) 1262 bytes, 2221 bytes, 1.76 72987 bytes, 237796 bytes, 3.26 (limit 275) within the limits
F9-public-mock-seam-chain 3 and 5 0.207 s, 1.983 s, 9.60 (limit 16) 55.3 MB, 204.1 MB, 3.69 (limit 6) 108330 bytes, 3474647 bytes, 32.07 (limit 36) 264483 bytes, 4101514 bytes, 15.51 (limit 19) within the limits
H-seam-holes-in-cycles 3 and 5 0.087 s, 1.074 s, 12.28 (limit 22) 48.3 MB, 88.1 MB, 1.82 (limit 2.6) 22299 bytes, 1376085 bytes, 61.71 (limit 65) 28228 bytes, 121080 bytes, 4.29 (limit 5) within the limits
TA-all-to-all-tangle 4 and 6 0.086 s, 1.633 s, 19.03 (limit 27) 49.8 MB, 164.2 MB, 3.30 (limit 4.7) 32535 bytes, 1247861 bytes, 38.35 (limit 47) 78851 bytes, 5566907 bytes, 70.60 (limit 83) within the limits
LS-layered-screens-opening-screen-above 6 and 8 0.030 s, 0.032 s, 1.08 46.5 MB, 47.0 MB, 1.01 3824 bytes, 5040 bytes, 1.32 11776 bytes, 15982 bytes, 1.36 within the limits
LST-layered-screens-opening-screen-above-over-twin-cycle 4 and 6 0.044 s, 0.371 s, 8.46 (limit 13) 48.3 MB, 80.0 MB, 1.66 1358 bytes, 1811 bytes, 1.33 3427 bytes, 4893 bytes, 1.43 within the limits
LSH-seam-layered-screens-opening-screen-above-hole-at-leaves 3 and 5 0.086 s, 1.451 s, 16.96 (limit 26) 49.7 MB, 141.0 MB, 2.84 (limit 4.5) 29722 bytes, 1005186 bytes, 33.82 (limit 38) 79021 bytes, 3078304 bytes, 38.96 (limit 47) within the limits
O-only-if-available-at-every-screen 6 and 8 0.027 s, 0.030 s, 1.10 46.2 MB, 46.3 MB, 1.00 3364 bytes, 4438 bytes, 1.32 9413 bytes, 12671 bytes, 1.35 within the limits
R-received-instantiator-at-every-screen 6 and 8 0.031 s, 0.033 s, 1.08 46.3 MB, 46.9 MB, 1.01 3230 bytes, 4316 bytes, 1.34 21143 bytes, 31547 bytes, 1.49 within the limits
N-rename-at-every-screen 8 and 10 0.030 s, 0.032 s, 1.06 46.6 MB, 47.2 MB, 1.01 4432 bytes, 5507 bytes, 1.24 13439 bytes, 16889 bytes, 1.26 within the limits
V-renames-in-alternate-layers 10 and 12 0.039 s, 0.041 s, 1.04 47.5 MB, 47.7 MB, 1.01 6952 bytes, 8388 bytes, 1.21 22258 bytes, 27706 bytes, 1.24 within the limits
VO-only-if-available-renames-in-alternate-layers 10 and 12 0.036 s, 0.038 s, 1.08 47.2 MB, 48.0 MB, 1.02 7027 bytes, 8475 bytes, 1.21 22277 bytes, 27729 bytes, 1.24 within the limits
PR-parents-router 8 and 10 0.029 s, 0.030 s, 1.05 46.5 MB, 46.3 MB, 1.00 4300 bytes, 5373 bytes, 1.25 15705 bytes, 19869 bytes, 1.27 within the limits
PRS-seam-parents-router 8 and 10 0.058 s, 0.061 s, 1.05 47.1 MB, 47.0 MB, 1.00 7954 bytes, 9849 bytes, 1.24 17103 bytes, 21357 bytes, 1.25 within the limits
T-leaves-reached-twice-at-depth 1 and 3 0.288 s, 0.912 s, 3.17 (limit 6) 84.2 MB, 161.3 MB, 1.91 (limit 3.8) 214719 bytes, 665319 bytes, 3.10 (limit 3.5) 419959 bytes, 1288909 bytes, 3.07 (limit 3.5) within the limits
CH-chain-of-instantiators 1000 and 2000 0.152 s, 0.301 s, 1.97 (limit 2.3) 65.5 MB, 85.8 MB, 1.31 (limit 2.3) 107683 bytes, 219498 bytes, 2.04 (limit 2.3) 207492 bytes, 423492 bytes, 2.04 (limit 2.3) within the limits
RG-ring-of-instantiators 1000 and 2000 0.167 s, 0.371 s, 2.22 (limit 2.3) 66.3 MB, 86.5 MB, 1.30 (limit 2.3) 112707 bytes, 229523 bytes, 2.04 (limit 2.3) 234611 bytes, 477611 bytes, 2.04 (limit 2.3) within the limits
DC-chain-of-declarations-at-depth 2 and 4 0.448 s, 0.986 s, 2.20 (limit 2.3) 105.7 MB, 166.4 MB, 1.57 (limit 2.3) 341402 bytes, 693402 bytes, 2.03 (limit 2.3) 703337 bytes, 1415337 bytes, 2.01 (limit 2.3) within the limits
LC-chain-inside-lazy-cycle-function 2 and 4 0.735 s, 1.637 s, 2.23 (limit 3.2) 145.2 MB, 245.5 MB, 1.69 (limit 2.3) 565618 bytes, 1174902 bytes, 2.08 (limit 2.3) 1182142 bytes, 2394938 bytes, 2.03 (limit 2.3) within the limits
DL-deep-lazy-cycle 300 and 600 0.055 s, 0.088 s, 1.59 (limit 2.3) 50.5 MB, 55.1 MB, 1.09 (limit 2.3) 24944 bytes, 50144 bytes, 2.01 (limit 2.3) 53193 bytes, 106593 bytes, 2.00 (limit 2.3) within the limits
TS-leaves-reached-from-two-screens 2 and 4 0.460 s, 0.956 s, 2.08 (limit 2.3) 105.5 MB, 164.7 MB, 1.56 (limit 2.8) 317851 bytes, 647451 bytes, 2.04 (limit 2.3) 565355 bytes, 1150955 bytes, 2.04 (limit 2.3) within the limits
TC-leaves-reached-three-times-down-chain 2 and 4 0.276 s, 0.582 s, 2.11 (limit 3.6) 82.8 MB, 120.2 MB, 1.45 (limit 2.1) 211144 bytes, 431644 bytes, 2.04 (limit 2.3) 455533 bytes, 915033 bytes, 2.01 (limit 2.3) within the limits
TW-components-on-two-wide-screens 2 and 4 0.575 s, 1.209 s, 2.10 (limit 2.5) 121.2 MB, 193.2 MB, 1.59 (limit 2.3) 440981 bytes, 875561 bytes, 1.99 (limit 2.3) 790823 bytes, 1558723 bytes, 1.97 (limit 2.3) within the limits
BL-back-links-to-feature-entries 1 and 3 0.033 s, 0.033 s, 1.00 47.0 MB, 47.3 MB, 1.01 7344 bytes, 7394 bytes, 1.01 25102 bytes, 25352 bytes, 1.01 within the limits
BL4-back-links-to-most-feature-entries 4 and 6 0.034 s, 0.033 s, 0.99 (limit 6) 47.2 MB, 46.8 MB, 0.99 (limit 2.4) 7425 bytes, 7475 bytes, 1.01 25477 bytes, 25727 bytes, 1.01 within the limits
BLO-back-links-with-state-only-if-available 1 and 3 0.046 s, 0.066 s, 1.45 (limit 8) 47.8 MB, 50.0 MB, 1.05 7409 bytes, 7459 bytes, 1.01 25156 bytes, 25406 bytes, 1.01 within the limits
BLS-back-links-with-feature-labels-over-shared-tree 1 and 3 0.367 s, 0.625 s, 1.70 105.8 MB, 141.5 MB, 1.34 (limit 2.3) 260378 bytes, 435233 bytes, 1.67 375861 bytes, 642061 bytes, 1.71 within the limits
MB-calling-mocks-of-many-hole-types 40 and 80 0.206 s, 0.361 s, 1.75 (limit 2.2) 65.4 MB, 77.8 MB, 1.19 36220 bytes, 69448 bytes, 1.92 2316408 bytes, 4639408 bytes, 2.00 (limit 2.2) within the limits
LP-lifelike-chain-under-the-plugin 5 and 10 0.321 s, 0.620 s, 1.93 (limit 2.35) 78.8 MB, 107.6 MB, 1.37 0 bytes, 0 bytes, 1.00 1653445 bytes, 3012762 bytes, 1.82 (limit 2.2) within the limits
LPB-lifelike-chain-with-back-edges 5 and 10 1.076 s, 2.083 s, 1.94 (limit 2.3) 151.9 MB, 250.0 MB, 1.65 (limit 2.3) 0 bytes, 0 bytes, 1.00 (limit 2.3) 15700461 bytes, 25279140 bytes, 1.61 (limit 2.3) within the limits

The compiler's time on single functions: 0 finding(s), reported and not failed.

The compiler's time on single functions of SafeDICore, release build.

Measure Function Time Limit Verdict
optimizing static SafeDICore.DependencyTreeGenerator.holes(of: SafeDICore.Instantiable, generator: SafeDICore.ScopeGenerator, bindsReceivesAgain: Swift.Bool, namesApartAtRoot: SafeDICore.DependencyTreeGenerator.PublicMockRootLevel.NamesApart, parameters: [SafeDICore.SeamSignature.Parameter], assembledPlaces: SafeDICore.SeamAssembledPlaces?, factsView: SafeDICore.SeamFactsView?, receiversByParameter: [SafeDICore.Property : [SafeDICore.SeamSignature.Receiver]], proof: SafeDICore.TypeAccessProof, instantiables: [SafeDICore.TypeDescription : SafeDICore.Instantiable]) -> SafeDICore.DependencyTreeGenerator.HolesAndPlaces (the longest within the limit) 1.7 s 10 s within the limit
type-checking instance method SafeDICore.(file).SeamPlacesDrafts extension.declarationListDifferences(from:parameters:) (SeamPlacesDrafting+Reentries.swift:69) (the longest within the limit) 2.4 s 5 s within the limit

claude added 19 commits December 3, 2026 00:13
…ct-thread-knsfr2-nil-hole

# Conflicts:
#	Sources/SafeDICore/Generators/NodeRecords/MockWorldsSharing+Homes.swift
…st turns them on

Records of filled seam calls are now split in two switches. The production
one (`recordsFilledCalls`) is off by default in every run, observed or not,
so a production or seam world goes to its tree as on main and no run makes a
record of each filled call; only a test that sets it sees records. Mock roots
keep records of their filled calls on through `recordsMockFilledCalls`, which
mocks laid out from records need. With the production switch off, the seam
expectation of a nested call's Sendable fill returns to main's text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQL2AyjmTVDPHyoJd4Z
…ndidate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
A mock root that keeps its tree, and that calls another module's public
mock whose fill reads a value of the root's own, is refused by its node
records (fillReadsCallersOwnValue). It still built its facts world whole,
to name it and to try those records, and its tree's checks asked that
world too. The root's scopes now read the same rule the records read, at
promotion, and such a root builds no world at all: its tree's checks walk
its tree and its walk lays it out alone, as 2.4.5 did. Generated code is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMZDJu1is3zu4RPtRk
Public mock corpus seeds 93, 118, 272, 331, 371 and 402 change their RingScreen mock under the same renamings on 2.4.5, and build the values 2.4.5's mocks build in every naming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
…ulfills (3395de0) into the mocks-on candidate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
Public mock corpus ring seeds 509, 603, 620, 757, 808, 812, 975 and 995, and the twin draw's 619, 934 and 974, change their mock under the same renamings on 2.4.5, and build the values 2.4.5's mocks build in every naming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMZDJu1is3zu4RPtRk
A guarded read whose then branch reads another field, and a guarded read of a value that is no field of the handed
configuration which both outcomes read alike, each stay a code difference. Each cell fails with its check removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQM13nkkC1XE7VC5mco
…mpares them with its world

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMZDJu1is3zu4RPtRk
… into the mocks-on candidate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
…inside a Sendable function

A mock laid out from node records hands a call of another module's public mock
the builder mock() takes for the places it fills. It chose that builder's
family from whether some route builds the call inside a @sendable function,
which misses a call beneath a type that a @sendable cycle closer builds again.
The copy of that type's function made @sendable then captured the plain
builder, and the mock did not compile. The family now also follows the Sendable
mark of the variant laid out, so that copy reads the @sendable builder, as
2.4.5's mock does, and the mock's signature is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMp5zzYKmR3a9KwHFX
…function (0c9add4) into the mocks-on candidate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
…ills its builder

These two tests asked whether records of filled calls are on, which since 281231b holds only for production roots under a test; a mock root's filled calls have a switch of their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
dfed pushed a commit that referenced this pull request Dec 3, 2026
Production records of filled seam calls stay on, as the 2.4.7 line lays
production roots out from records; mock roots' filled calls take #1209's
switch of their own. The records' refusal of a call whose fill reads a
value of the caller's own waits for its port onto the tree holdings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
dfed pushed a commit that referenced this pull request Dec 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
…eads as a root

SourceRuleTests' nodeRecordsRootLiteral rule reads `parts[0]` in a node records file as a root index. The binding place is the first part of a two-part sequence, so read it through `parts.first`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQM13nkkC1XE7VC5mco
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQLUV1Uw2VtgG1YvPSd
The homes of a module were spelled in rounds: a home the pass's text could not
spell was dropped, and the homes calling it spelled again without it. No test or
corpus graph reaches that round, since the pass decides earlier which rows it lays
out and which have homes. A home without a spelling now makes the module keep
every world's row functions, as without homes, which is always correct, and the
unreachable round is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQL2AyjmTVDPHyoJd4Z
@dfed
dfed merged commit 61841fb into main Dec 3, 2026
108 checks passed
@dfed
dfed deleted the claude/project-thread-dab9up-mocks-on-146 branch December 3, 2026 11:11
dfed pushed a commit that referenced this pull request Dec 3, 2026
Brings the head that landed on main as 61841fb: every world's functions kept where a mock home cannot be spelled, the root-literal reading of a sequence's first part, and main's #1218.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
dfed pushed a commit that referenced this pull request Dec 3, 2026
main's tree at 61841fb equals #1209's final head 66af20d, merged just before, so this records main's history and changes no file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMR1grwX46174Pyxyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants