Skip to content

Upgrade pi-subagents to expose resolved child model and thinking metadata #122

Description

@rochecompaan

Parent: #116

Outcome

Patchmill consumes a pi-subagents release that reports the effective child model and thinking level as authoritative runtime metadata, so Patchmill never reimplements configuration resolution or infers child thinking from the parent.

Upstream status

Current pi-subagents 0.37.2 source exposes model and effective thinking on foreground child results. Relevant upstream history includes:

The implementation must validate the required metadata across Patchmill's supported direct, parallel, counted, and chain execution shapes. If any required mode remains unsupported, open and link a focused upstream blocker instead of inventing metadata locally.

Scope

  • Select and pin the first upstream release that satisfies the metadata contract.
  • Validate stable per-child correlation identity and ordering across partial and
    final results for direct, counted, parallel, and chain execution.
  • Update Patchmill's dependency and lock data consistently.
  • Verify installed upstream files, Patchmill configuration, metadata, tests, and live references all target the same version.
  • Run the required npm/Nix and Pi extension-load verification for a dependency update.

Out of scope

  • Patchmill lifecycle observer implementation.
  • Session streaming, progress correlation, or console rendering.
  • Local copies of upstream resolution logic.

Acceptance criteria

  • Effective child model and thinking metadata is available for every supported execution shape.
  • Partial and final results preserve stable child correlation identity and ordering for every supported execution shape.
  • Missing metadata or identity remains explicitly absent rather than inferred.
  • All source, npm, and Nix dependency references agree on one upstream version.
  • Required extension-load and full flake verification pass.

Planning constraints

This issue owns one focused Patchmill dependency-update PR. Its spec and plan supersede only the dependency-contract portions of the deprecated monolithic plan referenced by #116.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-progressIssue is currently being processed by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions