Skip to content

Make Session Profile Builder a live workflow - #214

Merged
rudrankriyam merged 3 commits into
mainfrom
codex/live-dynamic-profile-workflow
Aug 23, 2026
Merged

rudrankriyam merged 3 commits into
mainfrom
codex/live-dynamic-profile-workflow

Conversation

@rudrankriyam

Copy link
Copy Markdown
Owner

What changed

  • replace the static profile recipe generator with one real LanguageModelSession
  • switch that session between state-driven Inspect and Review profiles
  • require a deterministic, read-only local tool during Inspect and capture its exact output
  • remove the tool during Review while preserving the same transcript
  • let Review run on SystemLanguageModel or PrivateCloudComputeLanguageModel
  • record response text, tool output, elapsed time, transcript count, and reported token usage for every completed turn
  • keep Xcode 26 and OS 26 support through compiler and runtime availability fallbacks
  • localize the new interface in all ten supported locales

Product boundaries

The bundled tool reads labeled sample text only. The interface and model instructions state that it does not inspect the repository, GitHub, or a real build. Cancellation cannot append a completed result, and model/tool readiness failures remain visible.

Validation

  • swiftlint lint --strict --config .swiftlint.yml
  • swift test — Xcode 26.6 RC 2: 50 XCTest + 5 Swift Testing checks passed
  • swift test — Xcode 27 beta 5: 50 XCTest passed, 4 SDK/runtime-dependent checks skipped, plus 5 Swift Testing checks passed
  • macOS generic build — Xcode 26.6 RC 2
  • iOS Simulator generic build — Xcode 26.6 RC 2
  • macOS generic build — Xcode 27 beta 5
  • iOS Simulator generic build — Xcode 27 beta 5
  • iPhone 17 Pro / iOS 27 simulator visual and accessibility inspection for Inspect and PCC Review states
  • localization JSON validation and ten-locale completeness check
  • git diff --check

Stack

This PR is based on #213, which restores the missing Xcode 27 catalog destinations. #213 is based on #211, which pins FoundationModelsKit 3.0.1 and restores Xcode 27 beta 5 compatibility.

@rudrankriyam
rudrankriyam changed the base branch from codex/restore-xcode27-catalog-links to main August 23, 2026 23:08
…ofile-workflow

# Conflicts:
#	Foundation Lab/Localizable.xcstrings

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 04ec54c. Configure here.

@rudrankriyam
rudrankriyam merged commit 39743cf into main Aug 23, 2026
4 checks passed
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