[GH-ISSUE #2387] [Issue]: 10-CONN-CONTRACT-provider-catalog-create-defaults Cohere create defaults drift #1174

Closed
opened 2026-10-21 05:28:20 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2387

Originally assigned to: @Promansis on GitHub.

Summary

10-CONN-CONTRACT-provider-catalog-create-defaults: the refactor provider catalog changed Cohere create-time defaults from the legacy OpenAI-compatible endpoint to Cohere v2 metadata, without a recorded intentional divergence.

Linked tracker: #2384

Expected behavior

Legacy behavior should be preserved or an intentional divergence should be recorded: Cohere connections created from the provider picker default to https://api.cohere.ai/compatibility/v1 and /models.

Actual behavior

Refactor Cohere defaults are https://api.cohere.com/v2 and /v1/models. The create modal seeds new connections from PROVIDERS[provider], so new Cohere connections inherit the changed defaults.

Steps to reproduce

  1. Open the Connections create modal on the refactor branch.
  2. Select Cohere.
  3. Create/save the connection and inspect the seeded base URL/model endpoint defaults.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor parityscan against legacy main
  • Run mode: not run; static trace only
  • OS + version: not relevant
  • Node + pnpm versions: not run
  • Rust version, if relevant: not run
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: Cohere provider catalog defaults

Logs, screenshots, or video

Proof:

  • Legacy Cohere catalog: main:src/engine/contracts/constants/providers.ts:82 (defaultBaseUrl: "https://api.cohere.ai/compatibility/v1", modelsEndpoint: "/models").
  • Refactor Cohere catalog: src/engine/contracts/constants/providers.ts:82 (defaultBaseUrl: "https://api.cohere.com/v2", modelsEndpoint: "/v1/models").
  • Create-time seeding uses provider defaults and first model: src/features/shell/connections/components/CreateConnectionModal.tsx:33.
  • Provider picker lists PROVIDERS runtime providers: src/features/shell/connections/components/CreateConnectionModal.tsx:84.
  • No intentional divergence for this provider/default drift was found in docs/REFACTOR_PARITY_PIPELINE.md:57.

Files inspected:

  • docs/REFACTOR_PARITY_PIPELINE.md:57
  • src/engine/contracts/constants/providers.ts:18
  • src/engine/contracts/constants/model-lists.ts:571
  • src/features/shell/connections/components/CreateConnectionModal.tsx:31
  • src/features/shell/connections/components/ConnectionEditor.tsx:119
  • src/features/catalog/connections/hooks/use-connections.ts:152
  • src/shared/api/connection-command-api.ts:3
  • src-tauri/src/commands/storage/llm.rs:221
  • Same paths on legacy main

Regression notes

Legacy main used the OpenAI-compatible Cohere endpoint. Refactor changed the catalog default. Live provider success was not tested because Target 11 owns transport proof.

Additional context

Acceptance criteria:

  • Cohere create-time defaults either match legacy (https://api.cohere.ai/compatibility/v1, /models) or the divergence is recorded as intentional with rationale.
  • New Cohere connections seeded from the create modal use the chosen default consistently.
  • Target 10 tracker #2384 is updated when resolved.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Jun 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2387 Originally assigned to: @Promansis on GitHub. ## Summary 10-CONN-CONTRACT-provider-catalog-create-defaults: the refactor provider catalog changed Cohere create-time defaults from the legacy OpenAI-compatible endpoint to Cohere v2 metadata, without a recorded intentional divergence. Linked tracker: #2384 ## Expected behavior Legacy behavior should be preserved or an intentional divergence should be recorded: Cohere connections created from the provider picker default to `https://api.cohere.ai/compatibility/v1` and `/models`. ## Actual behavior Refactor Cohere defaults are `https://api.cohere.com/v2` and `/v1/models`. The create modal seeds new connections from `PROVIDERS[provider]`, so new Cohere connections inherit the changed defaults. ## Steps to reproduce 1. Open the Connections create modal on the refactor branch. 2. Select Cohere. 3. Create/save the connection and inspect the seeded base URL/model endpoint defaults. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [x] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` parityscan against legacy `main` - Run mode: not run; static trace only - OS + version: not relevant - Node + pnpm versions: not run - Rust version, if relevant: not run - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: Cohere provider catalog defaults ## Logs, screenshots, or video Proof: - Legacy Cohere catalog: `main:src/engine/contracts/constants/providers.ts:82` (`defaultBaseUrl: "https://api.cohere.ai/compatibility/v1"`, `modelsEndpoint: "/models"`). - Refactor Cohere catalog: `src/engine/contracts/constants/providers.ts:82` (`defaultBaseUrl: "https://api.cohere.com/v2"`, `modelsEndpoint: "/v1/models"`). - Create-time seeding uses provider defaults and first model: `src/features/shell/connections/components/CreateConnectionModal.tsx:33`. - Provider picker lists `PROVIDERS` runtime providers: `src/features/shell/connections/components/CreateConnectionModal.tsx:84`. - No intentional divergence for this provider/default drift was found in `docs/REFACTOR_PARITY_PIPELINE.md:57`. Files inspected: - `docs/REFACTOR_PARITY_PIPELINE.md:57` - `src/engine/contracts/constants/providers.ts:18` - `src/engine/contracts/constants/model-lists.ts:571` - `src/features/shell/connections/components/CreateConnectionModal.tsx:31` - `src/features/shell/connections/components/ConnectionEditor.tsx:119` - `src/features/catalog/connections/hooks/use-connections.ts:152` - `src/shared/api/connection-command-api.ts:3` - `src-tauri/src/commands/storage/llm.rs:221` - Same paths on legacy `main` ## Regression notes Legacy `main` used the OpenAI-compatible Cohere endpoint. Refactor changed the catalog default. Live provider success was not tested because Target 11 owns transport proof. ## Additional context Acceptance criteria: - Cohere create-time defaults either match legacy (`https://api.cohere.ai/compatibility/v1`, `/models`) or the divergence is recorded as intentional with rationale. - New Cohere connections seeded from the create modal use the chosen default consistently. - Target 10 tracker #2384 is updated when resolved. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:28:20 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1174
No description provided.