← reports

#6453 · Codex session catalogs diverge from model discovery

BugPriority: MediumEffort: Mediumproviders · provider-codex · confirmed-repro GitHub issueOctober 28, 2026 · base 1a4a1d254c7b1f70d340ef9c800dad77dbeb8e66

Verdict: REPRODUCED · Root-cause confidence: high

1. TL;DR

A new Codex session can successfully read a catalog containing an additional model while BB's discovery API still returns the older list. The session's catalog is retained for session-specific behavior, but is not published to the server catalog that feeds the model picker. Discovery separately reuses a persistent app-server with no age-based replacement, so even another successful model-list request can repeat the older catalog. A hermetic regression against unchanged main reproduces that divergence, including proof that the new session actually consumed the updated response. The same agent repeated the failure in a second clean checkout; no production account, inference request, or live BB instance was used.

2. Claims vs findings

ClaimStatusEvidence
A fresh session can see more models than discovery.VerifiedThe session publishes a capability that exists only in the changed catalog; the following discovery request still omits the added model.
Refreshing the server cache alone is insufficient.Verified at the bridge boundaryA new successful bridge model/list request returns only catalog-base after the session consumed catalog-base plus catalog-added. Static tracing shows that this is the source of the server refresh result.
The session result does not update the picker store.Verified in sourceThe session loader publishes only session-option state; the server store is updated through provider.list_models responses.
The reported desktop installation, external catalog rollout, and refresh workaround behave exactly as described.UnverifiedNo Windows desktop, live account, or actual provider rollout was exercised. The report establishes the deterministic BB-side lifecycle defect, not external service behavior.

3. Environment

4. Minimal reproduction

  1. Prepare the trusted repository and dependencies:
git clone https://github.com/get-bb/bb.git bb-6453
cd bb-6453
git checkout --detach 1a4a1d254c7b1f70d340ef9c800dad77dbeb8e66
pnpm install --frozen-lockfile --prefer-offline
pnpm exec turbo run build --filter=@get-bb/plugin-sdk
pnpm exec turbo run build

The first unrestricted build initially encountered missing SDK runtime dist files in the GitHub plugin. Explicitly building the existing SDK first resolved that setup prerequisite; the subsequent full build passed all 72 tasks in both checkouts. This was not classified as part of this bug.

  1. Replace plugins/provider-codex/src/bridge/bridge.model-list.test.ts with the complete test file below. It retains the existing tests and adds one owner-boundary regression; production code remains unchanged.
import { mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { afterEach, beforeEach, expect, it, vi } from "vitest";
import { z } from "zod";
import {
  BRIDGE_JSON_RPC_ERRORS,
  THREAD_DELTA_NOTIFICATION_METHOD,
} from "@get-bb/plugin-sdk/provider-bridge";
import { experimental_createBridgeJsonRpcTestHarness as createBridgeJsonRpcTestHarness } from "@get-bb/plugin-sdk/provider-bridge/testing";
import { experimental_killAllChildrenForTests, handleLine } from "./bridge.js";
import {
  FULL_ACCESS_SESSION_OPTIONS,
  stubFakeCodexAppServer,
} from "./fake-codex-app-server-harness.js";

let harness: ReturnType<typeof createBridgeJsonRpcTestHarness>;
const temporaryDirectories: string[] = [];

beforeEach(() => {
  stubFakeCodexAppServer();
  harness = createBridgeJsonRpcTestHarness(handleLine);
});

afterEach(async () => {
  experimental_killAllChildrenForTests();
  harness.restore();
  vi.unstubAllEnvs();
  await Promise.all(
    temporaryDirectories
      .splice(0)
      .map((path) => rm(path, { recursive: true, force: true })),
  );
});

it("reuses one initialized app-server across model catalog requests", async () => {
  harness.sendRequest(1, "model/list", {});
  const first = await harness.waitForResponse(1);
  harness.sendRequest(2, "model/list", {});
  const second = await harness.waitForResponse(2);

  expect(first.error).toBeUndefined();
  expect(second.error).toBeUndefined();
  expect(second.result).toEqual(first.result);
});

it("returns the current catalog after a fresh session discovers additional models", async () => {
  const workDir = await mkdtemp(join(tmpdir(), "bb-codex-catalog-refresh-"));
  temporaryDirectories.push(workDir);
  const scriptPath = join(workDir, "script.json");
  const initialModel = { id: "catalog-base", model: "catalog-base" };
  await writeFile(
    scriptPath,
    JSON.stringify({ modelList: { data: [initialModel] }, turns: [] }),
  );
  stubFakeCodexAppServer(scriptPath);
  harness.sendRequest(1, "model/list", {});
  const initial = await harness.waitForResponse(1);
  expect(initial.error).toBeUndefined();
  expect(initial.result).toMatchObject({
    models: [{ model: "catalog-base" }],
  });

  const addedModel = {
    id: "catalog-added",
    model: "catalog-added",
    displayName: "Added catalog entry",
    supportedReasoningEfforts: [
      { reasoningEffort: "high", description: "High" },
    ],
    defaultReasoningEffort: "high",
    availableAccessPrograms: { cyber: ["standard", "daybreakBlue"] },
  };
  await writeFile(
    scriptPath,
    JSON.stringify({ modelList: { data: [initialModel, addedModel] }, turns: [] }),
  );
  harness.sendRequest(2, "thread/start", {
    threadId: "thr_catalog_refresh",
    cwd: workDir,
    instructionMode: "append",
    options: FULL_ACCESS_SESSION_OPTIONS,
  });
  expect((await harness.waitForResponse(2)).error).toBeUndefined();
  await vi.waitFor(() => {
    expect(harness.messages).toEqual(
      expect.arrayContaining([
        expect.objectContaining({
          method: THREAD_DELTA_NOTIFICATION_METHOD,
          params: expect.objectContaining({
            threadId: "thr_catalog_refresh",
            deltas: expect.arrayContaining([
              expect.objectContaining({
                kind: "extension.state",
                extensionKind: "bb/session-options",
                payload: {
                  options: [expect.objectContaining({ id: "daybreak" })],
                },
              }),
            ]),
          }),
        }),
      ]),
    );
  });

  harness.sendRequest(3, "model/list", {});
  const refreshed = await harness.waitForResponse(3);
  expect(refreshed.error).toBeUndefined();
  const catalog = z
    .object({ models: z.array(z.object({ model: z.string() }).passthrough()) })
    .parse(refreshed.result);
  expect(catalog.models.map((model) => model.model)).toEqual([
    "catalog-base",
    "catalog-added",
  ]);
  expect(catalog.models[1]).toMatchObject({
    displayName: "Added catalog entry",
    defaultReasoningEffort: "high",
  });
});

it("launches the catalog app-server on the requested pool route", async () => {
  const workDir = await mkdtemp(join(tmpdir(), "bb-codex-model-route-"));
  temporaryDirectories.push(workDir);
  const scriptPath = join(workDir, "script.json");
  const launchLogPath = join(workDir, "launches.jsonl");
  await writeFile(scriptPath, JSON.stringify({ launchLogPath, turns: [] }));
  stubFakeCodexAppServer(scriptPath);
  const pooled = {
    CODEX_OPENAI_BASE_URL: "http://127.0.0.1:1/pool/v1",
    CODEX_POOL_AUTH_TOKEN: "machine-token",
  };

  harness.sendRequest(1, "model/list", { envVars: pooled });
  const first = await harness.waitForResponse(1);
  harness.sendRequest(2, "model/list", { envVars: pooled });
  const repeated = await harness.waitForResponse(2);
  harness.sendRequest(3, "model/list", { envVars: {} });
  const local = await harness.waitForResponse(3);

  expect([first.error, repeated.error, local.error]).toEqual([
    undefined,
    undefined,
    undefined,
  ]);
  expect(repeated.result).toEqual(first.result);
  expect(local.result).not.toEqual(first.result);
  const launches = (await readFile(launchLogPath, "utf8"))
    .trim()
    .split("\n")
    .map(
      (line) =>
        JSON.parse(line) as { args: string[]; poolToken: string | null },
    );
  expect(launches).toHaveLength(2);
  expect(launches[0]?.args).toContain('model_provider="bb-account-pool"');
  expect(launches[0]?.args).toContain(
    'openai_base_url="http://127.0.0.1:1/pool/v1"',
  );
  expect(launches[0]?.poolToken).toBe("machine-token");
  expect(launches[1]?.args).not.toContain('model_provider="bb-account-pool"');
  expect(launches[1]?.poolToken).toBeNull();
});

it.each([
  {
    name: "configured model",
    configRead: { config: { model: "configured-model" } },
    configReadError: false,
    expectedDefaults: [false, true],
  },
  {
    name: "unset model",
    configRead: { config: { model: null } },
    configReadError: false,
    expectedDefaults: [true, false],
  },
  {
    name: "model outside the catalog",
    configRead: { config: { model: "unlisted-model" } },
    configReadError: false,
    expectedDefaults: [true, false],
  },
  {
    name: "unavailable configuration API",
    configRead: { config: { model: "configured-model" } },
    configReadError: true,
    expectedDefaults: [true, false],
  },
  {
    name: "malformed configuration response",
    configRead: { config: { model: 42 } },
    configReadError: false,
    expectedDefaults: [true, false],
  },
])("resolves catalog defaults with $name", async (scenario) => {
  const workDir = await mkdtemp(join(tmpdir(), "bb-codex-model-default-"));
  temporaryDirectories.push(workDir);
  const scriptPath = join(workDir, "script.json");
  const catalog = [
    { id: "catalog-id", model: "catalog-model", isDefault: true },
    { id: "configured-id", model: "configured-model", isDefault: false },
  ];
  await writeFile(
    scriptPath,
    JSON.stringify({
      modelList: { data: catalog },
      configRead: scenario.configRead,
      configReadError: scenario.configReadError,
      turns: [],
    }),
  );
  stubFakeCodexAppServer(scriptPath);

  harness.sendRequest(1, "model/list", {});
  const response = await harness.waitForResponse(1);

  expect(response.error).toBeUndefined();
  expect(response.result).toMatchObject({
    models: catalog.map((model, index) => ({
      id: model.id,
      model: model.model,
      isDefault: scenario.expectedDefaults[index],
    })),
    selectedOnlyModels: [],
  });
});

it("replaces the cached app-server after a model catalog failure", async () => {
  const workDir = await mkdtemp(join(tmpdir(), "bb-codex-model-list-"));
  temporaryDirectories.push(workDir);
  const scriptPath = join(workDir, "script.json");
  await writeFile(
    scriptPath,
    JSON.stringify({
      modelListFailOnceMarkerPath: join(workDir, "failed-once"),
      turns: [],
    }),
  );
  stubFakeCodexAppServer(scriptPath);

  harness.sendRequest(1, "model/list", {});
  const failed = await harness.waitForResponse(1);
  harness.sendRequest(2, "model/list", {});
  const recovered = await harness.waitForResponse(2);

  expect(failed.error?.message).toContain(
    "Codex model/list returned no supported models.",
  );
  expect(recovered.error).toBeUndefined();
  expect(recovered.result).toMatchObject({
    models: [
      {
        displayName: "Fake model",
      },
    ],
  });
});

it("rejects a model catalog request with the missing-executable code when codex cannot be spawned", async () => {
  vi.stubEnv(
    "BB_CODEX_BRIDGE_APP_SERVER_COMMAND",
    join(tmpdir(), "bb-codex-does-not-exist"),
  );
  vi.stubEnv("BB_CODEX_BRIDGE_APP_SERVER_ARGS", "[]");

  harness.sendRequest(1, "model/list", {});
  const response = await harness.waitForResponse(1);

  expect(response.error?.code).toBe(BRIDGE_JSON_RPC_ERRORS.MISSING_EXECUTABLE);
  expect(response.error?.message).toContain("could not find the Codex CLI");
});
  1. Run the catalog tests and their session-capability sibling:
pnpm exec turbo run test --filter=bb-plugin-provider-codex -- src/bridge/bridge.model-list.test.ts src/bridge/bridge.daybreak.test.ts

Expected: the session consumes the new catalog and subsequent discovery returns both fixture models with current metadata. Actual: the session capability assertion passes, but discovery still returns the first model only. No turn is started.

AssertionError: expected [ 'catalog-base' ] to deeply equal [ 'catalog-base', 'catalog-added' ]

  [
    "catalog-base",
-   "catalog-added",
  ]

Test Files  1 failed | 1 passed (2)
     Tests  1 failed | 16 passed (17)

The fake app-server reads its fixture once per process. Updating the fixture therefore simulates different catalog snapshots across process lifetimes rather than mocking BB's catalog behavior. A Daybreak session-option notification is the positive witness: only the newly added model enables it, so observing that notification proves the new session's response has been processed before the final failing assertion. The existing tests establish reuse, pool routing, configured defaults, error recovery, and session capability behavior.

5. Root cause

Separate session and discovery consumers

The fresh session requests and parses its own catalog, stores the promise on the session, and publishes only the session-specific option state.

plugins/provider-codex/src/bridge/bridge.ts:1036

function loadSessionModelCatalog(
  connection: CodexAppServerConnection,
): Promise<CodexModelCatalog | null> {
  return connection
    .request({
      method: "model/list",
      params: {},
      resultSchema: ignoredChildResultSchema,
      timeoutMs: SESSION_MODEL_CATALOG_TIMEOUT_MS,
    })
    .then(parseModelCatalog)
    .catch(() => null);
}

function publishDaybreakState(
  session: CodexBridgeSession,
  catalog: CodexModelCatalog | null,
): void {
  if (session.closing || catalog === null || !catalog.daybreakAvailable) {
    return;
  }
  const payload = {
    options: [codexDaybreakOption(session.daybreakEnabled ?? false)],
  };
  const serialized = JSON.stringify(payload);

plugins/provider-codex/src/bridge/bridge.ts:1393

    const modelCatalog = loadSessionModelCatalog(connection);
    session.modelCatalog = modelCatalog;
    void modelCatalog.then((catalog) => publishDaybreakState(session, catalog));
    return { session, codexThreadId };

Discovery keeps its process indefinitely while healthy

Matching pool routes reuse the cached initialized app-server without a freshness condition. The discovery handler asks that process for model/list, so successful reads do not imply a newly launched provider or a current account catalog.

plugins/provider-codex/src/bridge/bridge.ts:1523

async function getModelListConnection(
  envVars: Readonly<Record<string, string>> | undefined,
): Promise<CodexAppServerConnection> {
  const launchKey = poolRouteLaunchKey(envVars);
  if (modelListConnection !== null) {
    if (
      modelListConnection.launchKey === launchKey &&
      !modelListConnection.connection.exited
    ) {
      return modelListConnection.connection;
    }
    retireModelListConnection(modelListConnection.connection);
  }
  if (modelListConnectionPromise?.launchKey === launchKey) {
    return modelListConnectionPromise.promise;
  }

  const pending = {

plugins/provider-codex/src/bridge/bridge.ts:1635

async function handleModelList(
  id: string | number,
  params: z.infer<typeof modelListParamsSchema>,
): Promise<void> {
  let connection: CodexAppServerConnection | null = null;
  try {
    connection = await getModelListConnection(params.envVars);
    const result = await connection.request({
      method: "model/list",
      params: {},
      resultSchema: ignoredChildResultSchema,
      timeoutMs: CHILD_REQUEST_TIMEOUT_MS,
    });
    const { models, selectedOnlyModels } = parseModelCatalog(result);
    const configuredModel = await connection

The server picker reads its own catalog store

The picker resolves the server catalog store; refreshing that store issues provider.list_models and commits the response. The session-only catalog does not enter this path. Thus server TTL expiration cannot by itself resolve divergence inside the persistent discovery process.

apps/server/src/services/system/execution-options.ts:568

    cwd: string | null;
    hostId: string;
    provider: ProviderInfo;
    access: ProviderModelCatalogAccess;
  },
): Promise<ModelListResult> {
  if (!args.provider.available) {
    return unavailableProviderModelResult(args.provider.id);
  }
  const result = await deps.lifecycleDedupers.providerModelCatalogs.read(
    deps,
    args,
  );
  if (result.kind === "catalog") {
    return {
      models: result.models,
      selectedOnlyModels: result.selectedOnlyModels,
      modelLoadError: null,
    };

apps/server/src/services/providers/provider-model-catalog-store.ts:506

    entry.refresh = refresh;
    refresh.promise = callHostOnlineRpc(deps, {
      hostId,
      timeoutMs: COMMAND_TIMEOUT_MS,
      command: {
        type: "provider.list_models",
        providerId,
        ...(scopeKey === "" ? {} : { cwd: scopeKey }),
        bridgeLaunch: launch.bridgeLaunch,
        contributedEnv: launch.contributedEnv,
      },
    }).then(
      (result) =>
        settle(deps, entry, refresh, {
          ok: true,
          models: result.models,
          selectedOnlyModels: result.selectedOnlyModels,
        }),
      (error: unknown) => settle(deps, entry, refresh, { ok: false, error }),
    );

apps/server/src/services/providers/provider-model-catalog-store.ts:436

    if (settlement.ok) {
      entry.good = {
        fingerprint: refresh.fingerprint,
        models: settlement.models,
        selectedOnlyModels: settlement.selectedOnlyModels,
        modelsJson: JSON.stringify(settlement.models),
        selectedOnlyModelsJson: JSON.stringify(settlement.selectedOnlyModels),
        fetchedAt: refresh.markedStale ? 0 : now,
      };
      entry.failure = null;
      entry.unavailableDetail = null;
      persistGood(deps, entry.key, entry.good);

The deterministic process snapshot

These trusted fixture lines establish how the reproduction represents a provider catalog that changes between launches:

plugins/provider-codex/src/bridge/fake-codex-app-server.mjs:208

const scriptPath = scriptPathFromArgs(process.argv.slice(2));
const script = scriptPath ? JSON.parse(readFileSync(scriptPath, "utf8")) : null;
const scriptedTurns = script?.turns ?? null;
const requestLogPath = script?.requestLogPath ?? null;
const responseLogPath = script?.responseLogPath ?? null;

plugins/provider-codex/src/bridge/fake-codex-app-server.mjs:439

    case "model/list":
      if (shouldFailThisModelList()) {
        respond(id, { data: [] });
        return;
      }
      if (script?.modelList) {
        setTimeout(
          () => respond(id, script.modelList),
          script.modelListDelayMs ?? 0,
        );
        return;

6. Proposed fix and simple-fix gate

Route validated session catalogs to the same host/provider/route-scoped server catalog store used by discovery, retaining model metadata and reasoning options and reusing the existing picker-change notification after storage. Preserve route and account isolation, and do not let stale in-flight discovery replace a newer session catalog. Also give the dedicated discovery process an explicit freshness policy so manual refresh is not indefinitely tied to one process snapshot.

No pull request: the complete repair crosses the provider bridge/runtime and server catalog subsystem boundary. Existing bridge notifications do not include a catalog-update event, so choosing a publication path requires shared-contract or cross-subsystem work and fails the one-existing-subsystem/no-public-protocol simple-fix constraints. Merely restarting discovery would not deliver a session catalog to the picker immediately. No partial production fix, branch, or push was made.

packages/provider-bridge-protocol/src/notifications.ts:4

export const BRIDGE_NOTIFICATION_METHODS = {
  threadIdentity: "thread/identity",
  sessionReplaced: "session/replaced",
  providerRaw: "provider/raw",
  providerRecovery: "provider/recovery",
  error: "error",
} as const;

The local diagnostic patch changes one test file, 85 additions plus 2 deletions (87 text lines); no binary, generated, lockfile, migration, dependency, or production change is present. That small test does not make the full repair eligible. git diff --check passes. No linked open pull request appeared in issue cross-reference metadata or the open-PR search for issue 6453.

7. Verification

The same agent created a second clean detached checkout from the recorded trusted commit, installed the frozen dependencies, built the SDK and the full repository, and added only the same locally authored test patch. It used a different new temporary fixture/workspace and no ports or persistent BB data. The exact test command from section 4 again failed only the new catalog regression; all 16 pre-existing selected tests passed. This is a repeat verification by the same agent, not independent verification. No correction to the root-cause finding was required.

Second full build: 72 successful, 72 total. Both test runs: 1 failed | 16 passed, failing at the final returned-model list assertion after the fresh-session capability witness passes.

8. Related issues and limits

No additional issue was investigated. This report does not verify an external model rollout, provider installation upgrade, Windows-specific behavior, or a visual picker interaction. It reproduces the real bridge API and session lifecycle that supply the picker and traces the remaining server read path in trusted source.

Issue text and comments were treated only as untrusted claims. No issue-supplied command, test, script, branch, or external URL was executed or fetched. All reproduction code was authored from the trusted main-branch implementation and its existing fake-process harness.

9. Appendix

First run — actual failure

bb-plugin-provider-codex:test:  FAIL  |bb-plugin-provider-codex| src/bridge/bridge.model-list.test.ts > returns the current catalog after a fresh session discovers additional models
bb-plugin-provider-codex:test: AssertionError: expected [ 'catalog-base' ] to deeply equal [ 'catalog-base', 'catalog-added' ]
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: - Expected
bb-plugin-provider-codex:test: + Received
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:   [
bb-plugin-provider-codex:test:     "catalog-base",
bb-plugin-provider-codex:test: -   "catalog-added",
bb-plugin-provider-codex:test:   ]
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  ❯ src/bridge/bridge.model-list.test.ts:113:54
bb-plugin-provider-codex:test:     111|     .object({ models: z.array(z.object({ model: z.string() }).passthro…
bb-plugin-provider-codex:test:     112|     .parse(refreshed.result);
bb-plugin-provider-codex:test:     113|   expect(catalog.models.map((model) => model.model)).toEqual([
bb-plugin-provider-codex:test:        |                                                      ^
bb-plugin-provider-codex:test:     114|     "catalog-base",
bb-plugin-provider-codex:test:     115|     "catalog-added",
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  Test Files  1 failed | 1 passed (2)
bb-plugin-provider-codex:test:       Tests  1 failed | 16 passed (17)
bb-plugin-provider-codex:test:    Start at  17:36:20
bb-plugin-provider-codex:test:    Duration  1.65s (transform 838ms, setup 0ms, import 1.64s, tests 1.04s, environment 0ms)
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  ELIFECYCLE  Test failed. See above for more details.
bb-plugin-provider-codex#test:  ERROR  command (<checkout-1>/plugins/provider-codex) /usr/local/bin/pnpm run test src/bridge/bridge.model-list.test.ts src/bridge/bridge.daybreak.test.ts exited (1)

 Tasks:    6 successful, 7 total
Cached:    0 cached, 7 total
  Time:    4.833s 
Failed:    bb-plugin-provider-codex#test

 ERROR  run failed: command  exited (1)

Second clean run — actual failure

bb-plugin-provider-codex:test:  FAIL  |bb-plugin-provider-codex| src/bridge/bridge.model-list.test.ts > returns the current catalog after a fresh session discovers additional models
bb-plugin-provider-codex:test: AssertionError: expected [ 'catalog-base' ] to deeply equal [ 'catalog-base', 'catalog-added' ]
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: - Expected
bb-plugin-provider-codex:test: + Received
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:   [
bb-plugin-provider-codex:test:     "catalog-base",
bb-plugin-provider-codex:test: -   "catalog-added",
bb-plugin-provider-codex:test:   ]
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  ❯ src/bridge/bridge.model-list.test.ts:113:54
bb-plugin-provider-codex:test:     111|     .object({ models: z.array(z.object({ model: z.string() }).passthro…
bb-plugin-provider-codex:test:     112|     .parse(refreshed.result);
bb-plugin-provider-codex:test:     113|   expect(catalog.models.map((model) => model.model)).toEqual([
bb-plugin-provider-codex:test:        |                                                      ^
bb-plugin-provider-codex:test:     114|     "catalog-base",
bb-plugin-provider-codex:test:     115|     "catalog-added",
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  Test Files  1 failed | 1 passed (2)
bb-plugin-provider-codex:test:       Tests  1 failed | 16 passed (17)
bb-plugin-provider-codex:test:    Start at  17:37:26
bb-plugin-provider-codex:test:    Duration  1.61s (transform 858ms, setup 0ms, import 1.66s, tests 966ms, environment 0ms)
bb-plugin-provider-codex:test: 
bb-plugin-provider-codex:test:  ELIFECYCLE  Test failed. See above for more details.
bb-plugin-provider-codex#test:  ERROR  command (<checkout-2>/plugins/provider-codex) /usr/local/bin/pnpm run test src/bridge/bridge.model-list.test.ts src/bridge/bridge.daybreak.test.ts exited (1)

 Tasks:    6 successful, 7 total
Cached:    5 cached, 7 total
  Time:    3.128s 
Failed:    bb-plugin-provider-codex#test

 ERROR  run failed: command  exited (1)

Build and evidence preparation used only frozen installation, the SDK-first Turbo build commands shown above, the stated test command, detached Git worktree creation at the pinned commit, read-only GitHub issue/property/label/PR queries, git diff --numstat, git diff --check, and trusted-base source inspection. Raw logs and the diagnostic patch remain outside this public repository; the complete executable regression and its exact failure are embedded above.