CommonRig docsOpen the app

Docs / Workers and automation / Programs raise work

Programs raise work

A script, a job or a monitor can raise a bug or task with one command. It signs in like your other devices, and can only raise: it reads nothing back.

From a failure to a bug

A job failson your machinehelper raisetitle, body, a fingerprintMaskedon the machine and again onthe way inSeen before?same fingerprint in 24hours adds a countA bug, not plannedraised by: your programA job failson your machinehelper raisetitle, body, a fingerprintMaskedon the machine and again onthe way inSeen before?same fingerprint in 24hours adds a countA bug, not plannedraised by: your program
A failed job raising a bug
  1. Sign the machine in for raising, once. A browser page of its own says what the machine will be able to do, and you allow it. It shows under Agents, Connections as a program intake.
  2. In your job, on failure, run helper raise. A refusal exits non-zero, with its reason on the last line.
  3. The item lands in the project you name, not planned, so nothing reaches an agent until a person says so. With no project it waits unfiled for someone to sort.
Sign this machine in for raising (in Claude Code: /commonrig:raise connect)
node <plugin folder>/helper/helper.mjs raise connect https://app.commonrig.com/w/your-workspace/mcp
Raise a bug from a failed job
node <plugin folder>/helper/helper.mjs raise --title "nightly build failed" --kind bug --project web --source nightly --body-file build.log --fingerprint build-web
PartWhat it does
kindbug (the default), finding or task. A finding waits for a person to accept or dismiss it
projectWhere it lands. Left out, it waits unfiled for a person to sort
sourceThe program's name: the item says raised by this machine, and which program
bodyThe last 20,000 bytes of a file. Keys and settings blocks are masked
fingerprintThe same fingerprint from the same machine inside 24 hours adds a count and a seen-again note to the open item. Once that item closes, the next one is new
  • The sign-in holds the intake scope and nothing else. It cannot read your work, call an agent tool or reach another workspace.
  • At most 60 raises an hour a machine, repeats included.
  • Your role decides where it may raise: the same right to make items you have yourself.
  • Pause holds it; revoke stops it on its next raise. Connect prints a short code to type on any signed-in browser, over SSH too.

For agents intake_raise: intake_raise files a bug, finding or task, not planned; the same fingerprint inside a day counts again on the open item. It reads nothing. Applies only as a program signed in as an intake device.

From a finished job to a report

  1. Use the same sign-in as for raising: one intake sign-in does both.
  2. When a job finishes, run helper raise report with a title, a markdown file and the project it belongs to, or the item it is about.
  3. It lands in the Inbox as a report to read, waiting on whoever reads that project. A press on read closes it.
Push a report when a job finishes
node <plugin folder>/helper/helper.mjs raise report --title "nightly bench finished" --project bench --source nightly --body-file summary.md --fingerprint bench-20261112
  • A report from a program is for reading only. Anything a person must choose goes through an agent, which can hear the answer.
  • A retry with the same fingerprint lands nothing new for a month, whatever the report's state: it counts on the one already there.
  • At most 20 reports a day a machine, and the hour's 60 raises count them too.
  • Your role decides where it may push: the same right to push reports you have yourself.

For agents intake_report: intake_report pushes a reference report in markdown to the Inbox, for reading: no decide, act or question blocks. The same fingerprint inside a month counts on the report it landed. It reads nothing. Applies only as a program signed in as an intake device.

From things to clear to a checklist

  1. Use the same sign-in again.
  2. The program runs helper raise checklist with a key, a title and a file of the steps it finds now.
  3. It waits in the Inbox under do. You or an agent tick steps, and it closes when none is open.
  4. The next run adds what is new and ticks what has gone. A step ticked while the program still finds it opens again; drop a step to leave it be.
Keep a checklist from a job
node <plugin folder>/helper/helper.mjs raise checklist --key leftovers --title "Leftovers to clear" --project rig --source nightly --steps-file steps.json
  • The file is a JSON list of steps, each with a key, a text and, where it helps, detail and code.
  • At most 200 steps and 100,000 characters a call, and each call counts in the hour's 60 raises.
  • Your role decides where it may keep one: the same right to make items you have yourself.

For agents intake_checklist: intake_checklist keeps one action checklist under the program's key: send everything found now, and it adds, reopens and ticks steps to match. It reads nothing. Applies only as a program signed in as an intake device.

Checked against the code at e28af69c. Site built from f04f4af1.