Crank
Available
Workflow automation: published workflows run unattended from triggers, with managed connections, a connector catalogue (Slack and generic HTTP today) and optional approval steps.
Crank is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Crank before checkout.
Run Crank on your own computer with one line:
npx -y @runeditrun/rer dev just-every/run-crank
It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-crank. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-crank.
Or have your agent set it up for a Business: Start a Business with Crank ticked
For HappyToHelp: Assisted is in early access; Managed is in early access.
- Category
- automation
- Licence
- MIT
- Version
0.1.1- Requirements
- 12 clauses
- Release signature
- Signed by just-every · key
rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c· statement - Target release
- v0.1.1 · published
- Publisher’s stage
- first-release-candidate
- Instead of
- Zapier, Make, Workato, n8n, Gumloop, Pipedream
Outside services
The services the project declares it sends data to, each with its reason.
cloudflare- Worker hosting
Scope and limits
What it will not do
- Unapproved agent actions
Declared limits
- Status
- unmeasured
Requirements
All 12 clauses of Crank’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.
WORK 1 clause
WORK-001Visual multi-step workspace An operations lead creates, names, folders, searches, duplicates and connects workflows in a visual node-and-edge editor without code: steps are filled by picking account resources and fields by name (CONN-019) and routes are built with WORK-013 conditions, never by typing IDs or writing expressions. Each workflow has an owner, description, trigger, typed steps and enabled state; its graph shows branches, data lineage and validation errors. Every edge shows real sample data from WORK-014 step tests (recent records loaded from the connected account, the next real delivery, an earlier run, an action’s real response, or an explicitly labeled manual sample), with that sample’s source, so a builder sees what a field actually contains before mapping it. Draft edits and sample tests cannot send production actions unless explicitly authorized: a live action test needs its own WORK-014 confirmation naming the effect and account. Publishing a version is itself the authorization for that version’s declared steps on its bound connections (TEAM-004); limits and approval steps are opt-in. Acceptance evidence: From the builder, connect a new lead trigger to a filter, CRM lookup, invoice draft and notification; test the trigger to load recent real leads from the connected test account and pick one, test each step and inspect the sample data and its named source at every edge, correct a missing required field, save and reopen the same graph, then publish it deliberately and observe its next triggered run complete with no further authorization step.
HTTP 1 clause
HTTP-001Authorized HTTP dispatch The existing custom HTTP connector delivers the immutable approved JSON body to the deployment-authorized exact origin, adds the run’s stable idempotency key, refuses redirects and binds success to the receiver’s returned effect ID and matching key. Failure or lost acknowledgment remains visible. One owner-controlled replay uses the same bytes/key; a compliant receiver records one effect. This connector’s manual mode remains available beside future standing-grant and app steps. Acceptance evidence: Create and activate a flow through the HTTP API, prepare an event without sending, concurrently approve twice, lose the receiver acknowledgment, replay once and inspect one receiver effect; reject another run and refuse a foreign or credential-bearing destination.
EXEC 3 clauses
EXEC-004Replay any eligible step safely Operators retry/resume any eligible failed or incomplete step or selected batch items using retained versioned input and scoped authority. Preview shows what would run, prior effects and idempotency/reconciliation status. A corrected payload creates an attributable new revision; successful side effects are not silently repeated. Bulk replay has selection preview and limits. Until TEAM-001 adds an operator role, the owner replays. Eligible steps are the failed steps (and failed loop items) of a failed workflow run, plus failed loop items of a succeeded continue-on-error run, on a published, adopted workflow; a paused run resumes with run resume, an interrupted static read restarts by itself, and an interrupted or lost-response write is listed as uncertain with its operation key and goes to EXEC-006 reconciliation, never blind replay. Items that failed in a loop set to continue belong to a run that succeeded and whose later steps used its results; they are repaired with a linked new run on the same still-published version. The same digest-bound preview and selection limit apply; the source history stays unchanged. A repair retains completed checkpoints (including later steps), reopens only the selected failed items and their enclosing loops, and recordsrepair_ofand the selected paths. A path claimed by a repair is no longer eligible on its source, including concurrent decisions and after that repair is erased; the source retains the path claim until the source itself is erased; a failed repair is retried on that repair run. Unselected historical failures cannot be replayed through the copied checkpoints. The preview lists the eligible steps with their retained input, error, operation key and revision count, the uncertain writes and the completed effects that will not run again, and carries a digest; a replay names the selected paths (at most 100) and that digest, and a changed run refuses it. An uncorrected replay reuses the step’s retained input and operation key; a corrected input becomes revision N with operation key<original>#rN. Every revision keeps the replaced input, error and operation key beside the new input, with the owner and time, and the replay is audited with its paths and version. Completed steps and items keep their checkpoints and never run again; unselected failed items stay failed; each dispatch still checks live publish authority. Revisions are portable records under DATA-001 and erased with their run under DATA-002. Acceptance evidence: Fail the fourth step after three committed effects, restart, preview and resume that step, then replay selected failed items with corrected data; verify the first three effects persist once and the original and corrected inputs remain distinguishable. Also finish a continue-on-error loop with two failed items and a successful later effect: preview and correct one failed item as a linked repair, verify the source history and later effect stay unchanged, the other item stays failed, concurrent decisions create only one repair, and its original and corrected inputs, operation identities, audit and restore links remain inspectable. Replay an uncorrected failed item and verify identical retained input and operation key.EXEC-005Searchable run history and debugging Run history retains workflow/version, trigger provenance, original inputs, each step’s mapped inputs/outputs, timings, decisions, grants, attempts and remote object IDs under redaction and retention rules. Builders search/filter by workflow, business key, date, status and error, paginate beyond the latest page and compare prior runs. Incomplete executions remain available; UI distinguishes queued, rejected, failed, uncertain,stopped by search,stopped by filterand business-complete, and shows each filter and path group’s rule results. Acceptance evidence: Find an older failed invoice by customer key, inspect its exact mapping and decisions, compare a passing run and follow the remote record link; deny a reader access to a restricted payload while retaining safe status/timing.EXEC-006Effect reconciliation and compensation Every mutating step records intent, stable operation identity and known/unknown remote effects. Crank uses provider idempotency when supported, otherwise reads back by business key before retrying. Ambiguous matches stop for an accountable decision. WORK-011 find-or-create steps are mutating steps under this clause: a lost create is read back by its search key before any retry. Partial workflows can run explicitly authorized compensating actions; compensation has its own audit/outcome and never promises distributed exactly-once effects or reversal of an irreversible action. Delivered readback slice (c33): A declared HTTP readback may name a bounded records list and exact business-key field. One exact match supplies the create-shaped result without another write; zero matches leave the write uncertain, and multiple matches require an accountable decision. Unavailable, malformed or incorrectly shaped readback never turns an unknown write into a replayable failure. Such uncertain writes remain ineligible for blind replay after restart. Native QuickBooks sandbox invoice and refund-receipt steps now use stable provider request IDs and readback by exact document number and customer. The owner may choose a current provider record with a digest-bound decision, then continue without repeating the original write. A separate published invoice-void workflow requires its own exact human approval, retains its own operation identity and outcome, and does not reverse payments or refunds. The held owner company grant and live US QuickBooks sandbox journey now prove invoice and refund creation, lost-acknowledgement recovery after restart, accountable continuation and separately approved invoice compensation. This proof does not complete CONN-007 or the broader business outcome under AGENT-001. Acceptance evidence: Lose the response after an invoice/refund is created, restart and reconcile it by provider readback; simulate zero, one and multiple matches, then fail a downstream step and inspect an authorized compensation without duplicating the initial write.
TEAM 3 clauses
TEAM-002Optional approvals and standing grants Approval is a configurable step or policy boundary, not a requirement for every run. A published workflow needs no grant to run: publishing authorizes exactly its declared steps on its bound connections (TEAM-004). Standing grants are opt-in limits layered on top, and they are the authority for agents, MCP clients and other work that is not a fixed published graph; they name workflow/version, app/account, tools/actions, fields, recipients, amount/rate limits and expiry. Routine actions proceed unattended within the publish authority and any grant. High-impact or out-of-policy actions show the exact proposed effect to an authorized human; rejection sends nothing, a change to the proposed action made by anyone but the reviewer invalidates the decision, and timeout/escalation/delegation are durable. Reviewers may correct a proposal before approving and choose where rejection leads under TEAM-005. Revocation stops new authority immediately. AI-003 receiver duty (ct scope-review-54): A recurring task pins skill and objective versions; explicit adoption changes only the next run and leaves open runs frozen. A new version cannot widen grants without an owner grant under TEAM-002. Tool revocation blocks the next step dispatch. The first external send of a new version needs human approval unless a standing grant covers it, and the agent never approves. Standing grants retain AI-003's configured contact cadence, invoice billing-contact-only recipients and stops on paid/closed/void, takeover, cancellation, owner pause, authority expiry and budget hold; they do not bypass the live same-dispatch invoice read or contact operation identity. These are inherited obligations for the missing AI-003 capability, not additional delivered evidence for TEAM-002. Acceptance evidence: Publish a routine lead workflow with no grant and observe unattended completion; give an agent task a limited grant and observe it complete within the grant; exceed a USD refund limit, inspect and reject one proposed action, approve another, then alter its body and revoke the grant mid-run, verifying reapproval/refusal and recorded in-flight uncertainty. Delivered semantics (ct ruling, 20 October 2026 11:50Z): The native owner issues a separate, one-time-shown, hash-held execution credential bound to an immutable grant and the issuing owner's current identity/version; preparation credentials remain preparation-only. The owner chooses the workflow/version, each existing leaf tool and app/account, allowed top-level input fields (including their JSON subtrees), exact recipient paths/values, nonnegative USD amounts, per-tool rolling-minute admission limits, UTC expiry, native delegates and timeout/escalation recipients. Agents choose and order a subset of the declared tools, at most once per task, with literal inputs; transport, connections, retry/readback settings and source policy remain owner-declared. Each task retains an immutable graph and the source workflow's full owner-estimated per-run cost reservation; submitted values use the existing sealed/erasable run payload. USD bounds are inclusive exact decimal comparisons without rounding; the rate window is the preceding 60 seconds, one admission per tool invocation, with retries retaining that admission. Above-limit effects wait for a human decision on their exact input. A changed held proposal, including a deferred approved proposal, clears the old decision and retains the input revision and decision audit; no dispatched effect can be revised. The owner selects native delegates; after the owner-chosen timeout, a durable internal Approvals task opens to the escalation recipients without automatic approval or an external-delivery claim. Every step and physical request checks live grant/version/connection authority. Revocation fences leases and records already-started writes as uncertain, never as cancelled remote effects. Grants and rate authority stay installation-local; portable task graphs, payloads, decisions, escalation history and audit restore inactive. Explicit receiving-owner adoption at publish can authorize a frozen task as fixed native work, retaining source-grant provenance in its immutable declaration/audit; the source execution credential remains inert and new agent tasks need a fresh grant. Current conformance covers every existing tool; added tools/doors under WORK-005/006/007/009/010/011/014, CONN-003 through CONN-019, EXEC-007, AI-001/002/003, AGENT-001/002/003/004 and PLATFORM-001/002 inherit the same grant, exact-review, revocation, custody and recovery obligations before shipping. Before shipping AI-003, pin both versions, adopt a new version and verify next-run-only use and frozen open runs; refuse widened authority until the owner issues the required grant. Revoke a tool before the next step dispatch and verify refusal. Require a human decision for a new version's first external send unless a standing grant covers it, and deny agent approval. Verify the grant cannot bypass configured cadence, invoice billing-contact-only recipients, the same-dispatch connected-invoice read, operation-key deduplication or any AI-003 stop (paid/closed/void, takeover, cancellation, owner pause, expiry or budget hold).TEAM-003Scoped preparation and trigger credentials Owners issue agent preparation/read credentials and one-flow trigger credentials stored only as hashes. An agent preparation/read credential is shown once at issuance and is reusable for preparation and read until revoked or until the owner’s identity or version changes; it never carries execution authority. Preparation authority cannot activate, approve, replay, manage data or escalate its own permissions. Revocation and owner identity/version changes invalidate credentials at the HTTP and transaction boundaries. Future execution tools receive separate explicit grants under TEAM-002. Acceptance evidence: Issue both credential kinds through Access; verify the agent preparation/read credential is shown once at issuance, is not retrievable afterward, and only its hash is kept. Reuse that credential for preparation and repeated reads, try execution and every owner-only route and see refusal, submit with a trigger and try another flow, then revoke and verify further preparation/read is refused. Separately change the owner’s identity or version and verify credential invalidation; inspect state and archive for absence of bearer values.TEAM-005Approve with edits, rejection routes and reviewer notices An approval step can mark fields the reviewer may edit (for example refund amount or email body). The reviewer sees the exact proposed action, edits allowed fields and approves the edited version; the edit is recorded as an attributable revision beside the original, re-validated against the mapping schema and any TEAM-004/TEAM-002 caps, and only the approved revision is sent. Builders choose whether rejection stops the run or continues down a named rejection branch carrying the reviewer’s reason. Reviewers are notified by email, Slack, Microsoft Teams or Nook and mobile push, each with an authenticated link; reminders and timeout routes follow the business calendar. Acceptance evidence: Publish a refund workflow with an approval step whose amount is editable and capped at $500; change a $120 proposed refund to $95 and approve, then verify the Stripe test-mode readback shows $95, the run history shows both values, the reviewer and the reason; try to approve an edited amount of $600 and verify refusal; reject a second refund on a workflow whose rejection branch emails the customer and verify the branch runs with no refund; reject a third on a stop-on-rejection workflow and verify nothing further runs; verify each reviewer received the Slack notice and the mobile push with a working authenticated link.
DATA 2 clauses
DATA-001Complete portable archives and inactive restore Owners export all portable workflow versions/graphs, recipes, tables/forms, run/step histories, decisions, obligations, import provenance, usage, audit and erasure journals in documented versioned data. Integrity/schema/semantic checks precede atomic restore into empty product data. Flows restore paused with interrupted work visible and no dispatch; account bindings, credential secrets, sessions and grants remain installation-local and must be reauthorized. Unknown data is refused rather than silently omitted. The inventory obligation covers every record kind that exists today. WORK-006 (recipes/subflows), WORK-007 (tables/forms), WORK-009 (collected human data), WORK-010 (digests), WORK-014 (samples), AI-001 (AI execution data), AGENT-001 (reconciliation records) and AGENT-004 (agent obligations/memory) and OPS-002 (usage records) must add their portable records and inactive-restore proof before shipping those capabilities. Restored workflows are draft or paused and require the existing owner-only publish control. Its review lists every fenced run and bound connection; the receiving owner chooses resume or cancel for each run against the exact preview. Nothing resumes implicitly. Resume retains the run's original immutable version and checkpoints under fresh receiving-owner authority; every bound connection must be reconnected and each dispatch still checks live authority. Leases and continuation rights are cleared; unfinished runs, waits, holds, polls and schedules cannot advance before adoption. Interrupted remote writes remain uncertain and need reconciliation. Historical actor IDs confer no receiving access. Legacy pending deliveries require fresh receiving-owner approval; archived failed/interrupted deliveries have no replay authority. Older backups must stay restorable: import normalizes their activation state off and flags the result for owner adoption. Normalization uses Base's bounded import hook (importSafety/importRow) after staging and before validation and the atomic commit, identically for browser restore andrer import, and changes only these values: legacy flows become drafts; workflows become paused (drafts stay drafts) and owned by no one until the receiving owner adopts them at publish; connections need reconnecting (revoked stay revoked); unfinished runs are paused behind the restore fence with their previous status, leases and continuation rights cleared; running remote writes become uncertain; polls and schedules are parked; an interrupted legacy delivery fails under the restore fence and a failed legacy delivery keeps its outcome with its single replay spent. A bounded value cannot carry an older run's run-level pause reason, so that run keeps only its previous status; its steps keep their own errors. The restore receipt and its audit record count each change by table, column and value, without record values. Broken graphs, digests or references are still refused before any commit. Acceptance evidence: Export a populated installation, restore to an empty installation, compare all portable records and verify paused workflows, no network effects and no receiving authority; refuse corruption and a nonempty destination, then export the restored history again. Include waiting approvals, callbacks and queues, queued/running work, a held batch, due polls/schedules, connections, obligations, attempts and import/audit history. Restart and run Cron past their deadlines: assert no dispatch or wait resolution. Assert cleared leases/continuation authority, refused old credentials and direct resume/approval, an uncertain interrupted write, and a publish review listing all fenced runs/connections. Reconnect, reject stale or incomplete choices, then explicitly resume one run and cancel another at publish; only the resumed run dispatches once on its original graph. Restore a checksummed older archive carrying unsafe activation state (published workflows, active flows and connections, leased unfinished runs, a running remote write, due polls/schedules and a replayable failed delivery) and verify the reported normalization, inactive state after restart and Cron with no network effect, refused direct resume and delivery replay, a legacy pending delivery still awaiting fresh approval, and explicit owner adoption after which only the resumed run dispatches once; reject a broken graph/reference before any restore commit.DATA-002Erasure, receipts and restoration fences Owners erase completed run data and related sensitive inputs, decisions, outputs, files, indexes and agent memory after stopping affected execution. Durable value-free receipts and event digests prevent local restoration/readmission; a later source journal fences older archives on another installation. Subject/operator erasure traverses owned records and anonymizes the separate audit. Subject erasure takes one exact identifier (a business key, or an exact value such as an email address) compared case-insensitively; its preview lists every workflow run whose business key equals it or whose retained trigger, step input or step output contains it (for a run sealed under DATA-003 scoped encryption: whose declared identifier fields hold exactly that value, matched through the keyed blind index), and every flow run whose event id equals it or whose input contains it. Any unfinished match, or a match whose workflow or flow is still active, blocks the erasure until it is finished or canceled and paused; the confirmation names the preview’s digest, and a changed match set refuses it. Each match is erased through the run erasure above (event fences, value-free receipts, audit subject relabel), and one subject receipt in the audit names each run’s erasure journal and keeps only the SHA-256 digest of the identifier. Operator erasure applies only to a deactivated non-owner person: their operator id in Crank’s audit actors, decisions and run, version and credential creators becomes one stable random label, their sessions are revoked and their email address and display name are removed; chronology and actions stay, recorded asoperator.eraseunder the label. The owner erases a deactivated team member, and previews and confirms a subject erasure, on the Data screen. A run's uploaded and connector files (the file records its trigger or step output names) are erased with the run, and run history search reads only retained runs. Crank keeps no search index today; AGENT-004 reference/history memory follows run and operator erasure. WORK-009 (collected human data) and AI-001 (AI execution data) add their records to these erasures before shipping. Archives never carry sign-in identities (email address, display name), so an older archive restored elsewhere holds only the erased person's opaque former id. External effects and previously downloaded offline copies are disclosed and handled in the buyer’s provider/copy policy. Acceptance evidence: Pause work and erase a terminal run/subject through Data; inspect histories, files, search and agent memory, attempt duplicate source readmission and restore its old archive with the later journal, then verify only value-free receipts/audit survive. Erase a deactivated team member and verify their id survives only as one label, their sessions end and their email and name are gone.
MIG 1 clause
MIG-001n8n migration with preview and undo Import n8n workflow exports including graph/layout, triggers, mappings, branches, loops, subflows, delays, code and credential references into paused Crank drafts; search/lookup settings (Always Output Data, Return All, limits) map to WORK-011, built-in transformation nodes to WORK-012, IF, Filter and Switch conditions to WORK-013, and resource locators keep their chosen resources under CONN-019; trigger update options (such as the Google Sheets Trigger’s columns to watch) map to TRIG-008 watched fields, and captured executions load as WORK-014 samples. n8n OpenAI and Anthropic nodes and AI Agent nodes with their chat-model, memory and tool sub-nodes map to their CONN-001-mapped AI-001 operations and agent nodes, keeping prompt, model or a named substitution, output parser schema, binary file inputs and declared tools, with keys re-entered under CONN-002. A preview maps every node/setting or names a blocking/manual conversion; it never silently drops work, imports authority or executes source expressions during parsing. Reviewed fingerprints, source identities, originals and a restartable journal support idempotent apply and safe undo of unused, unchanged imports. Acceptance evidence: Preview a multi-step n8n export with a subflow and unsupported/custom node, resolve each named gap, apply the exact reviewed plan twice, reopen the journal after restart, bind fresh accounts and compare runs before cutover; undo an unused import and refuse undo after drift or use. Import an n8n workflow whose OpenAI node analyzes an image from a binary input and whose Anthropic node writes a reply: verify both map to AI-001 operations with prompt, model and output schema kept, and pass on captured executions.
BASE 1 clause
BASE-002Runnable site and unchanged installed home The static run site leads from Run Crank to runnable commands and publishes repository owner guides at /docs. The installed home stays the shared Lobby. Target clauses describe future product behavior; current guides/API documentation remain implementation-specific until their corresponding capabilities ship. Acceptance evidence: Build the static site and follow homepage → /run and /docs without JavaScript; traverse local guide links and anchors through HTTP, and verify the installed homepage through its emitted Worker.
View as agent
Everything on this page is in these files, copied unmodified from the release. An agent evaluating Crank can read them instead of the page.
seed.json- The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md- The requirements on this page, in source form.
AGENTS.md- Instructions for the coding agent that maintains an installation.
README.md- Source setup, available commands and implementation status.
OPERATIONS.md- How the project is set up, operated and deployed.
ACCEPTANCE.md- What the publisher accepts as a finished release.
Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.