Skip to content

ui-server: give live conversations proactive lookup guidance and a bounded content map #3630

Closed

Description

@schlessera

Out of scope

No private instance/session content, credentials, deployment details, paid model calls, permissions expansion, repository-config execution, full system-prompt copying or startup host tasks. No claim that a prompt or serialization test establishes audible/model judgment. Preserve ordinary capture policy, unknown-recognition clarification and screen approvals.

Context

Delivered #3623 supplies the common brain brief and exact-task progress feedback, but the live instructions still encourage unnecessary hesitation and repetitive speech. liveInstructions, packages/ui-server/src/voice/conversation-guidance.ts:19-25, presents clarification and host retrieval as interchangeable for missing repository knowledge, and its acknowledgement example explicitly repeats “we can keep talking.” Normal host exploration should resolve discoverable filenames, taxonomy and record locations without asking the user to supply them.

readConversationOrientation, packages/ui-server/src/voice/conversation-orientation.ts:93-139, currently supplies module names and short identity/focus leads only. It has no observed map of the content the model helps manage. The ordinary contract describes per-directory _index.md purpose/registry navigation (packages/core/CONTRACT.md:87-105), but that useful navigation model is absent from live guidance. The knowledge topic union also has no structural-map category (packages/ui-sdk/src/server/conversation.ts:180-183).

Part of #54; follows delivered #3623 and accompanies the separate recognition-review correction #3629. These are source-level gaps; private-session observations, when available, are separate evidence.

Scope

  • Tell both live providers to delegate ordinary retrieval and repository discovery without asking users for filenames/locations or whether to perform an already requested lookup. Host work can inspect configured taxonomy, search/list, and directory indexes. Clarify genuinely ambiguous meaning or sensitive/effectful intent, not routine discoverable knowledge. Current reliable results still answer follow-ups without duplicate work.
  • Give one brief spoken acknowledgement when exact host acceptance arrives, naming the task. Do not repeatedly remind the caller that conversation can continue, or repeat the queued acknowledgement on running updates. Continue listening naturally; retain truthful queued/running/completed distinctions.
  • Add a bounded, explicitly partial observed content map from existing content directory indexes after disclosed Start, labeled as knowledge data. Directory purposes/paths can guide discovery; they are not runtime taxonomy or authority. Use the existing held-root policy/read boundary, never execute TS config/imports or create a new execution seam. Missing structure directs host discovery, not invented paths or user homework.
  • Preserve existing ceilings and complete-policy omission. Update additive SDK/API contracts, source mapping, disclosure and changeset where required.

Acceptance criteria

  • Both actual adapter startup frames contain proactive repository-discovery guidance, the per-task brief acknowledgement rule, and any supplied structural map, without the repetitive conversational reminder example.
  • Fresh fictional brains with directory indexes yield useful path/purpose leads even with a TypeScript config present; the config is never evaluated and the map is explicitly partial/observed.
  • All enumeration/reads are bounded and anchored to the same held root as policy. Root substitution, restrictive/invalid governance, escaped/symlinked sources and authorization loss cannot disclose the new map.
  • Byte/count pressure, malformed/missing/oversized sources and omitted map entries are explicit; selected policy sections remain whole. No pre-Start source read or prior-prefix mutation is introduced.
  • Accepted progress remains task-bound, nonduplicated and honest about backend entry and successful writes; normal capture/screen-approval guards remain.

Verification

Use meaningful keyless startup/provider/host/orientation regressions and provider-history guards. Include failing-first or mutation receipts for observed-map projection and retained confidentiality/bounds. Inspect all instances of each bug class, restore mutations and pass. Run committed preflight and required exact-candidate hosted proof before merge. Real-model obedience remains separately qualified by #3131/#961; private transcripts must never become public fixtures.

Contract impact

An additive structural knowledge topic may require a CONTRACT-prefixed commit, API report/index updates and minor SDK/server changeset. No breaking change or new extension interface is intended. Existing release commitment is 0.45.0.

Activity

  1. added this to the 0.45.0 milestone on Nov 5, 2026
  2. added
    type: feat
    area: ui-sdk
    area: ui-server
    contract
    on Nov 5, 2026
  3. self-assigned this
    on Nov 5, 2026
  4. schlessera commented on Nov 5, 2026

    @schlessera
    OwnerAuthor

    Claimed for the source-level live guidance/content-map follow-up. Claim live-followups-20261105-root, integration branch fix/live-conversation-followups-20261105. The collision report binds graph to delivered main 33eff275315a94156bfd6122b35cc75e549cac04: no direct path collisions; affected-proof closure overlaps include #3054, #3056, #3059, #3069, #3116, #3336, #3393, #3437, #3458, #3464, #3581, #3587, #3590, #3594, #3621 and #3622, with no unknown class. This is detection, not ownership of other branches or combined proof.

    GPT-6.1 Sol max implements in an isolated checkout; independent GPT-6 Astra max reviews the integrated result together with #3629. Preserve disclosed Start, held-root policy binding, source/serialization bounds, whole-policy omission and append-only provider history. Private session inspection is separate; no private content will enter this issue or fixtures.

  5. schlessera commented on Nov 5, 2026

    @schlessera
    OwnerAuthor

    Merged in #3631 as 4ff63be8581dcfd72ed7ef3220347409a912a542, committed to 0.45.0.

    Both live providers receive proactive host-discovery guidance, one brief acknowledgement per accepted task and a disclosed, bounded, explicitly partial observed content map. The host retains taxonomy, retrieval, capture policy and effects; existing policy, root-identity, disclosure and byte bounds remain.

    Independent GPT-6 Astra max review approved. Candidate proof and automatic main proof passed; all 17 main jobs freshly executed at the exact squash. Actual checkout logs, squash parent/tree and main ancestry were verified. Actual-model/acoustic qualification remains #3131/#961.

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

Metadata

Metadata

Assignees

Labels

area: ui-sdkarea: ui-servercontracttype: feat

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions