Skip to content

github: Add native stack opt-out - #1399

Draft
abhinav wants to merge 1 commit into
github-merge-rangefrom
github-stacks-config
Draft

github: Add native stack opt-out#1399
abhinav wants to merge 1 commit into
github-merge-rangefrom
github-stacks-config

Conversation

@abhinav

@abhinav abhinav commented Aug 10, 2026

Copy link
Copy Markdown
Owner

GitHub native stack APIs may be unavailable or undesirable for a
repository. Add the configuration-only spice.forge.github.stacks mode,
enabled by default, and make off report the optional forge operations
as unsupported before any gateway access.

Submit can then skip stack updates, while merge uses its existing ordinary
pull request fallback. No command-line flag or environment variable is
advertised for this policy.

GitHub native stack APIs may be unavailable or undesirable for a repository.
Add the configuration-only `spice.forge.github.stacks` mode, enabled by
default, and snapshot its value when constructing the repository.

When the mode is `off`, reject both stack update and merge-range planning with
`ErrUnsupported` before inspecting provider state.
Submit can then apply ordinary base edits, while merge can retain its
per-change fallback.
No command-line flag or environment variable is advertised for this policy.
@abhinav
abhinav force-pushed the github-stacks-config branch from fde0190 to 148a8c2 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

skip changelog PRs that don't need a changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant