RFC-036: Atomic runtime activation and graph supervision - #499
Merged
Conversation
This was referenced Aug 13, 2026
aaltshuler
force-pushed
the
codex/rfc-runtime-activation
branch
from
August 13, 2026 20:40
3002ca1 to
60b848b
Compare
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.
Summary
Defines how a complete graph runtime is built away from traffic and activated as one immutable generation.
Key decisions:
This is a design document only. It changes no runtime or storage format.
Scope boundary
RFC-036 owns immutable runtime generations, activation, availability supervision, retry scheduling, and status. RFC-034 owns durable recovery. RFC-035 owns served-operation lifetime and shutdown. PR #491 owns substrate failure classification.
Series
Recommended review and merge order: RFC-034, RFC-035, RFC-036.
Validation
Greptile Summary
This draft RFC defines immutable graph-runtime generations, atomic activation, and bounded graph availability supervision without changing runtime code or durable formats.
Confidence Score: 5/5
The documentation-only PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR A[Applied graph configuration] --> B[Transition drain] B -->|Drained proof| C[Recovery disposition] C -->|Clean / finalized guard| D[Build fresh immutable generation] C -->|Roll forward required| E[Bounded recovery continuation] E --> C C -->|Blocked or compensation required| F[Blocked graph state] D --> G[Validate witness and activation fences] G --> H[Close predecessor lanes] H --> I[Register fresh serving cell] I --> J[Atomic runtime-state store] J --> K[Release recovery guard] J --> L[Retire predecessor after drain]Reviews (2): Last reviewed commit: "docs(rfc): define atomic runtime activat..." | Re-trigger Greptile