Skip to content

Console API: Passes, Review runs, Custom processes and the other starts #1772

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Parent

#1768 (Spec: starting work and administering a machine through the Console API). Built on #1753 (the Console API). Governing decision: ADR 0026.

What to build

Every other Command-starting CLI command can be started through the API with run, on the path from the previous Ticket.

  • Passes: an Architect run (base, focus, plan-only), a Pickup run (base, order) and a Security run (base). Each is skipped for exactly the reasons it would be from cron, Command limit included. A skip is returned as the outcome, when the process exits before its Command record exists.
  • Review runs: on a pull request, or by author, with recommend-only.
  • Custom processes: by name, with an issue or a pull request.
  • Skill runs, the Scoring run, and triage: triage takes the Report's text in the request instead of a file path, and its --read-machine option as given.
  • Each start names its requester in the Activity log and is written to the Console log, as before.

Acceptance criteria

  • An HTTP test: a Pickup run started at its Command limit returns the skip outcome, and its Activity log line matches cron's.
  • An Architect run, a Review run and a Custom process each start through the API with the fakes, and their Commands appear.
  • Triage with Report text in the body starts, and no file path is accepted.
  • Each endpoint takes the same options as its CLI twin (checked against the CLI's argument parser).
  • docs/guide.md lists the startable commands.
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

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions