Repository navigation
feat(systems): single-select capabilities — one tool per job - #331
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PartyToolsPane now renders exactly one of Emulator/Behavior/Sidekick based on partyToolProvider (campaign config), dropping the in-pane SegmentedButton and initial param — the paradigms answer the same question, so the choice belongs at campaign config, not pane state.
One dungeon generator at a time: when the classic (Roll 4 Ruin) crawler owns the Dungeon pane, the hexcrawl toolkit's room/dungeon generation buttons fold away instead of stacking a second generator.
…p wiring duplicateSetup copied systems/genre/dndEdition but dropped partyTool, so duplicating a campaign silently reverted its party paradigm to the emulator default. Also adds a regression guard: both the wizard and edit-systems dialog hardcode their exclusive-group radio row to kExclusiveGroups['hex-flavor'], so a future second group would be silently unreachable — pin today's kExclusiveSystemIds to a rendered chip in both dialogs. Plus a stale comment fix in tracking_tab.dart describing the retired internal-switch party model. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
systemsset: purekExclusiveGroups(hex-flavor: Verdant vs generic hexcrawl toolkit) +normalizeExclusive+kExclusiveSystemIdsincampaign_surfaces.dart. The creation wizard and Edit-systems dialog render group members as radio ChoiceChips (+ None); normalization runs ONLY on wizard create and dialog save, so legacy both-on campaigns keep working untouched. A guard test pins the wiring against the silent-unreachable trap when a second group is added.SessionMeta.partyTool('emulator' | 'behavior' | 'sidekick', omitted from JSON at default) withsetPartyTool+partyToolProvider;PartyToolsPanenow renders exactly the chosen surface (in-pane SegmentedButton retired; switch lives in the wizard'sparty-tool-<id>row and the edit dialog'sedit-party-tool-<id>row).duplicateSetupcarries the field. Unchosen panes keep their persisted state.docs/superpowers/specs/2026-08-12-streamline-library-exclusive-capabilities-design.md(PR 2 of 3 in the streamline epic).Test plan
🤖 Generated with Claude Code