Skip to content

Add --note-file to rig queue update #3903

Backlog

Description

@Kayhusk

What I’m trying to do

I write longer queue transition notes in a file so I can review them before updating the row. Today, rig queue update takes the note only as an inline argument. Getting the file into that argument requires another shell step, and the shell can strip trailing newlines or make quoting fragile. The stored note is the audit record, so I want it to match the text I reviewed.

Proposed behavior

Add rig queue update <qitem-id> --note-file ./transition.md, with --note-file - reading standard input. Pass the text through the existing transition-note field so the daemon records it as it would an inline note. Keep --note and reject using both options together before sending the update. Missing or unreadable files should leave the row untouched and tell me which file could not be read.

rig queue create and rig queue handoff already support this input pattern for their bodies. Queue CLI source

Activity

  1. added
    enhancement
    area: queue-scope
    needs-triage
    on Nov 25, 2026
  2. mvschwarz commented on Nov 25, 2026

    @mvschwarz
    Owner

    Thanks, @Kayhusk. As you describe it, rig queue update takes a note only inline, so a long note written in a file needs another shell step, and quoting or trailing newlines can go wrong. You'd like --note-file <path>, with - for standard input, passing the text through unchanged, as rig queue create and rig queue handoff already do for their bodies. This fits as a narrow change. @NieZhuZhu has opened #3908 for it, thanks. @Kayhusk, are you happy for #3908 to cover it, or had you started a version we should coordinate with? The PR will go through the usual review.

  3. Kayhusk commented on Nov 25, 2026

    @Kayhusk
    ContributorAuthor

    Yes, I'm happy for #3908 to cover it. I haven't started a competing implementation. What I need is the exact note text, including any final newline, from a file or from stdin with --note-file -. Thanks for picking it up.

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

    area: queue-scopeenhancementneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions