Repository navigation
docs(design): resolve the two DESIGN.md contradictions blocking incremental - #191
Merged
Merged
Conversation
…mental (#10) Peak RSS vs the daemon: the owner's answer on #10 is that cold and warm relink must both win — cold for CI, warm for local dev — and that CI reloads the object graph from an artifact archive through setup-soldr. So peak RSS is a win condition on the cold link, where reld and wild do the same work; the warm path's resident graph is reported separately and must stay bounded, with the bound set from I2 measurements rather than guessed. The graph is a persisted artifact first and a resident structure second, which makes warm-from-artifact (no daemon, graph restored) a mode of its own. Archive semantics: in scope, because C and C++ on three platforms make them unavoidable, unlike the Rust-only case wild's design excludes them for. Member selection and symbol resolution are part of the graph, and an edit that changes either falls back to a full link under the existing §4.2 rule. The I6 debug-info question follows from D5 (#9): the warm path emits usable DWARF and PDB, because the dev loop is where people debug. 09-INCREMENTAL.md §0.1 now points at the resolution and keeps its analysis as the record of why. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
4 of 18 tasks
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.
Closes #10.
#10 raised two contradictions in DESIGN.md, plus a third question for I6, and asked for answers before I2 starts. #154 flags this as the one long-horizon item that shouldn't wait on #153, because the longer it stays open, the more the contradictions leak into Windows and Mac design choices.
1. Peak RSS vs the daemon
The owner's comment on #10 settles it: cold and warm relink must both win. Cold serves GitHub Actions, and warm serves local dev. CI reloads the object graph from an artifact archive through
setup-soldr.2. Archive semantics
In scope. wild excludes them on the grounds that Rust doesn't use them, but C and C++ on three platforms make them unavoidable. §2.2 now says this is the biggest scope difference from the design we forked.
The graph records archive member selection and symbol resolution. Any edit that changes either one falls back to a full link under §4.2's existing "correctness beats cleverness" rule instead of being patched. That covers a newly pulled member, the
malloc-cascade case, and a weak symbol gaining or losing a definition. So the fast path covers the common edit, and the rest stay correct, just no longer fast.3. Debug info on the warm path (the I6 question)
Settled as a requirement, following from D5 in #9: the warm path emits usable debug info, meaning DWARF on ELF and Mach-O, and PDB on Windows via llvm-ld's LLD writer. The dev loop is where people debug, so a relink with no debug info doesn't count as a warm relink. How that stays incremental is still an I6 design question.
Also
docs/plan/09-INCREMENTAL.md§0.1 now points at these resolutions. Its analysis stays as the record of why.Docs only.
uv run --no-sync python -m pytest ci/tests -qpasses, 346 tests, including the check that reads DESIGN.md.🤖 Generated with Claude Code