Skip to content

Add explicit harness connection management and shared model editing #6369

Description

@atomantic

Decision: docs/plans/2026-09-06-provider-connections-and-harnesses.md (planning issue #6359). Retain executable provider IDs for all saved selections; durable connection IDs are management-only. This is implementation work, separate from the planning deliverable.

Build Harness > Connection > Model and Direct API > Connection > Model management over the durable graph. Follow the decision document mock flows with explicit link previews and conflict choices; never infer sharing by vendor, labels, catalogs or redacted credentials.

Areas: client/src/pages/AIProviders.jsx, client/src/services/apiProviders.js, server/routes/providers.js, client/src/App.jsx, server/lib/navManifest.js, shared Drawer and provider selectors.

Acceptance:

  • Add existing local Ollama connection to Claude/OpenCode while a remote Ollama API stays independent; new bindings start disabled without granting execution consent.
  • Link previews affected routes/pins and transport/auth choices; unlink clones connection state while preserving executable IDs/defaults/fallbacks.
  • Edit shared catalog/subsets, mode overrides and exact system default mode; catalog refresh retains pins on failures/removals and maps harness model aliases explicitly.
  • Preserve /ai/new and /ai/edit/:providerId; new selections use registered URL params, palette/voice navigation parity, accessible keyboard/mobile controls and focus restoration.
  • TUI Shell launch uses existing validation/lifecycle and explicit user action with saved state; configuration/enable/boot never generates or launches.
  • Old-server fallback uses explicit unsupported/404 management responses; other errors stay errors.
  • Boundary tests cover all six mock flows, stale client revision conflicts and secret-free DTOs.

Part of #6359
The parent is a completed planning deliverable, not an implementation epic; do not reopen it.

Blocked by #6367, #6368

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

planTracked by /do:replanplanner:gpt-6-astraPlan authored by the gpt-6-astra model

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions