Core Concepts
runx works best when the vocabulary stays small and stable.
Skill
A named capability package with explicit inputs, steps, tools, and trust boundaries.
Run
One concrete execution of a skill with bound inputs, timestamps, and state.
Receipt
The durable inspection surface for what happened, what paused, and what was resolved.
Canonical Terms
| Term | Meaning | Why it matters |
|---|---|---|
skill | A portable unit of governed work. | Portability and trust review happen at this boundary. |
run | One execution of one skill. | The operator inspects and resumes runs. |
connector | The manifest that declares each provider operation and the credential that authorizes it. | A skill names operations; it never holds a credential. |
instance | One account bound to a connector: a local profile, a signed-in session, or a runx Connect grant. | Authority stays explicit instead of ambient. |
approval | A required human decision. | Mutation or risk can pause cleanly instead of hiding behind a prompt. |
receipt | A signed, durable execution record. | Claims can be checked after the run finishes. |
Local And Hosted Are Deliberately Similar
The user model should not fork between laptop and cloud.
- The CLI still starts work.
- The hosted surface still returns inspectable run ids and request ids.
- The receipt remains the place to verify what happened.
The difference is the boundary:
- The open CLI is locally self-sufficient: governed execution, your own credentials bound once to a connector, sealed receipts, no telemetry, no OAuth brokerage.
- The hosted service is opt-in. It adds runx Connect grants, identity, long-lived runs, public docs, and service operations on top of the same model.
What An Instance Actually Means
An instance is not branding. It is an authority binding:
- the connector, by publisher and exact digests
- the account's credential source
- the scopes it serves
- lifecycle state
Locally, you bind an account once with
runx connector use <connector> --credential <name>, the secret on stdin. runx
stores it encrypted and delivers it only to the operations it admits; it never
appears on argv, in inputs, or in receipts. On the hosted path,
runx connector use <connector> --hosted opens a runx Connect grant while OAuth
exchange, refresh, storage, and provider logic remain server-side. Either way,
the instance is the operator-facing proof that the runtime has the authority it
thinks it has.
What A Receipt Actually Means
A receipt is not decorative logging. It is the runtime’s public memory of the run:
- what started
- where it paused
- what required approval or caller input
- what resumed
- what finished
Read Receipts And Pauses next if you want the inspection model.