Skip to content

Document harness outputs as generic contracts and scrub consumer names #4236

Open

Description

@pithead-developer

What's the problem

The e2e-env line, --harness-arg allowlist, the tests/os run.sh --phase usage line, PITHEAD_OLD_IMAGE skip text and chain-keep comments name bench-ci as their consumer, including the parser module.

What it impacts

The contracts work standalone but read as private plumbing; a phase change must follow an undocumented format.

How I found it

Inventory 2026-11-17: tests/integration/lib/e2e-env.sh, harness-args.sh, chain-keep.sh, tests/os/run.sh, README, phases.

How important is it

P4-code-health; medium.

Acceptance criteria

  • Interfaces documented as harness contracts and kept stable; no bench-ci in comments, messages or docs.
  • Related selftests updated and pass with neither tool installed.

Possible solutions

Keep formats; reword; bench-ci pins tests to the documented output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4-code-healthdocumentationrefactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions