Skip to content

Expose safe child response-model metadata through supported host integration #56

Open

Description

@woksin

Problem

Review orchestration cannot safely establish the executed response model for a child agent. Shell PI_PROVIDER/PI_MODEL reflect selected context metadata, and model_change proves only selection, not a successful response. The current Agent tool exposes no verified metadata-only completed-child query. Reviews stopped based on an unreliable identity heuristic; unavailable/error reviews remain unapproved.

Scope

Research the smallest supported maintained-extension/local-package route to project each child's next assistant message_end into provider, model, optional responseModel and stopReason with task/session linkage. One-shot unsubscribe; no message content, tool payloads or secrets. No new external endpoint or silent patch to installed third-party/runtime code. If supported child-session access is unavailable, report feasibility and required upstream ownership instead of inventing access.

Done

Source-backed feasibility and owned files first, precise implementation plan and gates, independent review, then supported implementation/release if feasible. No synthetic provider retries, cooldown/guard edits or approval inferred solely from selection metadata.

Status

State: Blocked — Independent source review confirmed no supported pre-response child hook with exact linkage/full Agent+workflow coverage. Requires upstream tintinweb/pi-subagents metadata-only producer before prompt (fresh/resumed/nested/workflows), then maintained pi-orch consumer. No runtime patch or inferred rev
Branch: -
Scope: Source-backed feasibility first: supported maintained extension/package child response metadata projection, no runtime patching or provider retries.
Delivered: Nothing yet.
Remaining: To be confirmed.
Follow-ups: None.

Activity

  1. self-assigned this
    on Oct 26, 2026
  2. added
    P0Broken for users now, or blocks a release
    on Oct 26, 2026
  3. woksin commented on Oct 27, 2026

    @woksin
    OwnerAuthor

    Partial route delivered by #64 (https://github.com/woksin/pi-setup/releases/tag/v2026.10.27.3): for workflow children that answer through StructuredOutput, a child-loaded model-provenance extension derives provider/model, switches and assistant counts from the child's own session entries at answer time and attaches them to the structured result; the review workflow fails closed without it. This covers review certification only. It is not authentication, does not cover free-form Agent children, and does not give the parent a pre-response hook, so this issue stays blocked on an upstream metadata producer in pi-subagents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0Broken for users now, or blocks a releasetype: featureCategory: feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions