-
Notifications
You must be signed in to change notification settings - Fork 1
Adopt Foundation Models framework for AI config repair (on-device + Claude via LanguageModel protocol) #912
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestkeypathScope: KeyPath product, app, installer, or repository workScope: KeyPath product, app, installer, or repository workneeds-decisionRequires a product or scope decision before implementationRequires a product or scope decision before implementationon-holdValid work intentionally deferred pending evidence, dependency, or product decisionValid work intentionally deferred pending evidence, dependency, or product decisionpost-releasePost-public-1.0 work; not required before stable 1.0 releasePost-public-1.0 work; not required before stable 1.0 releasewwdc26
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkeypathScope: KeyPath product, app, installer, or repository workScope: KeyPath product, app, installer, or repository workneeds-decisionRequires a product or scope decision before implementationRequires a product or scope decision before implementationon-holdValid work intentionally deferred pending evidence, dependency, or product decisionValid work intentionally deferred pending evidence, dependency, or product decisionpost-releasePost-public-1.0 work; not required before stable 1.0 releasePost-public-1.0 work; not required before stable 1.0 releasewwdc26
Post-1.0. Not for the 1.0 launch. From the WWDC 2026 review — see
docs/wwdc-2026-macos-27-opportunities.md(PR #911), opportunity #1 (highest reward).Why
The biggest UX barrier to the AI repair feature is "bring your own Anthropic API key" (Keychain plumbing,
APIKeyValidator, biometric gate,AICostTracker). macOS 27's Foundation Models v2 changes the calculus:LanguageModelprotocol drives on-device, Apple Private Cloud Compute, or third-party cloud models (Claude) through one Swift API — Claude stays as the escalation path.Plan
ConfigRepairModelprotocol; makeAnthropicConfigRepairService(Sources/KeyPathAppKit/Services/AI/) one implementation. Pure refactor, no behavior change.if #available(macOS 27, *)— same pattern asLiquidGlassSupport.swift.https://claude.ai/code/session_01Nsiqm39oCwHkbrHytefnGM