User guide: contents

The runs list

To see every change, open Changes in the sidebar (#/runs). The page is titled Runs in the Admin view and My runs in the Advanced view; it is the same list, and a user sees only their own changes. (The Simple view has no such list: Changes opens Today there.)

The Changes list, grouped into Needs you, Running, Queued, Failed and Completed

Each row is titled with the change's title (or its task, or the flow name when there is no title), and shows the change's phase (Understand, Plan, Build, Check or Deliver) and a status with an icon and a word. Click a row to open the change's page. Rows have no "?" button and no step column; open a change to see its steps. A run of the architect has the mark refinement; click it to open its session on Ideas. Below 768 px the rows become cards, with each cell labelled.

Runs are grouped in sections, in this order, each with a count: Needs you, Running, Queued, Failed and Completed. An empty section is left out, and a run is in exactly one section. The section comes from the Foundry's record: Needs you holds runs whose next move is yours (the record says You), Queued the runs in the queue, Running the running runs (and waiting runs that are not yours), Failed the failed runs, Completed the rest. Runs that wait for a limit, the budget or another run are not under Needs you. The first three sections are open; Completed is quieter and collapsed when it has more than 10 runs (press Show all). Every row shows the status, the next action ("what happens next", also for finished runs), the first line of the task, the repository and issue, and when it was updated. At most N runs execute at the same time (Settings → Runs at the same time); the rest queue. Each queued row shows its place (1 of 4), a link to what it waits for and, for a bug story, a "goes first" mark. An admin sees the running count (2/3 running) in the Queued heading. Remove on a queued row takes it out of the queue; it asks first.

Search and filters. A bar above the list helps you find a run. It is on both Runs and My runs; only admins have the Owner select.

  • Search runs takes a run id, an issue number like #7, or text (200 characters at most). The list updates 300 ms after you stop typing. Your text and cursor stay in the box while the list refreshes.
  • Repository, Flow, Status, Time (Today, 7 days, 30 days) and Owner are selects. The server answers them, so a run older than the newest 200 is found too. A repository name works in any letter case.
  • Only what needs me and the Show buttons (All, Needs you, Running, Queued, Failed, Completed, Archived) only narrow what is already loaded. Archived asks the server for the archived runs (archived=1); "Only what needs me" and the repository filter apply there too.
  • Clear filters shows when a filter is on and puts the list back to #/runs.

Queued jobs that have no run yet follow the repository, flow, time, search and owner filters; a status filter hides them. A line for screen readers says "1 run matches." or "N runs match." With no match you see "No runs match your search and filters." and Clear filters. When a filter asks the server and 200 runs come back, the list says "Only the newest 200 matches are shown." If a change cannot be loaded, the bar and the address go back to the last filter that was shown and a message tells you why.

The address keeps your choice, so you can share the link: #/runs?q=…&repo=…&flow=…&status=…&time=…&owner=…&needs=1&view=…. Unknown values are ignored. The Archived view is view=archived. A saved view still remembers the repository and the owner only. The four counters on Today open this list with their own filter.

The list refreshes every 30 seconds without jumping: your keyboard focus, scroll position, open sections and the chosen owner stay as they are, and only the rows that changed are redrawn.

Density. The bar has a Density group: Comfortable (cards, the default) and Compact (one table per section, one row per run). The compact table has the columns Status, Change, Phase, Next, Task, Repository and Updated; an admin also sees Owner and Cost. Each row has the same status mark, links, buttons and checkbox as the card. Switching keeps open sections, Show all, the selection and the focus. The choice is remembered in this browser (scf-runs-density in local storage); a browser that does not allow storage simply forgets it.

Archive several runs. Under Show, Archived lists the archived runs in one section, "Archived (n)", newest first. Rows in Failed, Completed and Archived have a checkbox labelled "Select run <flow> <work or id>"; each of these sections also has Select all, which ticks the rows shown in it (after Show all). Other sections, and the read-only preview ("view as"), have no checkboxes.

With a selection, a bar shows "N selected", the action and Clear selection. The action is Archive N runs (or Archive 1 run), or Take out of the archive in the Archived view. Archiving asks once: "Archive N runs? They stay available under Archived." Taking out does not ask. The runs are sent one after the other; while a batch runs the buttons do nothing. A run that is queued, running or waiting is refused, and the reason is shown. The result is a message such as "Archived 10 runs." or "Took 10 runs out of the archive."; when some were refused it adds "2 were refused: …" with the reasons. The list then reloads.

The selection stays through the 30-second refresh. A run that leaves Failed, Completed or Archived is dropped from it, and changing to or from the Archived view clears it.

An admin sees every run, with the owner and the cost in each row, and can pick one account in the Owner filter (the list shows "All owners" and each account with its number of runs). The owner shows the account's name, deleted user when the account is gone, and nothing for a run without an owner. Queued rows show the owner's name the same way. A user sees only their own runs and their own queued runs; runs of others in front of them show as "n runs ahead of you". My runs has the same sections, with the same selection and bar for archiving (a user can archive their own runs only), and a Start work button next to the title.

The status in a row is the plain status name (see "Words the Foundry uses"). To read what it means and what happens next, open the change: the status on its page has a ?. Press it to show the two sentences, and press it again to close them. It works with a mouse, the keyboard (Tab, then Enter or Space) and touch.

Every status pill also shows a small icon before its words (for example a check for done, a clock for waiting, a cross for failed), so you can tell what it means without the colour. The words are unchanged.

How long will it take? A run that is not finished shows "Step N of M": the number of its step in the flow. It can jump, because steps that only run when another step jumps to them are counted too. A running run also shows an estimate ("Estimate: about 20 min left (usually 25–40 min in total)"). It comes from succeeded runs of the same flow (same steps) in the same repository, among the newest 500 runs, and counts working time only. It appears after 3 such runs and starts again when steps are added, removed or renamed. It is an estimate, not a promise. "Taking longer than usual" means a step runs much longer than it usually does. Nothing is wrong yet: look at the live log.

Change feed (API)#

GET /api/feed tells a program what changed since its last call, so it does not have to poll several routes every few seconds. It answers only kinds and ids. The details are read through the normal routes (GET /api/your-turn/mine, GET /api/runs/:id, GET /api/repos, GET /api/changes/:id).

  • ?since=<seq> — the seq of your last answer. The first call has no since: it answers reset: true and the current seq, so the caller reads everything once with the normal routes.
  • The answer is { "seq": 812, "changes": [{ "kind": "run", "id": "20261113-…", "at": "2026-11-13T10:02:11.000Z" }] }. The kinds are turn (an item of Your turn was added, changed or is gone), run (a run's state changed), repo (a repository was added, changed or removed) and change (a change request changed). One id appears once, with its newest change.
  • ?wait=<seconds> — 0 to 30. The call is held until a change you may read is recorded, or the time is up. A call that already has a change answers at once.
  • reset: true — since is missing, older than what is kept, or newer than seq. What is kept: every change of the last 24 hours and the newest 10,000 changes, never more than 20,000. Read everything once, then keep the new seq.
  • The sequence is kept in feed.json in the data folder, so it goes on after a restart. A feed file that cannot be read starts a new feed, and the next call answers reset: true.
  • Access. You see a change only when you could read the object now or when you could read it before the change (so a deletion or a move is still reported to the person who lost the item). A user sees their own runs and repositories of their workspaces. Change requests are shown only to their owner. An admin sees all, except another account's change requests. A service account sees a kind only when its scope holds that kind's read route.
  • Errors: 400 for a since or wait that is not a whole number in range; 503 while the feed is not running.

From the command line: scf api GET 'feed?since=812&wait=30'.

Notices (API)#

GET /api/notices gives a program the notices the Mac shows, so it can pass them on. It is a long poll like the change feed above, and it needs the inbox data class (or the route GET notices in a service account's scope).

  • ?since=<seq> — the seq of your last answer. The first call has no since: it answers reset: true, no notices and the current seq; from then on, ask with that seq.
  • ?wait=<seconds> — 0 to 30. The call is held until a notice is recorded, or the time is up.
  • The answer is { "seq": 57, "notices": [{ "seq": 57, "kind": "turn", "at": "2026-11-13T10:02:11.000Z", "title": "…", "text": "…", "key": "…", "runId": "…", "link": "https://…/#/your-turn" }] }. A notice has no key, runId or link when it has none.
  • kind — turn (a Your turn item is new or changed; the text is the one the Mac shows for that item), done (a run succeeded; only when "Also notify when a run succeeds" is on) or summary (the daily summary). key is the item's opaque key, as GET /api/your-turn/mine shows it.
  • link — the public address (Public address in Settings, see Network) when it is set, otherwise this Mac's address.
  • Notices are recorded whether or not a macOS or Slack channel is set. With FACTORY_NO_NOTIFY=1 the notifier is off and nothing is recorded.
  • Known secret values are redacted from title, text and link.
  • Notices are kept for 7 days. A since older than that, or newer than seq, answers reset: true with no notices: read the current state through the normal routes, then keep the new seq.

Search (API)#

GET /api/search finds runs, issues, refinement sessions, repositories and flows by text or by id. The Search box in the top bar (see "Search" under Keyboard) uses it.

  • ?q=text — words separated by spaces. Every word must match. Equal matches rank above prefixes, prefixes above word starts, word starts above "contains". A word like #254 matches issue and run numbers only; 254 matches numbers and text. q can have 100 characters at most, else the answer is 400. An empty q gives { "q": "", "groups": [] }.
  • ?id=type:id — up to 8 times, to check that things still exist and may be seen. type is run, issue, refinement, repo or flow. A wrong shape gives 400. q is ignored.
  • The answer is { q, groups, incomplete? }. A group has type, label, hits (8 at most) and more (true when there are more). A hit has type, id, title, href and, when known, status, repo, detail, owner and at. status is the same word that Runs and the queue show. If one source fails, the other groups still come back and incomplete names the failed type.
  • A user gets their own runs (also queued ones), repositories and refinement sessions, and the flows they can start. No issues, no owner names, no server paths, no costs.
  • An admin gets the runs, repositories and sessions of all accounts with owner names, the issues on the board, and all flows. With as=<user> while viewing as that user, the answer is the one the user would get.

Improve this page on GitHub