shamhub: Model native stack operations - #1405
Draft
abhinav wants to merge 1 commit into
Draft
Conversation
Owner
Author
|
This change is part of the following stack:
Change managed by git-spice. |
This was referenced Aug 15, 2026
abhinav
force-pushed
the
shamhub-native-stacks
branch
from
August 23, 2026 13:40
744f705 to
27204de
Compare
abhinav
force-pushed
the
shamhub-native-stacks
branch
from
August 24, 2026 04:08
27204de to
a5272e7
Compare
Submit and merge integration need a deterministic forge that exposes the same optional native-stack boundary as production providers. Add an opt-in ShamHub repository implementing the complete `WithStacks` contract while leaving the capability absent by default for existing scripts. Plan immutable stack replacements without mutating stored state. Execution atomically validates and replaces the touched relationships together with their provider-facing bases, allowing submit tests to detect sequencing regressions. Preserve divergent relationships in storage and derive disjoint linear merge plans from that representation. Each executable range validates and constructs its merge or squash result before one compare-and-swap publication, so failures cannot expose a partial atomic merge. Refs #1388
abhinav
force-pushed
the
shamhub-native-stacks
branch
from
August 24, 2026 12:41
a5272e7 to
7e40b1a
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.
Submit and merge integration need a deterministic forge that exposes the same
optional native-stack boundary as production providers.
Add an opt-in ShamHub repository implementing the complete
WithStackscontract while leaving the capability absent by default for existing scripts.
Plan immutable stack replacements without mutating stored state.
Execution atomically validates and replaces the touched relationships together
with their provider-facing bases, allowing submit tests to detect sequencing
regressions.
Preserve divergent relationships in storage and derive disjoint linear merge
plans from that representation.
Each executable range validates and constructs its merge or squash result
before one compare-and-swap publication, so failures cannot expose a partial
atomic merge.
Refs #1388