GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]: expose subagent execution identity and timing to clients · Issue #62588 · anomalyco/opencode

[FEATURE]: expose subagent execution identity and timing to clients #62588

New issue
Copy link
New issue
Copy link
Open
Open
[FEATURE]: expose subagent execution identity and timing to clients#62588
Copy link

Description

@mv2sa
mv2sa
opened on Nov 7, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Expose supported identity and timing for each native subagent execution. OpenChamber #6358 needs this to show a reused invocation while preserving earlier calls' results and durations.

In the v2.2.5 source tested locally, native progress/results and background completion metadata identify the child session but not its execution generation. A delayed report from an older run cannot safely be matched to a newer call using the child ID or arrival time.

The proposed contract is:

  • An opaque execution token owned by one Core Job generation. Sequential reuse of the stable child session/job ID gets a new token; callers joining an already-running execution share its token.
  • Core-recorded startedAt and optional completedAt. A missing completion remains unknown, including for legacy records; do not infer it from arrival time or time_updated.
  • The same execution identity in native tool progress/results, synthetic completion metadata, and the existing experimental job.list. The Job API supplies status; terminal output/error comes from tool results or completion reports. No new HTTP route is needed.
  • Each native tool invocation carries its parent message/call association and retains its existing per-call timing. Joined callers have separate associations and starts; the shared execution has one start. A shared completion report has no singular parent call.
  • Execution identity, timestamps and terminal outcome preserved through persistence/restart replay. Notification/synthetic-message identity continues to own delivery and remains separate from execution identity.

The local prototype uses jobexec_* tokens, experimental.subagent.execution, and experimental.subagent.parentCall on native invocation metadata. Existing fields remain intact and the additions are optional/experimental.

Configured subagent commands are included. Manual/plugin-driven reprompt reporting remains separate and dependent on #61833, whose reporting cycle can span busy periods. This proposal does not change spawning, background defaults, notification preferences, add telemetry infrastructure or clustering, or duplicate that reporting lifecycle.

Related: #36349 covers preserving parent completion across restart. This request defines the supported client-facing execution contract.

Native tool reuse, configured command entry, legacy/restart cases and the paired OpenChamber browser/reload flow have been tested locally and independently reviewed. No implementation PR is open; publication remains on hold.

Reacted by Vlad Ionescu

Activity

  1. opencodejr commented on Nov 7, 2026

    @opencodejr
    opencodejrBot
    on Nov 7, 2026
    Contributor
    More actions

    Thanks for the detailed request, @mv2sa! To restate it: you'd like core to give each native subagent run its own lasting ID, plus its start and finish times. These would appear in tool progress and results, in session and event records, and in the background completion message. That way clients can tell successive runs of the same resumed child session apart without relying on the child ID or when a report arrives. I checked: today the completion metadata only carries source, childID, agent and state, so a client has no reliable way to know which run a report belongs to.

    Maintainers will consider this. Related issues and PRs:

    • bug(tui): resumed Task duration includes earlier child-session work and idle time #54924: resumed Task duration includes earlier child-session work (same symptom, from the UI side)
    • [FEATURE]: task tool results should carry child-session duration and token metrics #47822: task tool results carrying child-session duration and metrics (closed)
    • [FEATURE]: Show subagent start time and execution duration #42564: show subagent start time and duration (closed)
    • feat(core): subagents report to their parent every time they finish #61833: the reporting lifecycle this needs to stay separate from
    • V2: preserve subagent parent completion across restart #36349: preserving parent completion across restart
    • [FEATURE]: Add stable agent lifecycle telemetry #47701: stable agent lifecycle telemetry
  2. mv2sa commented on Nov 8, 2026

    @mv2sa
    mv2sa
    on Nov 8, 2026
    Author
    More actions

    The local prototype stays within the existing experimental Job API: each execution has a jobexec_ ID and Core start/completion timestamps; tool metadata also carries its parent message/call IDs. Completion delivery IDs remain separate. Reused children, joined calls and new-format restart replay retain their execution identity; legacy unknown completion times stay unknown.

    Local native verification passed: 6,998 Core tests (349 skipped), root checks, focused schema/server tests, migration consistency, both type-checkers, independent review, and real native tool plus HTTP command-entry flows. The OpenChamber consumer also passed its final handoff gate and the paired same-Core browser/reload proof, preserving separate A/B results and recorded durations. No implementation PR is open.

    The issue body now spells out the full proposed contract. Publication remains on hold. Manual/plugin-driven reprompt reporting remains separate and dependent on #61833.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.