Skip to content

Record what real harnesses loaded for each packed plugin #5752

Backlog

Description

Why this matters

Before APM can change its default plugin format, maintainers need evidence that each harness really loads the packed output. Today the real-harness runs keep no record of which exact artifact was tested, and their logs expire after 14 days.

What changes

Each real-harness run against a packed plugin writes a durable evidence record: the artifact's digest, the harness version, the format, the scope, the trust and policy conditions, the run id and what the harness reported. Maintainers can trigger a run for a given packed artifact. These records are internal evidence; no user-facing badge is shown.

Done when

  • A run against a given packed artifact writes a record with digest, harness version, format, scope, conditions and run id.
  • Missing, blocked, partial, listing-only or expired evidence is recorded as such and never counted as a full load.
  • A maintainer can start a run for a chosen artifact from the workflow.
  • The credentialed lane never executes arbitrary submitted artifacts.

Out of scope

  • Any user-facing label or badge per artifact.
  • Changing the default plugin format.

Part of #5509.

This issue is not a scope approval: implementation needs an apm-scope:v1 record (CONTRIBUTING).

Notes for agents

Paths are at main ef53e98b unless stated.

  • Today's evidence has no artifact digest or selector input and uploads expire after 14 days (scripts/real_harness/probe.py:719-735,1041-1055; .github/workflows/real-harness.yml:27-34,163-193).
  • The consumer of this evidence is the default-format gate in src/apm_cli/bundle/formats.py:31-36.
  • doctor coverage from qualification receipts #5764 (user-facing badge) was dropped.

Activity

  1. added
    type/feature
    status/triaged
    on Dec 2, 2026
  2. changed the title [-]Qualification receipts: digest, harness version, format, scope, plus a dispatchable run for a given artifact[/-] [+]Record what real harnesses loaded for each packed plugin[/+] on Dec 2, 2026
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

    status/triagedtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions