Fixes #0: add TFT coach mode with manual patch snapshot#66
Open
peterw wants to merge 1 commit intofarzaa:mainfrom
Open
Fixes #0: add TFT coach mode with manual patch snapshot#66peterw wants to merge 1 commit intofarzaa:mainfrom
peterw wants to merge 1 commit intofarzaa:mainfrom
Conversation
This was referenced Apr 13, 2026
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.
Group chat announcement
We added a new TFT Coach mode in Clicky. Before this, Clicky answered in a general way and did not carry a dedicated TFT patch snapshot. Now, when users switch to TFT Coach, Clicky uses a maintained TFT patch/meta snapshot in every reply so in-game advice is more relevant and less generic.
Customer message
We shipped a TFT Coach mode in Clicky. You can switch to it in the panel and ask for board/shop/item help directly. It now uses a maintained TFT patch snapshot for more relevant coaching, while still prioritizing what’s on your live screen.
QA checklist
Modetoggle showsGeneralandTFT Coach.TFT Coachand confirm snapshot status text appears.Control+Option, ask a TFT question, and confirm response uses TFT framing + still includes[POINT:...]behavior when relevant.Generaland confirm normal non-TFT behavior.python3 scripts/update_tft_meta_snapshot.pyand confirmTFTMetaContext.swiftsnapshot block updates.4.5) BLAST RADIUS
Why this works
Before: the app had one generic prompt path. It had no TFT mode and no dedicated patch context, so TFT guidance was generic.
Now: a user-selectable assistant mode injects TFT-specific instructions and a hardcoded patch snapshot into the Claude system prompt. The model gets explicit TFT context every request and stays anchored to current screen state.
Root cause: missing domain mode + missing TFT context source.
Key concepts
Old (general mode behavior):
New (TFT Coach mode behavior):
Restate the issue
Clicky lacked a TFT-specific coaching mode with patch-aware context; this PR adds one with a manual snapshot workflow.
UI simplification note
UI stayed minimal: one segmented
Modecontrol and one status line. No additional complex settings were added.Live page proof
CompanionPanelView.swift,CompanionManager.swift,TFTMetaContext.swift.MenuBarPanelManager->CompanionPanelView-> mode selection -> prompt assembly inCompanionManager.Safe to ship for a controlled feature increment.
Worst case: stale/manual snapshot leads to suboptimal TFT advice quality, but core app behavior remains functional and reversible by switching back to General mode.