Oncall

Available

Coordinate incident response and on-call schedules alongside your existing pager.

Oncall 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 Oncall before checkout.

Run Oncall on your own computer with one line:

curl -fsSL https://runeditrun.com/install.sh | sh
ONCALL_TAG=$(curl -fsS -o /dev/null -w '%{redirect_url}\n' https://github.com/just-every/run-oncall/releases/latest | sed -nE 's|^.*/releases/tag/(v[0-9]+\.[0-9]+\.[0-9]+)$|\1|p') && test -n "$ONCALL_TAG" &&
mkdir run-oncall && cd run-oncall && git init -q &&
git remote add origin https://github.com/just-every/run-oncall &&
git fetch --quiet --depth 1 origin tag "$ONCALL_TAG" &&
git checkout --quiet --detach "refs/tags/$ONCALL_TAG" &&
"$HOME/.local/bin/rer" dev --host localhost

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-oncall. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-oncall.

Or have your agent set it up for a Business: Start a Business with Oncall ticked

For HappyToHelp: Assisted is in early access; Managed is in early access.

Category
operations
Licence
MIT
Version
0.5.47
Requirements
22 clauses
Release signature
Signed by just-every · key rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c · statement
Target release
v0.5.47 · published
Publisher’s stage
maintained
Instead of
PagerDuty, Opsgenie

Screenshots

Oncall at 1440 pixels: a resolved incident with response ownership, a completed runbook checklist and service context. This is the v0.4.0 screenshot that the v0.4.2 RELEASE.json names, retained as a historical capture and committed unchanged at the listed release revision.

Oncall screenshot 1: oncall 0.4.0 incident 1440

Outside services

The services the project declares it sends data to, each with its reason.

Move-in provider reads
no reason declared

Scope and limits

What it will not do

  • production paging
  • provider sends
  • autonomous remediation
  • independent standby and paging delivery guarantees

Declared limits

Status
unmeasured

Requirements

All 22 clauses of Oncall’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.

OC 22 clauses

  1. OC-001
    Event identity and alerts Requirement. Persist accepted events separately from alerts and human incidents. Identity is source plus eventId; conflicts compare the normalized allowlisted signal fields (canonical timestamps and trimmed strings), rather than irrelevant JSON whitespace or order or discarded fields. Repeated source event IDs return the original receipt; changed bytes with the same identity conflict. Receipts, admission order, the decision snapshot and the alert change commit atomically. Each signed or bearer source is explicitly scoped to service identities, and the service binds its environment. A deduplication key groups active alerts only within its source, service and environment; on the native Events API lifecycle generation is required, and trigger and recovery must carry the same generation. Recovery before trigger creates a recovered tombstone; a later trigger for that generation records evidence without reopening, reopening needs a new generation, and a delayed recovery can only close its own generation, never a new alert. Recovery affects the matching alert and never resolves an incident. Acceptance. Through the signed and bearer native intake doors: 1. Signed and bearer events are accepted; repeating a normalized identity returns the original receipt, changed content under the same identity conflicts, a recovery sent before its trigger stays recovered, a recovery sent after a newer generation leaves the newer alert unchanged, and protected state shows each result. 2. Grouping across multiple sources never merges service or environment boundaries.
  2. OC-002
    Routing replay Requirement. Retain the routing policy version and explanation at admission. Release 1 routes coordination ownership. Its on-call notification runs follow saved timing and paging rules under OC-012. Replay is read-only: it returns the historical decision, ownership, policy and evaluation snapshot beside the proposed current decision, in submitted order, and produces no alert, incident or external effect; it does not claim schedule replay. Unmatched signals remain visible and unowned; suppression reasons remain inspectable. Acceptance. 1. Admit a severity-routed event, change the policy and replay it: the immutable admission explanation is compared with the proposed decision in submitted order, and durable state is unchanged before and after (zero writes).
  3. OC-003
    Roles and authority Requirement. Incident changes require an active authorized human session or an explicitly scoped OC-053 service-account capability (RL-2). A machine is attributed as a service account and never gains human-session, member-management or human-review authority. Viewer reads; responder coordinates; admin manages services, policies, members and import. All active members see all workspace incident data, and admin, responder and viewer permissions are separate from incident-commander attribution. Ingest credentials grant no read or human authority. Bearer and signed intake return only duplicate, the stored event id, the source eventId, service, observedAt and acceptedAt (201 accepted; 200 deduplicated). Routing decisions, snapshots and alert identities stay behind authorized read and export doors; scoped OC-053 reads disclose only granted service records, and archive and export authority remains session-protected. The status-only stakeholder role, with no incident, alert, runbook or archive access, is specified and tracked in OC-061. Acceptance. 1. Anonymous, expired, revoked, viewer, responder and admin sessions each get their role's outcome on reads, commands, sources and archives, and a real HTTP mutation held open while its author is revoked or downgraded publishes nothing. 2. Minimal intake receipts disclose no private routing data.
  4. OC-004
    Incident state transitions Requirement. Incident state transitions are explicit. Acknowledgment assigns responsibility. Resolution requires recovery evidence and a summary, independently of alert recovery. Optimistic revision checks reject stale edits. All accepted changes append an attributed timeline transactionally with state. Any active responder or admin can attest recovery and follow-up evidence; attestation is a human claim, not automatic measurement verification. This resolution rule governs declared incidents; an alert-only page that its source recovers closes without a human summary under OC-056. Acceptance. 1. Declare from admitted alerts and acknowledge; stale and concurrent changes are rejected; the source alert clears; resolution without evidence and a summary is refused; the incident then resolves, and its attributed timeline reads back over HTTP.
  5. OC-005
    Copied runbooks Requirement. Runbooks are copied into the incident at declaration; future service edits never silently rewrite incident instructions. Follow-ups carry owner, due date, open or completed state and completion evidence. Resolved incidents retain open work and editable review. Acceptance. 1. Declare an incident and edit its service runbook, and the copied incident steps remain unchanged; an owned, due-dated action requires completion evidence; unfinished work and the review are retained after resolution.
  6. OC-006
    Bounded outbound incident effects Requirement. Release 1 permits signed OC-053 response events to an endpoint a current administrator explicitly approved (RL-2) and scheduled email and owner text pages under OC-012. Configured remote mail also sends sign-in links. AI calls, production actions and Lamp publication are outside release 1. Handoffs are minimum summaries with stable identity and visibility; an exported draft is explicitly unreviewed. Source links grant no access. External acceptance, delivery and acknowledgment are distinct later records. Approved OC-053 events are proved under OC-053. Acceptance. On a normal installation (OC-012: paging off) with no approved OC-053 endpoint: 1. Coordination and handoff preparation and export create no page, paging receipt, production action, AI call or external publication. 2. Draft exports remain unreviewed, and source links confer no access.
  7. OC-007
    Native archive Requirement. The native archive preserves services, policies, incident, alert, event and timeline identity and attribution, runbook and follow-up history. Archive and restore require current admin authority, and handoffs remain internal. Schema and references are validated before an atomic restore, and an invalid restore preserves existing data. Restore replaces application state while preserving the current administrator identity; credentials remain installation-local, other sessions are revoked, clients reload state, and historical and inactive identities are retained. Authentication secrets and sessions are never exported. Released migrations remain immutable. The OC-012 delivery log and relay credentials stay installation-local. Restored notification runs stay inactive. The full future paging archive is OC-052. Acceptance. Through the protected native archive door: 1. Export the archive, restore valid held records, and reject malformed references and storage failures without losing prior data. 2. Event, incident, runbook, action, timeline and attribution identity survive, and authentication material is absent from the archive.
  8. OC-008
    User-authored records kept Requirement. Authored incident records are kept through restart and export. Ingress accepts bounded structured fields. Provider and incumbent-compatible intake retain bounded structured evidence and no raw bodies under OC-059. Native Events API parsing is bounded to 64 KiB; authenticated oversized, malformed or incomplete native input retains only its first 64 KiB or fewer of exact raw bytes as untrusted incomplete custody under OC-059, never parsed or routed from that prefix. Incumbent-compatible endpoints and provider adapters use the larger per-provider bounds of OC-059. There is no arbitrary remote fetching or runbook execution. Complete retention controls are OC-040. Acceptance. 1. Over-limit and malformed intake is neither parsed nor retained beyond its bound, and over-limit command input is refused. 2. Hostile structured text and runbook links display literally, with no script execution and no fetch. 3. Authored history is preserved after restart and export.
  9. OC-009
    Accessible interface Requirement. Apply BASE-ACCESSIBILITY-001 to Oncall's web journeys and the native apps in OC-029. A failed write is visible and never shown as saved. An unavailable UI is never described as a pager coverage failure, because release 1 supplies no pager. Each release publishes a conformance report (VPAT 2.5 Accessibility Conformance Report, WCAG 2.2 edition) stating the result per success criterion and per surface; an unsupported criterion is named, never omitted (R-4). Named assistive-technology passes cover VoiceOver with Safari on macOS and NVDA with Chrome on Windows for web, and VoiceOver on iOS and TalkBack on Android for the apps; each completes sign-in, finding an incident in the filtered list (OC-060), acknowledge, snooze, reassign, schedule view and override (R-3). Acceptance. 1. Run declaration, acknowledgment, notes, schedules, overrides and preview against BASE-ACCESSIBILITY-001. 2. A real stale-write failure is announced with no saved claim. Native proof. The signed-in incident journey in tests/product-browser-journey.mjs exercises keyboard note refusal at 390 CSS pixels, with browser captures at 390 and 1440. An independently authenticated session commits one note. The stale keyboard submission returns HTTP 409, announces the conflict in an alert, restores visible focus to Add note and leaves the draft editable without a saved confirmation. Protected readback contains exactly the winning note and revision advance. Paging records and outbound work stay unchanged, and the phone failure state fits the viewport with zero serious or critical axe findings.
  10. OC-010
    Health and honest commands Requirement. Health identifies the deployed version, operating commands describe actual local and hosted effects, and acceptance records distinguish local evidence from remote, provider and pilot outcomes. Capacity promises require measured evidence. Pager, timer, mobile and standby health are OC-026 to OC-029's, and paging measurements are OC-064's. Each new execution class proves its own durable failure diagnostics under door rule D-1 before it ships. Acceptance. 1. check and describe run with storage available and unavailable, health reports both states, and the deployed identity matches the actual build. 2. Local, hosted, provider and human-drill outcomes are recorded separately.
  11. OC-011
    Calendar-day rotations Requirement. Named-zone calendar-day rotations retain fixed primary and backup member slots. Hand-offs use the wall minute plus integer civil days, not fixed elapsed seconds. Repeated minutes explicitly choose earlier, later or reject; nonexistent or rejected boundaries produce visible gaps. Override intervals include their start and exclude their end; an overlap in the same role is rejected. Inactive, viewer and missing members do not shift slots. A duplicated primary and backup assignment leaves the backup unavailable. Acceptance. 1. Save primary and backup schedules and query the HTTP preview across spring and fall DST, ambiguous and nonexistent minutes, override edges and an overlap refusal; inactive, viewer and missing slots are retained as gaps, and duplicate primary and backup responders are detected.
  12. OC-012
    Rule-based email and optional text-message paging Requirement. The existing pager is authoritative (RL-1). Paging is off by default. Oncall's scheduled job processes saved notification rules matching the alert's urgency and each selected responder, using the saved delays and escalation policy. When no policy is saved, matching rules for the assigned responder run as a single step. When an alert's email and text are due at the same time, email runs first. Alert intake schedules work without sending. Acknowledgment, resolution or source recovery stops later pages and retries. Configured email uses the installation's mail sender. Owner-only mail pages the verified installation address. Text uses the Business platform relay at TEXT_RELAY_URL with the same bearer MAIL_API_KEY that authorizes relay mail. The selected responder must be the installation owner. The request omits to, giving the platform sole authority to select the owner's Account-confirmed mobile. An Oncall contact number confers no sending authority. Email and text include the alert title, service, urgency and a link to the alert. The outgoing text is at most 300 characters. A durable delivery record prevents duplicate claims on repeated intake and overlapping scheduled runs. Relay 202 records queue acceptance and the masked destination's last four digits when supplied. Relay 409 directs the owner to confirm their mobile in the platform Account. Relay 403 records recipient refusal. Relay 429 records the time from a valid Retry-After and allows one scheduled retry while the alert remains open and the escalation step and owner remain current. Relay 503 records that the platform has not set up texts. The alert shows each outcome without storing the relay credential, a full mobile number from the relay or raw provider responses in the delivery log. Queue acceptance, handset delivery and acknowledgment are separate outcomes. The retired direct SMS log remains historical. Legacy delivery, job, tick, callback and resume doors refuse with the independent-standby and real-phone requirements and create no receipt. A labeled demo simulation proves only simulation. Voice, push and independent standby remain outside this capability. Production text activation requires authorization for the platform provider and the owner's mobile confirmation. Native cutover additionally requires OC-026 to OC-029 and OC-038 real-phone and provider-failure acceptance. Acceptance. 1. On a normal installation, each delivery, job, tick, callback and resume door returns the paging-OFF refusal and creates no receipt. 2. Demo simulations are treated as simulations. 3. With a configured relay and matching saved rules, admit a critical alert without sending inline. The scheduled job attempts due email before text, claims each page once despite repeated intake and overlapping runs, and posts bounded text without to only for the selected owner. A non-owner SMS rule shows a refusal with no relay request. Observe 202 queued with only a masked destination, 409 owner confirmation, 403 refusal and 503 unavailable. A 429 with valid Retry-After defers at most one retry. Acknowledgment stops pending repeats and retries. With no relay configured, no text request leaves the Worker. 4. With owner-only mail configured and no text relay, a matching email rule opens a notification run. The scheduled job sends each due rule once, following the saved escalation policy when present. Acknowledgment, resolution or recovery ends pending work. Only the owner’s verified installation address can receive an owner-only page. Rules for other members show a refusal in the run. The mail contains the alert title, service, urgency and alert link.
  13. OC-013
    Held history stays historical Requirement. Held synthetic job, receipt and callback identities remain historical data. Restore pauses pending jobs. Historical acknowledgment and explicit cancellation retain attribution; the synthetic resume and new timer starts refuse under OC-012. An acknowledgment never proves recovery. Acceptance. 1. Restore held synthetic jobs, receipts and callbacks: pending work is paused, acknowledgment and cancellation keep their attribution, resume is refused, and incident recovery remains unchanged.
  14. OC-014
    Side-effect-free previews Requirement. Schedule preview, now/next and replay are side-effect-free; actual historical delivery claims remain labeled synthetic. Nothing in this release certifies production delivery. Acceptance. 1. Read now/next and the schedule and routing previews: durable state and receipt counts are unchanged, no timers or provider actions are created, and historical synthetic data stays labeled.
  15. OC-015
    Strict module archives Requirement. Strict module archive validation and atomic replacement remain supported. Imported pending historical jobs pause. Scope and local capacity limits remain explicit. Acceptance. 1. Round-trip the strict module archive through protected HTTP; unknown fields, broken references and an injected SQL failure are rejected atomically, callbacks are retained and pending historical jobs pause.
  16. OC-016
    Recovery checkpoint Requirement. A paired recovery checkpoint captures coordination and scheduling records with both revisions in one consistent storage snapshot, excludes authentication, and validates its envelope and intrinsic record integrity. Explicit current-admin restore replaces both datasets atomically, pauses imported pending jobs, preserves the current-password mapping rule and revokes prior authority exactly as coordination restore does. Missing references in retained paused or finished history remain evidence, never dispatch authority; missing references for pending jobs are invalid. Invalid input, capacity failures, storage failure or losing concurrent writes preserve the previous complete state and cannot revoke a winning restore's new session. Proof runs through the actual emitted Worker and D1 and the private local CLI. Acceptance. 1. The checkpoint door and the private CLI each capture and restore both revisions. 2. Malformed, capacity and storage failures and competing writes preserve the previous complete state, identity mapping is explicit, orphan history stays evidence, and earlier sessions are revoked without revoking the winning restore session.
  17. OC-017
    Reviewed handoffs Requirement. Persist explicitly authored, unsent handoff copy with an explicit intended audience, immutable incident and service snapshots and canonical content hashes. Preparation and review actions have stable identities that conflict on changed content. Only current active responders and admins prepare, review or withdraw; viewers inspect permitted internal records and admins restore. A review binds exact copy and source versions, becomes ineligible on source drift or a recovery hold, and never grants sending, publication, recovery verification or independent-review authority. Withdrawal is terminal and preserves attributed append-only history. OC-006 and historical unreviewed envelopes stay unchanged. Separate additive handoff storage and archive are bounded to 64 records, 128 history entries per record, 128 KiB per record and 1 MiB aggregate. Explicit checkpoint version 2 includes handoffs; version 1 remains supported. Restore retains historical identities and holds active approvals atomically alongside existing recovery and credential and session safeguards. Invalid input, capacity or storage failure or losing concurrent writes preserve the complete prior state. HANDOFF-STAGE.md defines retained snapshots, eligibility and permissions. No provider send, remote fetch or Lamp publication is authorized. Acceptance. 1. Prepare, review, inspect and export exact handoff copy over protected HTTP; change the source or revision, withdraw, restore versions 1 and 2 and race writes. 2. Eligibility and holds, stable action identities, append-only attribution and every storage bound hold, with no send authority.
  18. OC-018
    Maintained root commands Requirement. Maintained root seed commands use the pinned Base installer, owner identity, dev identity and theme, with the published rer version that package.json pins and the effects OPERATIONS.json declares. Ordinary email-link sign-in is kept and tested independently of dev identity. Setup creates no example incident or service. Release 1 supports hosted coordination beside the existing pager without an independent standby (RL-1); portable SQL batch bindings are required. rer deploy verifies deployment identity, claims the configured owner automatically and retires the setup token. Hosted email-link sign-in requires a configured remote mail provider. Removal with the same Cloudflare credentials deletes only recorded deployment resources and verifies that they are gone. On local and hosted apps, the configured owner uses native email links, while admin-created team members use installation-local workspace names and passwords; no invitations are sent. Local dev identity never grants hosted access, local dev and preview bind loopback, and anonymous first-admin bootstrap remains loopback-only. The hosted journey on a real Cloudflare account is field proof R-1. Acceptance. 1. The documented setup, dev, build, preview, reset, archive and deploy dry-run commands run, owner entry opens the workspace, and an admin-created member signs in by password.
  19. OC-019
    Additive upgrade Requirement. The additive upgrade removes the one-row coordination store after migrating every entity and original array order to relational tables. Released migrations stay unchanged. Held passwords and identities are preserved. New Base identity cannot silently claim held coordination data. Acceptance. 1. Seed the held one-row SQL data and migrate: the held password signs in, and every entity, nested history and original ordering compares equal through HTTP; a repeated migration and restart silently reassign nothing to Base identity.
  20. OC-020
    Now/next and calendar feed Requirement. Now/next explains current coverage and each role's next effective hand-off. The private ICS feed uses the same resolved UTC boundaries, including overrides and gaps, and exports primary and backup separately. It requires a current session; the default window is seven days, and explicit windows are bounded to 31 elapsed days. Calendar downloads carry no public bearer access. Alert intake records immutable events with scoped source credentials; intake itself sends no page, and a text can follow only from the optional sender's scheduled run under OC-012. Acceptance. 1. Read now/next and the authenticated ICS feed for the seven-day default and bounded explicit windows: primary and backup UTC boundaries, overrides and gaps are correct, unauthenticated access is denied, and admission itself sends no page.
  21. OC-021
    Move-in preview Saved export files enter a reviewed move-in preview with zero native-object writes. A current administrator reviews the exact source fingerprint before applying; people and services must be explicitly mapped, and schedules and policy data stay paused. Original files, rejected objects, unmapped fields, the journal and provenance remain available. Missing detail exports reject, and unmappable rotations or rules are named without approximation. The flow grants no login rights, activates no routing credentials and calls no source account or API. Complete migration and real-export acceptance remain separate requirements. The Site has no verified real-data importer receipt for named products.

    Presentation summary by Run Edit Run: Describe the current signed inactive saved-file preview and proof limits without an unsupported named-product real-data claim. The publisher contract remains authoritative. Exact publisher wording is in CONTRACT.md.

  22. OC-022
    Resume and undo Requirement. Journaled imports support bounded resume after restart and explicit undo. SQL checks current actor, session and admin authority inside publication and reversal. Changed source identities require a reviewed catch-up through the shared door; outside that lifecycle they conflict. Duplicate unchanged sources are idempotent. Undo removes only unchanged attributed native objects; edits are preserved with an explicit conflict. Invalid input or failed publication leaves prior committed state unchanged; partial progress remains visible and resumable. Native proof. In tests/activation.mjs, the per-vendor “unfinished checkpoint” journey applies one bounded batch of a PagerDuty or Opsgenie saved file, proves its checkpoint is strictly inside the reviewed total, restarts the Worker, and completes the same job and fingerprint. It compares the committed prefix unchanged, checks each remaining object exists once, retries the completed job without new effects, and undoes exactly that import while native membership and paging state remain unchanged. The injected native SQL failure and expired publication lease legs distinguish rolled-back publication from retained partial effects that require explicit rollback. The same file's saved-response journeys cover unchanged replay, and its native-edit and later-import journeys preserve records under NATIVE_EDIT_CONFLICT and IMPORT_SUPERSEDED, including revoked-session refusal. In tests/import-door.mjs, the PagerDuty account HTTP journey revokes Business import authority inside the committing batch, injects publication failure, and checks unchanged native records; its identical-byte and reviewed catch-up journeys cover unchanged and changed identities. These are synthetic saved-file proofs with imported objects inactive and paging OFF; live account conversion and cutover remain with OC-038 and OC-074. Acceptance. 1. Apply, interrupt and restart, resume and undo both vendor imports over HTTP; revoke authority at publication, inject an SQL failure, replay unchanged and changed identities, and preserve native edits as named undo conflicts.

View as agent

These publisher documents are copied unmodified from the release. Site presentation summaries and historical screenshots are attributed separately on this page. An agent evaluating Oncall 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.
LICENSE
RELEASE.json
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.
publisher-release.json

Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.