Refactor runtime decomposition and add devnet/testkit architecture foundation#20
Merged
Conversation
Add the runtime assembly root, kernel/subsystem scaffolding, narrow public node roles, and tx-services optional module. Extract storage, sync, ledger, UTXO, transaction, producer, and devnet boundaries with focused tests and ADR-028 design/tracker docs. Remove pre-release legacy NodeAPI/Yano/raw mempool surfaces and move bundled genesis resources into runtime.
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
Implements the ADR-028 runtime decomposition work and follow-up devnet/testkit foundation. This refactors the node runtime toward smaller role-based APIs, makes NodeKernel lifecycle/health load-bearing, extracts producer/chronology orchestration, removes deprecated broad compatibility APIs, and keeps ChainState usage behind narrower capability interfaces.
Adds ADR-029 for the devnet control toolkit split and implements the toolkit boundary so DevnetControl lives outside the production runtime artifact while runtime still owns safety-critical rollback, restore, faucet, producer, and time-travel mutation semantics. The follow-up cleanup extracts runtime devnet SPI adapters out of RuntimeNode and prunes unused speculative SPI ports.
Adds ADR-030 for the Yano testkit direction, including JUnit-ready devnet lifecycle helpers, wallet/faucet/query/assertion/snapshot/time helpers, transaction submission/evaluation helpers, CCL BackendService integration planning, and Blockfrost-compatible HTTP fixture planning for non-Java clients.
Also updates ADR-027 as a product and architecture vision document rather than a committed strategic direction, and adds runtime decomposition design documentation.