Skip to content

add a way to name Experiments, right now the "71c7a497" title is pretty machine #1378

Closed

Activity

  1. added
    enhancement
    needs-triage
    on Oct 26, 2026
  2. JacobStephens2 commented on Oct 27, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Let the Day shift name an Experiment, and give unnamed Experiments readable default names. An A/A Experiment shows up today as a bare commit such as "71c7a497".

    Current behavior:

    • The Console builds an Experiment's name from what differs between its Arms: the changed Harness, Model or Effort ("Model: x → y"), or else the Baseline and Candidate refs ("main → my-branch").
    • In an A/A Experiment the Arms are identical, so the name falls through to the bare Candidate ref or a short commit.
    • A release Experiment's name gives no sign that it gated a release.
    • No way to name an Experiment exists. thirdshift experiments (the CLI list) and --json show only the ID and commits.

    Desired behavior:

    • thirdshift experiment ... --name <text> saves a name with the Experiment.
      • The name is not part of the Bar. It never affects Trials, Scores or the Verdict, and a resume never refuses because of it.
      • It is trimmed, single-line and at most 100 characters. An empty or over-long name is refused with a clear error before any build.
    • thirdshift experiments <id> --name <text> renames an existing Experiment in any state, under the same lock as other writes to that Experiment. --name '' clears it, so the default name comes back.
    • When no name is set, the default is:
      • for identical Arms (same commit, Harness, Model and Effort): "A/A at ", using the Candidate ref, or the short commit when there is no ref;
      • for a release Experiment (--release): "Release ";
      • otherwise, today's derived name.
    • The name, set or default, is shown everywhere an Experiment appears: the thirdshift experiments list line, experiments <id>, --json (as name, plus name_set: whether the Day shift gave it), and the Console's list page, its detail page and that page's browser-tab title.
    • Experiments saved before this change load unchanged and get the default name.
    • docs/guide.md's Experiments section documents --name.

    Key interfaces:

    • The saved Experiment description (the experiment.json record) gains an optional name. It must stay outside the Bar and outside anything the resume check compares.
    • The Console's Experiment name function becomes the one source of the default name. The CLI uses it too, so the two always agree.

    Acceptance criteria:

    • --name is saved and shown in the CLI list, experiments <id>, --json and both Console pages, including the tab title.
    • experiments <id> --name renames a completed Experiment, a paused one and a running one. --name '' brings back the default.
    • Renaming a paused Experiment, then resuming it, doesn't refuse the resume as a changed Bar.
    • An A/A Experiment with no name shows "A/A at ". A --release Experiment shows "Release ".
    • An empty or over-long name is refused before any build.
    • An Experiment record saved before this change still loads, with its default name.
    • Tests drive the CLI through the fake Harnesses, as the existing experiments integration tests do. The Console's name is covered where its other Experiment-page tests are.

    Out of scope:

    • Tags, notes or descriptions beyond one name.
    • Looking up an Experiment by name instead of by ID.
    • Renaming from the Console. It stays a reader, under ADR-0016.
  3. added
    ready-for-agent
    in-progress
    and removed
    needs-triage
    ready-for-agent
    on Oct 27, 2026
  4. removed
    in-progress
    on Oct 28, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions