Skip to content

Track upstream AgentHarness v2 and telemetry convergence #471

Description

@spences10

Summary

Track upstream Pi's native AgentHarness v2 and telemetry primitives so my-pi can converge deliberately instead of maintaining duplicate abstractions indefinitely.

Upstream development is active:

The upstream plan still has major harness execution/integration milestones and runtime telemetry instrumentation outstanding. my-pi should monitor those maturity gates before replacing @spences10/pi-harness, Factory's narrow reviewed-execution path, @spences10/pi-telemetry, or @spences10/pi-observability internals.

Scope

Evaluate each upstream release that materially advances AgentHarness or telemetry and decide whether my-pi should:

  • keep its current implementation;
  • wrap the upstream primitive;
  • migrate incrementally;
  • remove duplicated code.

Decision gates

Do not begin a migration until:

  • upstream AgentHarness can complete, recover, and observe representative tool-using runs without unfinished-operation errors;
  • JSONL/session compatibility and process-loss recovery are documented and tested;
  • runtime telemetry instrumentation is wired beyond contracts and the reference adapter;
  • upstream extension/SDK surfaces needed by my-pi are released rather than main-only;
  • migration preserves my-pi's policy enforcement, deterministic validation, independent review, local SQLite evidence, and operator UX.

Acceptance criteria

  • Record the first upstream release satisfying the decision gates.
  • Map upstream AgentHarness capabilities against @spences10/pi-harness, @spences10/pi-factory, and Team Mode boundaries.
  • Map upstream telemetry schemas/adapters against @spences10/pi-telemetry and @spences10/pi-observability.
  • Run representative compatibility spikes without changing default behavior.
  • Document keep/wrap/migrate/remove decisions for each overlapping package.
  • Create focused implementation issues only for approved migrations.

Related my-pi work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions