Skip to content

Fix audited defects: FoundationModelsKit 2.1.0 bump, docs, and safety fixes - #205

Merged
rudrankriyam merged 1 commit into
mainfrom
fix/audit-defects
Jul 3, 2026
Merged

rudrankriyam merged 1 commit into
mainfrom
fix/audit-defects

Conversation

@rudrankriyam

Copy link
Copy Markdown
Owner

Summary

  • Bump pinned rryam/FoundationModelsKit revision to the 2.1.0 release commit (1cad71a114cd8b321804b4f73a550ac500aafe1b) in root Package.swift, FoundationLabCore/Package.swift, both Package.resolved files, and the Xcode project pin
  • BookPlaygrounds/README.md: correct macOS requirement from 15.6+ to 26.0+ and fix broken bold markdown (** GettingStartedWithSessions**)
  • AnalyzeNutritionIntent: remove the guarded force unwrap in favor of an unwrap-free empty-check fallback
  • README.md Validation section: describe what PR CI actually runs (swift test + book playground typecheck) instead of overstating macOS/iOS Simulator app builds
  • 03_CalculatorTool playground: convert the free-form operation: String parameter to a @Generable enum

Testing

  • swift test (root and FoundationLabCore): 59 tests passing (54 XCTest incl. 4 skipped + 5 Swift Testing), 0 failures
  • bash Tools/BookPlaygrounds/typecheck.sh: all playground directories typecheck cleanly

…ty fixes

- Pin rryam/FoundationModelsKit to the 2.1.0 release commit (1cad71a1)
  in Package.swift, FoundationLabCore/Package.swift, both Package.resolved
  files, and the Xcode project pin
- BookPlaygrounds/README.md: correct macOS requirement to 26.0+ and fix
  broken bold markdown on GettingStartedWithSessions
- AnalyzeNutritionIntent: replace guarded force unwrap with an
  unwrap-free empty-check fallback
- README.md: describe what PR CI actually runs (swift test + book
  playground typecheck) instead of overstating app builds
- 03_CalculatorTool playground: model the operation parameter as a
  @generable enum instead of a free-form String
@rudrankriyam
rudrankriyam merged commit 54edde5 into main Jul 3, 2026
4 checks passed
@rudrankriyam
rudrankriyam deleted the fix/audit-defects branch August 11, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant