Skip to content

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

Open
6 of 11 issues completed
Open

Description

@josecelano-bot

Goal

Bring every first-party program that a script, a CI job or an AI agent calls into line with the global CLI output contract, as scoped by the ADR from #2715: JSON on stdout and stderr, no plain text, exit codes 0/1/2 only, a distinct outcome reported as a kind, and TTY refusal for stdout-result-data commands.

Why

The ADRs decide the scope and the exit-code policy but change no code. An audit of develop plus PR #2748 found many programs that still break the contract: github-review-threads reply-status, package-coverage-check, http_health_check, tracker_client, the deprecated client binaries, the torrust-tracker daemon logging, the e2e runners, agent-review-report-contract and frontmatter-schema. The older migration draft is out of date and is superseded by this EPIC.

Maintainer decisions (2026-11-06)

Planned sub-issues

Wave 0: align the ADR binary table with the audit. Wave 1 (disjoint files, parallel-safe): reply-status result, package-coverage-check, agent-review-report-contract and frontmatter-schema, http_health_check, remove deprecated tracker clients, daemon JSON logs, scripts audit. Wave 2: tracker_client (after the removal), e2e runners (after the daemon change). Last: close-out of the ADR notes and the EPIC.

Full spec: docs/issues/open/{this-issue}-cli-output-contract-tools-migration/EPIC.md (added by the spec PR).

Sub-issues

Sub-issues

6 of 11 Issues completed
Loading 11 sub-issues

Activity

  1. self-assigned this
    on Nov 6, 2026
  2. added 5 commits that reference this issue on Nov 6, 2026
  3. added 2 commits that reference this issue on Nov 9, 2026
  4. added 3 commits that reference this issue on Nov 9, 2026
  5. added a commit that references this issue on Nov 9, 2026
  6. added 2 commits that reference this issue on Nov 9, 2026
  7. added a commit that references this issue on Nov 9, 2026
  8. 52 remaining items

  9. added 5 commits that reference this issue on Nov 24, 2026
  10. added
    EPIC
    on Nov 24, 2026
  11. added a commit that references this issue on Nov 24, 2026
  12. added 2 commits that reference this issue on Nov 24, 2026
  13. added 3 commits that reference this issue on Nov 24, 2026
  14. added 3 commits that reference this issue on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EPIC

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions