feat(runtime): add lifecycle execution kernel - #31
Merged
Conversation
JJordan0C
approved these changes
Aug 4, 2026
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
Closes #21.
Adds the runtime-owned lifecycle execution kernel that replays the current lifecycle, invokes exactly one injected adapter for the active phase, and commits typed transitions through the existing parent-owned digest-CAS boundary.
Successful execution stops at
apply/awaiting_approvalwithout approving or mutating the active worktree.Implementation
RuntimeStore::parent_transition_lifecycle.No lifecycle semantics, role-profile semantics, test-plan semantics, storage schema, apply behavior, or provider integration were changed.
Validation
Provider processes, live smoke tests, and benchmarks were not run because this kernel is provider-free and makes no end-to-end performance claim.
Risks/limitations
RuntimeEngine, Codex patcher, test, reviewer, verifier, and apply adapters remain outside this change.step; process supervision belongs to the dependent integration work.Documentation/evidence
Updated:
PROJECT_STATUS.mddocs/ARCHITECTURE.mddocs/ROADMAP.mddocs/VERIFIED_CHANGES.mdEvidence consists of the lifecycle-domain tests, the complete
needle-runtimesuite, the SQLite immutable-context test, and provider-free adversarial fake-adapter coverage.AI assistance and human verification
Ownership checklist
PROJECT_STATUS.mdare updated when applicable.