Skip to content

Infrastructure: Expose bounded persisted desktop test-run and artifact queries #4439

Closed

Description

@JasonVMo

Goal

Agents and a future management facade need to read test-run status and results without keeping a model call open for an entire suite or parsing raw reports. Expose bounded, authorized queries over the collector's persisted results.

Part of #4435 (plan item F8).

Scope

  • Owner: harness reporting.
  • Paths (under packages/agentic/): desktop-test/src/reporting/*, a real run-query implementation and client, and report contracts and tests.
  • Reuse the collector's authoritative persisted result. Add bounded status and pages, terminal versus incomplete semantics, and authorized opaque run and artifact IDs.
  • Keep the schemas in the harness, not in the driver or MCP adapter.

Dependencies

Acceptance

  • Large, unfinished, or all-skipped runs cannot be reported as success.
  • Reconnecting a reader does not restart execution.
  • Omission counts are explicit.
  • Artifact queries cannot accept model-supplied paths.
  • Redaction and retention apply before any model-visible projection.

Validation

  • Iterate with focused yarn test <name> in each changed package, then run its yarn format, yarn lint, yarn build, and yarn test. Finish with yarn clean-lage-cache then yarn lage buildci; run yarn lage test-links --verbose --grouped after markdown changes.
  • Add a patch changeset for each changed published package. Update the owning references/current-status.md rows (done, work in progress, unsupported) and affected README/AGENTS guidance in the same change.
  • Native, provider, or process-topology changes need matching-OS native contracts and the affected consumer lane. JavaScript tests and bundles do not qualify native behavior; hosted capability skips are not passes. Report each check as passed, failed, skipped, not run, or unsupported.

Evidence

  • Current state: "Bounded persisted run-query/control API" in packages/agentic/desktop-test/references/current-status.md.
  • Retired plan: driver-next.md at 0569e1b86, section 8 (F8).

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