Skip to content

OPE-277: Per-turn diff and sub-sessions (v2) #551

Closed

Description

@ivanfenenko

On a v2 server, Changes should show what the latest turn changed, and creating a child session should keep the parent link.

v2 getSessionDiff still throws a synthetic 404, so Last turn is hidden and a tool-card changes tap does nothing. v2 has no session.diff event; refetch when the session goes idle. v2 createSession drops parentId.

Already in the apps: subagent and task rows, opening a child session, listChildSessions, and the child-lockout composer. Android lockout still keys off the navigation parent, not session.parentId.

Remaining:

  • v2 Last turn calls GET /api/session/{id}/diff (from, context 12), shows on Changes, refetches when the session goes idle, and the tool-card changes tap opens it
  • v2 createSession sends parentID and does not send location when a parent is set
  • Android child lockout follows session.parentId, not only the route parent

Related: #546

Activity

  1. added
    backlog
    priority: medium
    on Oct 11, 2026
  2. ivanfenenko commented on Oct 20, 2026

    @ivanfenenko
    CollaboratorAuthor

    Condensed to what is still undone. The 2026-10-09 research is in the previous body. Dropped the unscheduled ideas (child-session list, parent “subagent running” indicator, user-created sub-session). Reopen those as their own tickets if they are wanted.

  3. ivanfenenko commented on Oct 20, 2026

    @ivanfenenko
    CollaboratorAuthor

    Status check (2026-10-20, app main 7ad92e7, upstream v2.1.0):

    Scope here is unchanged. Related new issues: #751 (commit staged revert) and #752 (worktree create/remove).

  4. added a commit that references this issue on Oct 20, 2026
  5. removed
    backlog
    on Oct 20, 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

    priority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions