Skip to content

ui-server: hosted cron maintenance sends Gemini requests with an invalid key since 0.44.0 #3363

Closed

Description

@schlessera

Out of scope

No relay-policy relaxation, credential forwarding, key rotation, new provider interface, or change to the independent maintenance git-step and failure-reporting issues (#3357/#3364). No package fix is presumed for an installation outside the package's declared peer range.

Context and diagnosis — 2026-11-04

The reported API_KEY_INVALID failure is explained by an unsupported optional provider SDK. The published @schlessera/brain 0.44.0 declares @google/genai ^2.24.0, but @google/genai 2.10.0 ignores the httpOptions.fetch hook that the Gemini embedding and completion providers use for relayed requests.

Source boundaries: peerDependencies (packages/core/package.json:107-109); getClient (packages/core/src/providers/embeddings/gemini.ts:67-90); providerRelayFetch (packages/common/src/provider-relay.ts:69-86). The provider deliberately gives the SDK the nonsecret brain-provider-relay-placeholder while the host relay owns the real key. Ignoring the fetch hook instead sends that placeholder through the ordinary provider transport, which explains invalid-key errors with no matching relay receipts.

The earlier operator handoff is now satisfied: the failing maintenance windows had no Gemini relay receipts, and the cron/server key values were equal byte for byte. No key value, fingerprint, installation identifier or private tracker reference is recorded here. Historical source-only fixtures passed against the supported workspace dependency; they did not exercise the incompatible SDK.

Reproduction evidence

A keyless probe against the actual installed @google/genai 2.10.0 constructed GoogleGenAI with apiKey: "brain-provider-relay-placeholder" and httpOptions: { fetch: relay }, then invoked models.embedContent and models.generateContent. The probe replaced global fetch with a local synthetic Response producer before either invocation. It made no network/provider request and used only fictional Odysseus input.

Observed: relayCalls=0, directCalls=2; both intercepted ordinary requests carried the placeholder as x-goog-api-key. The operations were batchEmbedContents and generateContent. The SDK source uses global fetch and does not consume the supplied hook. This reproduces the dependency incompatibility; it is not evidence that the configured real key is invalid. The supported dependency correction is now installed and qualified; see the completion receipt below.

Scope and remaining completion

The diagnostic deliverable is complete. Correct the consumer's dependency constraint and lockfile to satisfy the released core peer requirement, then verify its own importer's installed SDK and the admitted maintenance path. That installation correction does not require a new brain-kit release. Keep this issue open solely for sanitized supported-installation verification; no unspecified engine implementation is agent-ready.

Acceptance criteria

  • Explain the failing request path with a keyless causal reproduction and distinguish it from a wrong host key.
  • Establish whether the failing requests reached the relay and whether cron/server key values differed, without publishing secrets.
  • After correcting the consumer dependencies, verify the actual provider importer's SDK satisfies the released peer range and honors the relay fetch for embeddings and chunk-context completions.
  • Record a bounded/scheduled maintenance result with no invalid-placeholder authentication errors and matching Gemini relay receipts. Report any independent maintenance failure separately.

Verification

Retain the keyless old-SDK control and compare with the corrected resolved SDK, intercepting ordinary network transport in both. Record versions and relay/direct counts. For the admitted maintenance check, correlate its time window with relay receipt operation/status/outcome counts. Do not claim successful supported-version operation from the incompatible-SDK probe alone.

Contract impact

None. The correction conforms to the already published optional peer requirement; CLI/MCP/wire/environment relay contracts are unchanged.

Reconciliation 2026-11-04: replaces the earlier unresolved-cause brief using the completed operator checks and installed-SDK probe. Remove needs: repro and needs: human. Preserve p1 and milestone 0.45.0, keep agent-ready absent, and close only after the supported installation is verified. Earlier fixture/reproduction receipts remain in the dated comments.

Supported-installation verification — 2026-11-04

Supported installation verified: @schlessera/brain 0.44.0 with @google/genai 2.24.0, satisfying the declared ^2.24.0 peer range. Both actual embedding and completion importers resolve that supported SDK. Keyless intercepted controls: relay-hook calls 2, ordinary transport calls 0; retained 2.10.0 control: relay-hook calls 0, intercepted ordinary calls 2. No network in either control.

One admitted maintenance invocation completed indexing with 549 embeddings and no API_KEY_INVALID or deferred-context failure. Matching Gemini relay receipts: completions 548, embeddings 13; every receipt has HTTP status 200 and outcome completed, with no outstanding dispatched requests.

Overall maintenance exit status was 2 due to the independent git packing failure. That remains separate from the now-verified provider dependency correction. No new engine release or relay-policy change was required.

Activity

  1. added this to the 0.45.0 milestone on Nov 2, 2026
  2. added
    type: fixSomething is broken and must behave the way it is documented.
    area: corepackages/core: the brain CLI, indexer, hybrid search, config, taxonomy, skills.
    area: ui-sdkWire protocol, runtime schemas, the server and client SDK surfaces.
    area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.
    priority: p1Scheduled into the current or next milestone.
    needs: reproBlocked on a reproduction.
    on Nov 2, 2026
  3. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Triage (2026-11-02, source at 3984040f1): needs: repro.

    The report is evidence that the hosted path misbehaves. It does not yet reproduce the failure or name its cause. The body traces the relayed path and lists unconfirmed candidates.

    What was tried in this triage. I read the source only. I did not run the existing packages/ui-server/tests/maintenance-provider-relay.test.ts or a new fixture: this triage checkout has no installed dependencies, and the native proof image is absent here. That test already proves brain search relays correctly in a maintenance worker. It does not exercise the cron host, brain maintain or chunk-context completions.

    What completes the repro. Either is enough:

    1. Agent, keyless: the cron-path fixture in Scope step 1. If it fails on main, record the failing assertion here, remove needs: repro and add agent-ready. If it passes, record the run and how it differs from the hosted run.

    2. Operator, on the affected install (sanitized result posted here): look at the relay's metered receipts for one failing maintain run.

      • Gemini receipts with an upstream 400 mean the requests went through the relay with a wrong host-side value, so compare the cron run's GEMINI_API_KEY with the server's, byte for byte (quoting, whitespace).
      • No Gemini receipts mean the worker bypassed the relay, so record whether its environment had BRAIN_PROVIDER_RELAY_SOCKET and BRAIN_WITHHELD_KEYS.

      Post only which case applied, never a key or host detail.

    There is no dependency on #3357 or #3364.

  4. self-assigned this
    on Nov 2, 2026
  5. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Claiming (token wi-3363-b5dd) to build the keyless cron-path reproduction from the triage comment. Branch: test/3363-cron-gemini-key-repro. Collision check: path overlap only with #3335 on packages/ui-server/src/brain/host-boundary.ts (I expect to add a test, not edit it); the rest are closure-only reports. Scope stays off #3357 and #3364.

  6. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Keyless cron-path reproduction (2026-11-02): the engine path is correct on main at 3984040f1. needs: repro stays.

    PR #3378 adds packages/ui-server/tests/cron-maintain-provider-relay.test.ts. It covers Scope step 1:

    • the real brain-ui-cron run maintain -- … maintain host execution, with a native-storage fixture;
    • a credentialed maintenance worker under real bubblewrap;
    • the real brain maintain, indexing a multi-chunk note (generated chunk contexts) and a single-chunk note;
    • a loopback fictional Gemini endpoint listed in BRAIN_UI_CLI_PROVIDER_ORIGINS. It records each request's x-goog-api-key and answers any other key with Google's API_KEY_INVALID 400.

    The relay's provider_relay_usage receipts in the run's UI database show what went through the relay.

    What it shows:

    1. Host key in the cron environment. Every embeddings and generateContent (chunk-context) request reaches the provider with the host key. There is exactly one completed relay receipt per request, so nothing goes around the relay.
    2. The worker. It holds no GEMINI_API_KEY. It has BRAIN_WITHHELD_KEYS=GEMINI_API_KEY and the relay socket, and the brain's .env (holding another fixture key) is masked.
    3. A cron key value that differs from the provider's (here a quoted value). The run prints exactly the reported lines: SKIP embed batch: {"error":{"code":400,… "API_KEY_INVALID" … and N chunk context(s) failed — deferred to the next --embeddings run. Those requests still go through the relay, with one Gemini receipt per request carrying the upstream's 400.
    4. No key in the cron environment. The provider is never contacted.

    Failing-first and mutation evidence.

    • Skipping the boundary's removal of relayed keys turns three cases red: CRON_MAINTAIN_EVERY_REQUEST_RELAYED, CRON_MAINTAIN_WORKER_KEYLESS and CRON_MAINTAIN_WRONG_VALUE_METERED (expected 4 receipts, received 0). With that mutation the wrong value bypasses the relay, which is the triage's other branch.
    • Chunk-context completions that skip providerRelayFetch turn CRON_MAINTAIN_NO_PROVIDER_FAILURE red.
    • Neither candidate "a maintain sub-path reads a key the boundary did not remove" nor "a request path that does not use providerRelayFetch" reproduces on main.

    Differences from the hosted run that this fixture cannot cover:

    • The provider origin here is an operator-listed loopback origin, not the default first-party origin.
    • The brain CLI runs from this tree's source, not an installed build.
    • The cron environment is passed directly, not through the emitted environment file.

    Conclusion. The remaining cause must be the host supplying the run a GEMINI_API_KEY value that the provider rejects.

    Next action (operator, unchanged from triage): for one failing maintain run, look at the relay's metered receipts.

    • Gemini receipts with an upstream 400 confirm a wrong host-side value. Then compare the cron run's GEMINI_API_KEY with the server's byte for byte (quoting, whitespace).
    • No Gemini receipts mean the worker bypassed the relay. Then record whether its environment had BRAIN_PROVIDER_RELAY_SOCKET and BRAIN_WITHHELD_KEYS.

    Post only which case applied, never a key or host detail.

  7. removed their assignment
    on Nov 2, 2026
  8. added
    needs: humanWaiting on an action only a human can perform. State the required action in the issue.
    on Nov 3, 2026
  9. schlessera commented on Nov 4, 2026

    @schlessera
    OwnerAuthor

    Reproduction snapshot — 2026-11-04: inconclusive; retain needs: repro and needs: human.

    Inspected clean origin/main / HEAD 53b862123d7b8e4c9d039859fabdc9fc6ad4cd36 (fetched before investigation). I read the full issue and all three comments, checked the native parent endpoint (404, explicitly “No parent issue found”), and inspected #1673/#2743, #3378, #3357, #3364 and #3246. #3378 is now merged, squash 78cd31ee9f67f0e54631de9f3f2e67cb0e0e033e; its fixture is present in this snapshot. The issue remains standalone; no relationship or assignment changes.

    Environment. Ubuntu 26.04.1 LTS, Linux 7.0.0-42-generic x86_64; Bun 1.4.4 (38afee6c8), bubblewrap 0.11.1, installed @google/genai 2.24.0 from the frozen lockfile, Python 3.14.4, Linux-PAM 1.7.0-5ubuntu3.2; rootless Docker 29.1.3. Runtime fixture commands used --network none, the repository's offline preload, real bubblewrap, and only fictional Odysseus keys/content. Docker base image ID sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27, with the host's /usr and actual Bun executable mounted read-only. No live provider requests or credentials were used. bun.lock SHA-256: ecf6986227406c1fd9d835ae3c119d561e012df5a1bedcae599907332fc20a3e.

    Expected versus observed. With a valid fictional host key, every embedding and chunk-context request should carry that key, have one settled relay receipt, and leave the worker keyless. That is what happened:

    • Unmodified cron-maintain-provider-relay.test.ts, maintenance-provider-relay.test.ts and cron-emit.test.ts: 36 pass / 0 fail, 110 assertions, exit 0. This includes the real cron-host → maintenance-worker → brain maintain path and the CRON_MAINTAIN_NO_PROVIDER_FAILURE, CRON_MAINTAIN_HOST_KEY_AT_PROVIDER, CRON_MAINTAIN_EVERY_REQUEST_RELAYED and CRON_MAINTAIN_WORKER_KEYLESS assertions.
    • Additional temporary copies of the cron fixture retained the default first-party logical origin, left both GEMINI_BASE_URL and GOOGLE_GEMINI_BASE_URL unset and removed the custom origin authorization, and redirected only the host's final Google transport to the loopback stub. Both source entry points and freshly built dist entry points passed: 8 pass / 0 fail, 40 assertions, exit 0. In each healthy maintain: 1 embeddings + 3 generateContent requests, all carrying the host key, and 4 settled receipts with family=gemini, origin=https://generativelanguage.googleapis.com, status=200, outcome=completed. The worker observation was exactly key:null, withheld:"GEMINI_API_KEY", socket:"/run/brain-providers/relay.sock", dotenv:"EACCES".
    • Separate runtime probe: real brain-ui-cron environment → temporary environment file → the installed pam_env module using a private PAM configuration. For source and built entry points, plain and space-padded fictional values were byte-identical after parsing (PAM_EMITTER_BYTE_IDENTICAL). A prequoted key was refused with exit 1, empty stdout, and cannot emit unsafe /etc/environment value for GEMINI_API_KEY. Thus the emitter did not introduce literal quotes around a plain key in these cases.
    • The existing intentionally wrong-key control still produces SKIP embed batch: … API_KEY_INVALID and N chunk context(s) failed — deferred to the next --embeddings run, with four settled Gemini receipts carrying upstream 400. This control supplies an invalid value directly; it bypasses the environment emitter and is not a reproduction of the reported regression or its cause. With no key, the fixtures observe zero provider contacts and zero receipts.

    Direct host execution could not create the user namespace (write failed /proc/self/uid_map: Operation not permitted). The first Docker attempt lacked permission for a fresh procfs (bwrap: Can't mount proc on /newroot/proc: Operation not permitted). Adding the documented container-only systempaths=unconfined option alongside seccomp=unconfined allowed the real worker tests to run. These were environment prerequisite failures, not issue reproductions. No product guard was removed or mutated.

    Source/citation check. The issue's trace is explicitly pinned to 3984040f1; I verified the named anchors there and located them at the inspected SHA. Current anchors include providerRelayFor (packages/ui-server/src/brain/host-boundary.ts:422-429), runCredential (packages/ui-server/src/brain/host-boundary.ts:435-436), if (relay) (same file:447-451), const turnProfile (packages/ui-sdk/src/server/worker-launcher.ts:693-695), else if (maintenance?.providerRelay) (same file:713), providerRelayFetch (packages/common/src/provider-relay.ts:69-87), and const secret = credential(key)?.trim() (packages/ui-sdk/src/server/provider-relay.ts:402-403). The Gemini embedding/completion relay choices remain at packages/core/src/providers/embeddings/gemini.ts:70-90 and packages/core/src/providers/completions/gemini.ts:66-67. Line movement does not reveal a bypass. The emitter's quoted output is intentional PAM input; its unsafe-character refusal is at emitEnvironment, packages/ui-server/src/cron/emit.ts:314-338.

    Repeatable commands and temporary probes. From the inspected checkout, save the three snippets below into one fresh directory outside authored source. These derive extra cases from the checked-in fixture instead of changing it. The PAM probe checks only the named fixture value; it does not authenticate, read account credentials, or modify the system PAM configuration.

    repo=$PWD
    repro_dir=$(mktemp -d)
    # Save pam-read.py, emitter-probe.ts and make-first-party.py below into "$repro_dir".
    bun install --frozen-lockfile
    bun run build --for core,ui-server
    bun --preload ./scripts/test-network-child-preload.ts "$repro_dir/emitter-probe.ts"
    python3 "$repro_dir/make-first-party.py" "$repro_dir"
    BUN_RUNTIME=$(bun -p process.execPath)
    docker run --rm --network none \
      --security-opt seccomp=unconfined --security-opt systempaths=unconfined \
      --mount type=bind,src=/usr,dst=/usr,readonly \
      --mount "type=bind,src=$BUN_RUNTIME,dst=/opt/bun,readonly" \
      --mount "type=bind,src=$repo,dst=$repo" \
      --mount "type=bind,src=$repro_dir,dst=$repro_dir" \
      --workdir "$repo" \
      -e PATH=/opt:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
      sha256:eff16c30e6f3f4af0a03fa4b706120d5e9b0891c344a27d64559aff5900a4a27 \
      /usr/bin/bash -euc '
        bun run test packages/ui-server/tests/cron-maintain-provider-relay.test.ts packages/ui-server/tests/maintenance-provider-relay.test.ts packages/ui-server/tests/cron-emit.test.ts
        bun run test "$1/cron-first-party-src.test.ts" "$1/cron-first-party-dist.test.ts"
      ' odysseus "$repro_dir"

    The image is a locally available diagnostic base, not a published project proof image. The command also requires the documented Linux user/PID/mount namespace and procfs permissions. The private PAM probe uses the upstream pam_start_confdir API and pam_env envfile option.

    pam-read.py
    import ctypes as C
    import json
    from pathlib import Path
    import sys
    import tempfile
    
    pam = C.CDLL('libpam.so.0')
    class Conversation(C.Structure):
        _fields_ = [('conv', C.c_void_p), ('appdata_ptr', C.c_void_p)]
    pam.pam_start_confdir.argtypes = [C.c_char_p, C.c_char_p, C.POINTER(Conversation), C.c_char_p, C.POINTER(C.c_void_p)]
    pam.pam_open_session.argtypes = [C.c_void_p, C.c_int]
    pam.pam_getenv.argtypes = [C.c_void_p, C.c_char_p]
    pam.pam_getenv.restype = C.c_char_p
    pam.pam_end.argtypes = [C.c_void_p, C.c_int]
    with tempfile.TemporaryDirectory(prefix='odysseus-pam-') as directory:
        envfile = Path(sys.argv[1]).resolve()
        Path(directory, 'odysseus').write_text(
            f'session required pam_env.so conffile=/dev/null envfile={envfile} readenv=1 user_readenv=0\n')
        handle, conversation = C.c_void_p(), Conversation()
        status = pam.pam_start_confdir(b'odysseus', b'odysseus', C.byref(conversation), directory.encode(), C.byref(handle))
        assert status == 0, ('pam_start_confdir', status)
        try:
            status = pam.pam_open_session(handle, 0)
            assert status == 0, ('pam_open_session', status)
            value = pam.pam_getenv(handle, b'GEMINI_API_KEY')
            print(json.dumps(None if value is None else value.decode()))
        finally:
            assert pam.pam_end(handle, status) == 0
    emitter-probe.ts
    import { strict as assert } from 'node:assert';
    import { join } from 'node:path';
    import { rmSync } from 'node:fs';
    const root = process.cwd();
    const key = 'odysseus-host-gemini-key';
    const file = join(import.meta.dir, 'environment');
    try {
      for (const mode of ['src', 'dist']) {
        const bin = join(root, `packages/ui-server/${mode}/bin/brain-ui-cron.${mode === 'src' ? 'ts' : 'js'}`);
        for (const input of [key, ` ${key} `, `"${key}"`]) {
          const child = Bun.spawn([process.execPath, '--config=/dev/null', '--no-env-file', bin, 'environment'], {
            cwd: '/', env: { PATH: '/usr/bin:/bin', GEMINI_API_KEY: input }, stdout: 'pipe', stderr: 'pipe' });
          const [code, stdout, stderr] = await Promise.all([child.exited, new Response(child.stdout).text(), new Response(child.stderr).text()]);
          if (input.startsWith('"')) {
            assert.equal(code, 1);
            assert.equal(stdout, '');
            assert.match(stderr, /cannot emit unsafe \/etc\/environment value for GEMINI_API_KEY/);
            console.log(`${mode}: prequoted key refused, no environment emitted`);
            continue;
          }
          assert.equal(code, 0, stderr);
          assert.equal(stdout, `PATH="/usr/bin:/bin"\nGEMINI_API_KEY="${input}"\n`);
          await Bun.write(file, stdout);
          const parser = Bun.spawn(['python3', join(import.meta.dir, 'pam-read.py'), file], { env: { PATH: process.env.PATH }, stdout: 'pipe', stderr: 'pipe' });
          const [parsedCode, parsed, errors] = await Promise.all([parser.exited, new Response(parser.stdout).text(), new Response(parser.stderr).text()]);
          assert.equal(parsedCode, 0, errors);
          assert.equal(JSON.parse(parsed), input, 'PAM_EMITTER_BYTE_IDENTICAL');
          console.log(`${mode}: ${input === key ? 'plain' : 'padded'} key byte-identical after CLI emission and pam_env`);
        }
      }
    } finally { rmSync(file, { force: true }); }
    make-first-party.py
    from pathlib import Path
    import json
    import sys
    
    root = Path.cwd()
    out = Path(sys.argv[1]).resolve()
    preload = out / 'first-party-preload.ts'
    preload.write_text(f'''import {json.dumps(str(root / 'packages/ui-server/tests/fixtures/cron-native-startup-preload.ts'))};
    const saved = globalThis.fetch;
    const forward = async (input, init) => {{
      const request = new Request(input, init), url = new URL(request.url);
      if (url.origin !== 'https://generativelanguage.googleapis.com') return saved(input, init);
      if (request.method !== 'POST' || !/^\\/v1beta\\/models\\/[^/]+:(?:batchEmbedContents|embedContent|generateContent)$/.test(url.pathname))
        throw Error('Unexpected fictional provider route');
      const target = new URL(url.pathname + url.search, process.env.ODYSSEUS_UPSTREAM);
      return saved(target, {{ method: request.method, headers: request.headers, body: new Uint8Array(await request.arrayBuffer()),
        redirect: 'manual', signal: request.signal }});
    }};
    globalThis.fetch = Object.assign(forward, saved);
    ''')
    original = (root / 'packages/ui-server/tests/cron-maintain-provider-relay.test.ts').read_text()
    for mode, ext in [('src', 'ts'), ('dist', 'js')]:
        text = original.replace('"../src/db/client.js"', json.dumps(str(root / 'packages/ui-server/src/db/client.ts')))
        text = text.replace('"./helpers/native-app-fixture.js"', json.dumps(str(root / 'packages/ui-server/tests/helpers/native-app-fixture.ts')))
        text = text.replace('resolve(import.meta.dir, "../../..")', 'process.cwd()')
        text = text.replace('resolve(import.meta.dir, "../src/bin/brain-ui-cron.ts")', json.dumps(str(root / f'packages/ui-server/{mode}/bin/brain-ui-cron.{ext}')))
        text = text.replace('resolve(import.meta.dir, "fixtures/cron-native-startup-preload.ts")', json.dumps(str(preload)))
        text = text.replace('packages/core/src/cli/brain.ts', f'packages/core/{mode}/cli/brain.{ext}')
        text = text.replace('"run", "--subprocess-env-extra", "GOOGLE_GEMINI_BASE_URL", job,', '"run", job,')
        text = text.replace('BRAIN_UI_CLI_PROVIDER_ORIGINS: `GEMINI_API_KEY=${upstream.url.origin}`, GOOGLE_GEMINI_BASE_URL: upstream.url.origin,', 'ODYSSEUS_UPSTREAM: upstream.url.origin,')
        text = text.replace('new Set([`gemini ${upstream.url.origin}`])', 'new Set(["gemini https://generativelanguage.googleapis.com"])')
        text = text.replace('return { exitCode, stdout, stderr, receipts };', '''console.log(JSON.stringify({ mode: MODE, exitCode, requests: seen.length,
          hostKeyOnly: seen.every(entry => entry.key === HOST_KEY), operations: operations(seen),
          settled: receipts.filter(receipt => receipt.outcome !== "dispatched") }));
        return { exitCode, stdout, stderr, receipts };''').replace('mode: MODE', f'mode: "{mode}"')
        (out / f'cron-first-party-{mode}.test.ts').write_text(text)

    Limits and next step. This tests real worker isolation and provider routing with a test storage broker/startup-view stand-in, not actual Btrfs qualification. The default-origin variant tests origin selection, key placement and metering while intercepting the final host transport; it does not exercise Google's DNS/TLS/service or actual key validity. Built entry points still use this checkout's Bun workspace dependencies, not the affected published 0.44.0 installation. Emission/PAM parsing is a separate probe, not a booted cron daemon or the affected host's actual environment file. None of this identifies why that host's request was rejected; “the host must supply a wrong key” remains an inference, not a demonstrated cause.

    The outstanding action remains the body's operator check: for one failing maintain run, post only whether matching Gemini relay receipts carry upstream 400. If yes, report whether the cron-run and server key values match byte-for-byte (a boolean, never values or fingerprints). If no matching receipts exist, report only whether the worker had BRAIN_PROVIDER_RELAY_SOCKET and BRAIN_WITHHELD_KEYS. Also distinguish the installed package/dependency versions from this snapshot. This evidence will select a concrete follow-up reproduction without exposing keys or installation details.

    Readiness: no defect conclusively reproduced, so needs: repro stays; the explicitly reserved operator check is still missing, so needs: human stays and agent-ready remains absent. Preserve type: fix, area: core, area: ui-sdk, area: ui-server, priority: p1 and milestone 0.45.0. Checkout remains clean at the inspected SHA; no authored files, commits, pushes, PRs, assignments or issue state changed by this research.

  10. removed
    needs: reproBlocked on a reproduction.
    needs: humanWaiting on an action only a human can perform. State the required action in the issue.
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corepackages/core: the brain CLI, indexer, hybrid search, config, taxonomy, skills.area: ui-sdkWire protocol, runtime schemas, the server and client SDK surfaces.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.priority: p1Scheduled into the current or next milestone.type: fixSomething is broken and must behave the way it is documented.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions