Skip to content

pr/b52b3a5f5 add modal job ai selector controls#260

Merged
plusplusoneplusplus merged 12 commits into
mainfrom
pr/b52b3a5f5-add-modal-job-ai-selector-controls
Jun 2, 2026
Merged

pr/b52b3a5f5 add modal job ai selector controls#260
plusplusoneplusplus merged 12 commits into
mainfrom
pr/b52b3a5f5-add-modal-job-ai-selector-controls

Conversation

@plusplusoneplusplus
Copy link
Copy Markdown
Owner

  • Add modal job AI selector controls
  • Wire provider effort into generate plan queue
  • Wire provider effort into work item execute
  • Wire Ralph launch AI selection
  • Wire Ralph start AI selection
  • Wire Update Document AI selection
  • Wire git skill AI selection
  • Wire Enqueue dialog AI selection
  • Add Enqueue floating chat AI selection regression

plusplusoneplusplus and others added 9 commits June 2, 2026 00:10
Introduce shared modal controls for provider, model, reasoning effort, and effort-tier selection so ad hoc job dialogs can align with New Chat behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add modal AI controls to GenerateTaskDialog and pass provider/model/reasoning-effort through the queue generation hook and route using shared queue validation. Cover passthrough, omission defaults, and invalid provider regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the shared modal AI controls for direct Ralph goal-file launches and pass resolved provider, model, and reasoning effort through the ralph-launch route. Add route and component coverage for reasoning-effort passthrough and no-override behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add shared modal AI controls to the git skill context dialog and pass resolved provider, model, and reasoning effort into queued skill chat tasks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
plusplusoneplusplus and others added 3 commits June 2, 2026 01:57
The modal job AI controls (and NewChatArea) persist the selected agent
provider to the per-repo preference `lastChatProvider`, but that field was
missing from PerRepoPreferencesSchema. Since the schema uses .strip(), the
PATCH was silently dropped server-side and provider selection never survived
a reload. Add the field to the schema so provider persistence works.

Also update the e2e tests that still asserted the legacy persisting model
<select> dropdowns to the new chip-based ModalJobAiControls UI:
- ai-actions 7.4: assert the update-doc model-picker chip instead of #update-doc-model
- preferences 007: rewrite the model/provider suite for the chip UI
  (ephemeral in-memory model override + persisted provider) and fix the
  workspace-select locator now that the model <select> is gone.
- Re-export ModalJobAiControls from the shared barrel (barrel-completeness).

Add regression unit tests covering lastChatProvider schema round-trip.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The RALPH_COMPLETE final-check continuity test (AC-02) ended with
executor.dispose(), which does not wait for in-flight ralph-session writes
(the final-check task and the unrelated exclusive backlog) to settle. On
macOS the afterEach rm then raced with a background write into <dataDir>/repos,
producing a flaky ENOTEMPTY on rmdir. Switch to drainAndDispose(5000), matching
the AC-01 hardening, so all writes complete before the data directory is removed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'renders each chunk before the next one arrives' e2e test released
the first gated chunk after only observing the /stream request being
sent, which precedes the server registering its output subscriber. Any
chunk emitted in that pre-subscription window is dropped, causing a
flaky empty bubble.

Instrument EventSource in the test to observe the server's immediate
post-subscribe 'heartbeat' frame and wait for it before releasing the
first chunk, guaranteeing deterministic delivery.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@plusplusoneplusplus plusplusoneplusplus merged commit 609d943 into main Jun 2, 2026
34 checks passed
@plusplusoneplusplus plusplusoneplusplus deleted the pr/b52b3a5f5-add-modal-job-ai-selector-controls branch June 2, 2026 04:41
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