Repository navigation
docs/plans: execution-spine design — primitives → DependencyView → realization (draft for sign-off) - #6354
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Design draft (docs-only, +142 lines, no code) for the execution spine:
run ≜ realize ∘ materialize ∘ dependency_view— makingDependencyViewa total function over the primitives and realization/materialization its only downstream readers, so "runs as fast as the hardware allows" and "a model connected to nothing is unwritable" hold by construction.Why now
This is the operational follow-on to the §0 roadmap spine (#6343): the fracture it fixes is verified live on
main(re-verified today at 24c2be4):std.realizationfamily (CI floor) andstd.dependency/topological_layers(executor, runtime_run, self-host emit); neither derives from the other, and the floor imports both and hand-builds aRealizationPlan(ci_floor_plan.dag:441).What the draft claims
dependency_viewas THE canonical total reading;realize/materializeas its only readers; singlerunauthority with bypasses deleted (§4).Sign-off requested (§10)
FLAG A (run composition + single authority) · FLAG B (realization grain: per-declaration) · FLAG C (shard subsume-not-delete) · FLAG D (
std.dependencyfundamental,std.realizationrepositioned as reader) · FLAG E (single-process-multi-thread first).Test plan
main@ 24c2be4 today (floor dual-import + hand-built plan atci_floor_plan.dag:441-450; no rayon/par_iter/spawn inv1_compiler_infer.rs).🤖 Generated with Claude Code