Skip to content

tracker_client: add a schema version to the results #3006

Todo

Description

@josecelano-bot

Parent EPIC: #2758 - Migrate the CLI tools to the global output contract

Goal

Every result object that tracker_client writes on stdout carries a schema version, so a consumer can detect a breaking change of the output shape instead of failing on it.

Background

#2768 changed the check result from a top-level array to {"results": [...]}, a breaking change. tracker_client has no schema version, so it was recorded only as a note in its I/O contract doc (console/tracker-client/docs/contracts/tracker-cli-io-contract.md) and README, which leave a version to a later issue of the EPIC (PR review audit of #2956, row F7). This issue owns it. The global CLI output contract ADR (docs/adrs/20260519000000_define_global_cli_output_contract.md) defines no version field for stdout-result-data tools today.

Decisions (maintainer)

Scope

  • Amend the global contract ADR with the rule.
  • Add the field to every result: http announce, http scrape, udp announce, udp scrape, check (each in both --format values) and the check monitor udp summary, through one result writer in unified/output.rs that takes the value instead of a rendered string.
  • Update the contract doc and README, and every repository consumer of the stdout (package tests, e2e checker helper, skills that pipe it to jq).

Out of scope: versions for other tools, masking the tracker key (separate bug), any other shape change.

Acceptance Criteria

  • AC1: Every stdout result of tracker_client has a top-level integer schema_version equal to 1.
  • AC2: The contract doc states when the version is bumped and lists the change that the current value marks.
  • AC3: The global contract ADR states the rule for all stdout-result-data tools.
  • AC4: Every consumer of the tracker_client stdout in the repository still works.

The full specification (implementation plan, verification plan) is added in a spec-only PR under docs/issues/open/.

Activity

  1. added 20 commits that reference this issue on Nov 23, 2026
  2. added a commit that references this issue on Nov 23, 2026
  3. added 5 commits that reference this issue on Nov 24, 2026
  4. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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