Back up your shop or site.
The developer writes a script that copies your database and files and checks that the copy opens. You run it from Home, or a schedule runs it every night.
You: read the script once, enable it, and see the size on the tile.
Every time you ask an agent for the same chore — a backup, an export of the orders, publishing the site — it does it a little differently, and you cannot tell what actually ran. With an action, an agent writes the script once, and you read it and enable it. From then on it is a button on Home: the same steps every time, with the log and the result in front of you.
Without an action
“Make the backup again, like last time.” The agent writes new commands each time, and you cannot tell what ran or whether it worked.
With an action
You press ▶ on Home. The script you read runs, step by step, and the tile shows “312 MB · 41 s”.
The developer writes a script that copies your database and files and checks that the copy opens. You run it from Home, or a schedule runs it every night.
You: read the script once, enable it, and see the size on the tile.
An action gathers last week's orders into one file on your machine. The tile shows how many orders there were, and the run page names the file.
You: press ▶ and open the file in your spreadsheet.
The developer turns your publishing steps into an action: build, check, put online. Each run shows the step it is on and ends with a link to the page.
You: press ▶ when you want it live. A failed run comes to the bell with the reason.
A small action reports the free disk space, or whether your shop answers. Pin it, and the number sits on Home.
You: glance at Home.
An agent proposes an action; you read the whole script and press Enable. Until then, nothing runs.
Only the version you read runs. Change one line and it is a new version, waiting for you again.
Before an action that restarts the machine or deletes files, the dashboard asks you, and an agent never runs such an action.
waits for youProposal v1from shop-developer · 12 min ago
db-backup · bash, 19 lines
+#!/usr/bin/env bash+set -euo pipefail+echo "::step checking the free disk space"+free_gb=$(df -BG --output=avail . | tail -1 | tr -dc 0-9)+if [ "$free_gb" -lt 5 ]; then+ echo "::fail only ${free_gb} GB free"; exit 1+fi+echo "::step copying the shop database"+mkdir -p backups+sqlite3 shop.db ".backup backups/shop.db"+echo "::step packing the copy"+out="backups/shop-db-$(date +%F).tar.gz"
harnsy keeps a copy of this exact script text and runs that copy; any change is a new version that waits for you.
Tell an agent the chore: “make a button that backs up the shop database”. It writes the action and proposes it.
The Actions page shows the whole script. Press Enable, and it is ready.
The tile shows the state, the step and the last result. ▶ runs it; if it needs details from you, a short form opens first.