Repository navigation
docs(#607): scope the .task footgun rule to the app-root bootstrap - #626
Merged
Merged
Conversation
Verify-then-decide (#607): the CLAUDE.md rule + the GameRoot/MakeGameApp comments claimed Xcode 26 lowers EVERY `.task` overload to an opaque descriptor that links undefined in the arm64 device Release archive — a blanket "never bare `.task`" ban. The 7 shipped leaf-view `.task` bootstraps (Settings / Daily hub / banner) had no exemption note. Verified the blanket claim is overbroad: `mise run tf:upload sudoku ios --archive-only` produced a clean arm64 device Release archive (config=Release, Release-iphoneos, build 202606260559) with all 7 bare `.task` sites + the BoardView `.task(id:)` tickers present — zero link errors. If "every `.task`" broke the link, those builds could not ship (and they already TestFlight-shipped as 202606251429 etc.). Decision (owner): narrow the doc, keep `.task`. The `.onAppear { Task }` requirement is scoped to the app-root composition bootstrap (GameRoot / MakeGameApp), where #361 was actually observed; leaf-view one-shot `.task` is the idiomatic choice and is verified link-clean. Softened the two GameRoot/MakeGameApp comments to match (no code change — comments only). The 7 sites now conform to the narrowed rule, so they need no per-site exemption note. Comment/doc-only; GameAppKit builds clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This was referenced Jun 26, 2026
Closed
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.
Resolves #607 (verify-then-decide).
Verification
mise run tf:upload sudoku ios --archive-onlyproduced a clean arm64 device Release archive —config=Release,Release-iphoneos, build202606260559, zero link errors (only benign GoogleMobileAds umbrella-header warnings) — with all 7 bare.taskleaf-view bootstraps + the BoardView.task(id:)tickers present. The same code also already TestFlight-shipped (202606251429 / 202606251431). If "every.taskoverload links undefined in arm64 device Release" were true, none of these could ship.→ The blanket rule is overbroad (disproven by the archive).
Decision (owner): narrow the doc, keep
.task.onAppear { Task }requirement is now scoped to the app-root composition bootstrap (GameRoot/MakeGameApp) — where 🔍 Upkeep Report #361 was actually observed — not a blanket ban. Leaf-view one-shot.taskis the idiomatic choice and verified link-clean..taskoverload links undefined" to match (comment-only — no code change).Scope
Comment/doc-only. GameAppKit builds clean. No behavior change.
🤖 Generated with Claude Code