Skip to content

Run the Built-in Ticket run as a process Trial, up to Delivery #1874

Closed

Description

@JacobStephens2

This was generated by AI during a grill-with-docs session.

Parent

#1484

What to build

An Experiment whose Trials carry out the Built-in Ticket run, end to end through the Experiment.

  • Task format: a process session kind, provenance (real) and environment (host). Existing tasks load unchanged.
  • Arm: an Arm names a Built-in process. The Trial request carries it with the Harness, Model and Effort.
  • The Trial: it runs the Process's Steps through the local seam in the Trial sandbox, up to the first publishing Step. An Arm whose Process needs GitHub before that point is refused at start.
  • The record: it keeps Steps, sessions, outcome, usage and times under the Experiment, as ADR 0027 describes, and the Console's run-detail and trace views show it. Trials appear in no run lists, Needs you, Activity log, Scoring runs or Run metrics.
  • Outcomes: delivered, stopped-to-ask or failed, with the existing Void causes. Stopped-to-ask counts as failed in the Verdict, and the counts are reported beside it.
  • Integrity: the rule that voids a Trial for changing its repository applies only to review session kinds.

Grading is the next Ticket. Until it lands, a process Trial is scored on its outcome alone.

Acceptance criteria

  • thirdshift experiment candidate --json on a fixture process task, with a fake Harness that edits and commits, runs both Arms' Trials through implement and security-review and reports each Trial's outcome.
  • A fake session that ends by asking a question gives stopped-to-ask, counted as failed and reported in the outcome counts.
  • A process Trial that changes the repository isn't voided. A review Trial that does is still voided.
  • A Trial's Steps and sessions show in the Experiment's Console views, and no Trial appears in run lists or Needs you.
  • Code-review and Spec-review Experiments behave as before.

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