You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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.
Activity
mvschwarz commentedon Nov 25, 2026
Thanks, @Kayhusk. As you describe it,
rig queue updatetakes 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, asrig queue createandrig queue handoffalready 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.Kayhusk commentedon Nov 25, 2026
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.