Skip to content

backends: the prompt-prefix digest omits the host-assembled brain read definitions #4417

Open

Description

@schlessera

Part of #4278. Deferred from the first review of PR #4394 (#4325).

Context

reportPromptPrefix (packages/ui-backend-claude/src/sdk-options.ts:590, :740-749) digests only the brain-ui tool list. A schema edit to one of the six host-assembled brain definitions therefore leaves the prompt-cache diagnostic unchanged.

Scope

Include the bridged definitions in the tools digest, for bridged sessions only.

Acceptance criteria

  • A test shows that changing a bridged definition changes the reported digest.
  • The digest for non-bridged and existing sessions is unchanged.

Activity

  1. added
    type: fix
    area: backends
    priority: p3
    agent-ready
    on Nov 21, 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

    agent-readyarea: backendspriority: p3type: fix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions