Skip to content

shamhub: Model native stack operations - #1405

Draft
abhinav wants to merge 1 commit into
github-stacks-configfrom
shamhub-native-stacks
Draft

shamhub: Model native stack operations#1405
abhinav wants to merge 1 commit into
github-stacks-configfrom
shamhub-native-stacks

Conversation

@abhinav

@abhinav abhinav commented Aug 15, 2026

Copy link
Copy Markdown
Owner

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

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
abhinav force-pushed the shamhub-native-stacks branch from a5272e7 to 7e40b1a Compare August 24, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant