Skip to content

report_dir cannot be set by ac setup, but the plot_ir note tells the operator to use it #472

Description

@mkovero

problem

ac plot ir prints, when no report directory is configured:

  note: report_dir not configured — result not persisted (see `ac setup`)

ac setup has no token for it. Its parser accepts output, input, reference, device, dburef/dbu, reference-output/refout/ref-out, gpio, range, server-timeout/server-idle-timeout, and temp/temperature (ac-cli/src/parse/setup.rs). Nothing sets report_dir, and ac setup's own read-out does not show it either.

The only way to configure it is to edit ~/.config/ac/config.json by hand, which is what I had to do on pupu to capture the #460 AC2 rig record.

why it matters

The message names a command that cannot do the thing. An operator who follows it finds no such option and, on a rig session, silently gets no persisted reports — the archival half of the measurement is lost with a note that reads as though it told them how to fix it.

This is the silent-config shape in reverse: not a value that quietly does nothing, but a remedy that quietly does not exist.

acceptance criteria

  • ac setup can set report_dir (and clear it), or the note names whatever the real mechanism is.
  • ac setup's read-out shows the configured report directory, so an operator can see whether captures will persist before running one.
  • Test: a parse test for the token, and a check that the plot_ir note and the setup surface agree — the note must not be able to name a command that cannot do it.

evidence

Found while configuring pupu for #460 AC2 (2026-09-15). ac-cli/src/commands/plot.rs:530 emits the note; ac-cli/src/parse/setup.rs has no matching token.

Activity

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

    agent:architectArchitect agent acted on itagent:triageTriage agent acted on itbugSomething isn't workingready-to-implementSpec complete, developer can pick upscope-nonedaemon, CLI, wire, build, docs — nothing a standard governssoftwareac Python/Rust codebase

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions