Skip to content

OPE-52: Subagent task tool card #566

Closed

Description

@ivanfenenko

Parent

OPE-46 — Assistant Tool Parts

What to build

In Session Chat, task ToolParts show as specialized collapsed cards (agent + description, optional background marker, shared status chrome). When a child session id is present, tap pushes that child session's Session Chat; back returns to the parent. Missing id stays readable and non-tappable.

Product language: child session. "Subagent" is informal only.

Agreed shape (grilling):

  • Title = agent name (fallback Task); subtitle = description; append (background) when metadata.background is truthy.
  • Status via existing pending/running/completed/error Tool Call Card variants; error text in the error slot.
  • No expand, sheet, agent color, chevron, or Tool Call Card API change.
  • Feature-local opaque-map mapping (OPE-48 stands): title input.agent → input.name → metadata.agent → Task; subtitle input.description → input.prompt → running ToolPart.title → omit; nav = non-empty metadata.sessionId.
  • Timeline ToolCard optional childSessionId: non-null → push child Session Chat; null → display-only.
  • Stale child at load uses normal Session Chat errors (no preflight). No task grouping. No home-list / special child chrome. Parallel with OPE-51.

Acceptance criteria

  • task cards show agent title (or Task) and description subtitle; (background) when marked.
  • Pending/running/completed/error use shared Tool Call Card status chrome; errors use the error slot.
  • Non-empty metadata.sessionId makes the card tappable and pushes child Session Chat.
  • Missing session id still shows a readable non-tappable card (no dead navigation).
  • No expand/sheet, no agent color, no task grouping.
  • Mapping is feature-local on iOS and Android with unit tests for chrome + nav target; parity checked.

Blocked by

None — can start immediately (OPE-49 is Done).

Docs: docs/features/assistant-tool-parts/


Imported from Linear OPE-52. Linear status: Done. Priority: High. Created 2026-07-15. Completed 2026-07-15.
Parent: OPE-46.
Related: OPE-170, OPE-158, OPE-51.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    on Oct 11, 2026
  3. added
    ios
    android
    shared
    priority: high
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidenhancementiospriority: highready-for-agentshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions