Files
deepseek-harness/apps/web/tests/snapshots/cordis-tool-round/ui.expected.md
T
creatixchu 84a6bae1c7 fix(web): drop the branch action from user and steering bubbles
The branch control on user and consumed-steering bubbles could enable
only when a completed turn ended with no node after the message at all,
so readers saw a permanently unavailable control whose tooltip promised
a state it could not reach. An enabled one would mislead anyway: a fork
at a message seq cuts at the containing turn/end and takes the answer
along, the opposite of the branch-to-re-ask reading a control on one's
own bubble suggests.

MessageItem loses its fork props, PendingSteeringBubble loses the
showBranch special case, and messageBranchSeqs narrows to
assistantBranchSeqs: only a completed turn's transcript tail that is
the turn's own content-text assistant may fork. A steered turn keeps
its fork point under the settled answer, because fork is a log-prefix
cut and the steer is model-visible history the child inherits.

Web aria goldens drop the user-bubble disabled-branch row and its
hidden explanation text; the nested-subagent golden also loses the one
enabled user-tail fork handle, a loss the decision note accepts.
2026-08-06 17:46:18 +08:00

2.5 KiB

  • banner:
    • navigation "Session hierarchy":
      • button "Use only Cordis tools. First" [disabled]
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
  • text: "Use only Cordis tools. First call cordis_inspect with what "temporary". Then call cordis_mount with this exact code: "return { name: \"snapshot-noop\", apply(ctx) {} }". Read its returned id and call cordis_unmount with that exact id. After all three calls succeed, reply exactly CORDIS_UI_DONE and stop. {{clock}}"
  • button "Copy":
    • img
  • button "Context injection @deepseek-ai/dsh-system-prompt":
    • img
    • img
    • text: Context injection @deepseek-ai/dsh-system-prompt
  • button "Think The user wants me to:":
    • img
    • img
    • text: "Think The user wants me to:"
  • button "Inspect temporary":
    • img
    • img
    • text: Inspect temporary
  • 'button "Think Good, no temporary plugins running. Now step 2: call cordis_mount with the exact code."':
    • img
    • img
    • text: "Think Good, no temporary plugins running. Now step 2: call cordis_mount with the exact code."
  • 'button "Mount temporary Plugin return { name: "snapshot-noop", apply(ctx) {} }" [expanded]':
    • img
    • text: "Mount temporary Plugin return { name: "snapshot-noop", apply(ctx) {} }"
  • text: typescript
  • button "Copy"
  • code: "return { name: "snapshot-noop", apply(ctx) {} }"
  • text: OUT Temporary Plugin dyn-1 is running (plugin "snapshot-noop"; available until unmounted or DSH restarts).
  • button "Inspect"
  • 'button "Think The id is "dyn-1". Now step 3: call cordis_unmount with that id."':
    • img
    • img
    • text: "Think The id is "dyn-1". Now step 3: call cordis_unmount with that id."
  • button "Unmount temporary Plugin dyn-1":
    • img
    • img
    • text: Unmount temporary Plugin dyn-1
  • button "Think All three calls succeeded. I should now reply exactly "CORDIS_UI_DONE" and stop.":
    • img
    • img
    • text: Think All three calls succeeded. I should now reply exactly "CORDIS_UI_DONE" and stop.
  • paragraph: CORDIS_UI_DONE
  • button "Copy":
    • img
  • button "Branch into a new conversation":
    • img
  • text: {{clock}} Ran for {{duration}} TTFT {{duration}} {{throughput}} tok/s
  • textbox "Message the agent"
  • button "Commands":
    • img
  • 'button "Access mode, current: Workspace Write"': Workspace Write
  • button "Select model, current DeepSeek-V4-Flash":
    • text: DeepSeek-V4-Flash
    • img
  • button "13% of context used"
  • button "Send message" [disabled]
  • text: 1 turns · 4 steps LLM {{duration}} · Tool call {{duration}} TTFT avg {{duration}} · {{throughput}} tok/s Cache hit 77% Input 66.5K tok · Output 312 tok