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
- 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.
- In your job, on failure, run
helper raise. A refusal exits non-zero, with its reason on the last line. - 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.
node <plugin folder>/helper/helper.mjs raise connect https://app.commonrig.com/w/your-workspace/mcpnode <plugin folder>/helper/helper.mjs raise --title "nightly build failed" --kind bug --project web --source nightly --body-file build.log --fingerprint build-web| Part | What it does |
|---|---|
| kind | bug (the default), finding or task. A finding waits for a person to accept or dismiss it |
| project | Where it lands. Left out, it waits unfiled for a person to sort |
| source | The program's name: the item says raised by this machine, and which program |
| body | The last 20,000 bytes of a file. Keys and settings blocks are masked |
| fingerprint | The 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
- Use the same sign-in as for raising: one intake sign-in does both.
- When a job finishes, run
helper raise reportwith a title, a markdown file and the project it belongs to, or the item it is about. - It lands in the Inbox as a report to read, waiting on whoever reads that project. A press on read closes it.
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
- Use the same sign-in again.
- The program runs
helper raise checklistwith a key, a title and a file of the steps it finds now. - It waits in the Inbox under do. You or an agent tick steps, and it closes when none is open.
- 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.
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.