Skip to content

Agent sessions on an issue: progress, questions and completion in the thread #404

Closed as not planned

Description

@imshashank

When an agent works on an issue today, the only evidence is whatever it writes as comments and the PR that eventually appears. There is no way to see that an agent is working, that it is stuck waiting for a person, or that it gave up.

What to build

A session is the unit of an agent working an issue, and it is visible in the thread as its own kind of activity.

  • MCP tools: start_session(issue), post_progress(session, text), request_input(session, question), finish_session(session, outcome). All require an agent principal from Agents as a first class actor, assignable and attributed #215 and orbit.write.
  • A agent_session table: issue, agent, owner, state (working, waiting, finished, abandoned), started, last activity, outcome. Progress and questions are activity rows tied to the session rather than comments, so they render distinctly and can be collapsed.
  • Waiting for a person is the important state. A request_input notifies the owner and anyone assigned, shows in the inbox as something a human has to answer, and the answer (a comment or a property change) is what the agent polls or is told about.
  • The issue detail shows the active session at the top: who is working, since when, last progress line, and a "stop" for the owner.
  • A session that goes quiet is marked abandoned after a workspace-configured interval and the owner is told.

Rules

  • A session cannot change the issue by itself. Property changes still go through the normal tools and policy.
  • Two sessions on one issue is refused; the second agent is told who holds it.
  • Everything here fans out over realtime like any other activity.

Depends on

#215. Composes with #403 for the "assign and go" case and with #197 for filed-by-agent triage. Design comment first on the state machine and on what a human answer looks like to the agent.

Activity

  1. added
    enhancement
    needs design
    p1 high
    area: mcp
    area: ai
    size: large
    points: 8
    schema change
    blocked
    on Sep 6, 2026
  2. github-actions commented on Nov 6, 2026

    @github-actions

    This issue has had no activity for 60 days, so it is being marked stale.

    If it still matters, say so and it stays open. Adding what you have
    learned since filing it helps more than a bump on its own. Otherwise it
    will close in 14 days, and closing is not a judgement, it just keeps the
    list honest about what is actually being worked on. Reopening is always
    fine.

  3. added
    stale
    on Nov 6, 2026
  4. github-actions commented on Nov 20, 2026

    @github-actions

    Closing this after 60 days without activity and 14 days after it was
    marked stale. If you are still hitting this, comment and we will reopen
    it. No need to file a new one.

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

    area: aiarea: mcpblockedenhancementneeds designp1 highpoints: 8schema changesize: largestale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions