User guide: contents

3. Follow, approve and resume runs

Every piece of work the Foundry does is a change. Behind each change is a run: one start of a flow, with its steps, its log and its result. The app talks about changes; the API, the command line and the files talk about runs. This part shows how to find a change, follow it while it runs, answer its questions, approve it and resume it.

Where to look, in short:

To do thisOpen
See what needs you nowToday in the sidebar
See every change, running or finishedChanges in the sidebar
Follow one change, answer it, approve it or retry itthe change's page (click it on Today or on Changes)
See where every story of a repository is (Admin view)Board in the sidebar
See how far an epic is and when it endsReleases in the sidebar

The left sidebar is the same in every view: Today, Changes, Ideas, Releases and Help. The Advanced view adds My repositories below a divider; the Admin view adds Board, Repositories, Flows and Administration. On a screen narrower than 768 px the sidebar is a drawer: open it with the Menu button (☰) at the top left. The button shows how many items wait for you.

The Simple view keeps the same five places but has its own Today and no list of changes: Changes opens Today, and each counter on Today opens its list there. See Simple: My projects.

Why a change takes longer than asking an assistant yourself#

You can ask Claude Code or Codex to make a change while you watch. The same change through the Foundry usually takes longer from start to finish. We have not timed one change both ways, so there is no fixed figure. The reasons come from how the default flow, issue-gitflow, works.

It does more for each change. In a session of your own, you decide what is checked. The flow takes these steps for a story that changes code:

  • A plan first. The plan is written before any code, and for many stories Codex checks it against the code. Checks on size and risk can split a story, or hold the plan until a person approves it.
  • Tests at several points. Tests run before the change, after the code is written, after fixes from the review, and on the merge with develop before it is pushed. A failed run starts a fix step, and the tests run again. A large test suite makes this the biggest part of the time.
  • A second opinion and the paperwork. Codex reviews the code, the review's findings are addressed, the documentation is updated, and a guard checks what changed before the commit.
  • A fresh start. Each run works in its own copy of the code. It reads the story and the code again, and knows nothing about a conversation you had elsewhere.

It waits. The time from start to finish also counts waiting:

  • For you: questions, a plan that needs approval, or a run that stopped and needs to be resumed. In your own session you answer at once.
  • For the machine: only a few test commands run at a time (test_slots, 2 by default), at a lower priority, so the computer stays usable.
  • For other changes: a change that touches the same part of the code as another one waits for it, and changes take turns to merge into develop.
  • For limits: the number of runs at once, the usage limit of a model and your spending limits can all hold work back.

What you get for the time. The Foundry works while you do something else, runs changes in different parts of the code side by side, applies the same checks every time, and keeps a record of each step. A direct session can be quicker because it may skip checks: it often runs only some of the tests while working, and has no second review or merge gate unless you ask for them. Compare the two with that in mind.

When to use which. Working directly suits a change that you want now and will follow yourself, for example while you are still deciding what it should be. The Foundry suits a backlog of clear changes that you do not want to watch.

To make it quicker:

  • Find where the time goes. A change's page shows how long each step took and how long it waited for a test slot. The run folder's test-times.json lists the test files, slowest first.
  • Make the tests faster. The watcher's quick_test_cmd can run only the tests a change touches inside a story, and the full test runs an agent starts before the merge use it too (agent_quick_tests); the full suite runs once, on the merge with develop (see Test tiers in the story section). Keep reuse of test results (reuse_test_results) on, so that code which already passed is not tested again.
  • Write the story so that nothing needs asking: what you want, how you can tell it works, and your choices where there is more than one.
  • Look at Needs you on Today, so a question or approval does not sit unanswered.
  • Leave the second review off (review_twice_above_risk, off by default) unless you want it.

Home#

Today in the Admin view: what needs you, the four counters and what is being built

Today is the first page. Open it with Today in the sidebar (in Current, also with the Foundry's name at the top left). Advanced and Admin show the same layout. (Simple has its own Today, see Simple: My projects.) It starts with a greeting ("Good morning", "Good afternoon" or "Good evening") and one summary line, for example "1 thing needs you, 1 change is being built, 3 finished today". With nothing to say it reads "Nothing needs you".

  • Needs you: at most one card for each item that needs you. The card shows the change's own title (the issue title), one sentence on what happened and what it means, and one main button. See what happened opens the technical cause. Items that are closed on GitHub, put aside with Not now, or finished as a split are not shown as needing you.
  • Four counters: Waiting, Building, Needs your check and Finished today. Each one opens Changes filtered to that list.
  • Building now: the five-phase strip (Understand, Plan, Build, Check, Deliver) and one sentence on what is happening now.
  • Finished recently: plain titles, with Show all for the rest.
  • Your turn (Admin view): below Today, the admin page lists the same items as Your turn, with their buttons. A change is shown once: when Your turn has it, the Today cards leave it out.
  • Share the metrics of your runs: the first item on Today in every view (Simple, Advanced and Admin) while you have not answered. It is removed once you choose Share or Don't share. See Share the metrics of your runs in the sign-in and account part of chapter 1, and Account settings in the account menu.
  • Since you last looked, Problems and Metrics (Admin view): below Your turn. Problems lists the problems of the Foundry that Your turn does not already show. Metrics is closed until you open it; All metrics goes to the Dashboard (Administration → Dashboard).
  • Empty: with nothing yet, Today says "Nothing here yet. Start work to begin." and offers Start work and My repositories. + New change in the top bar does the same as Start work.
  • Users see only their own work: no cost, model, health or other accounts.

Today asks again every 30 seconds; Your turn on the admin page every 5 seconds.

Messages and confirmations. After an action a short message appears and goes after a few seconds. An error message stays until you close it with ✕. A screen reader reads each message once. Anything you must still do stays on the page, not in a message. A dangerous action asks first in a dialog where focus starts on Cancel; Escape cancels. Dismiss on Today and Drop on Ideas show Undo in the message. Undo on Today brings back only the item you dismissed. Undo stays until you use it, close it or another message replaces it. A dropped session shows Undo only when it is yours.

Repository pages. My repositories (in the Admin view the sidebar calls it Repositories), All repositories and Credentials show a grey table while they load. If they cannot load, you see what went wrong and Retry; without permission you see that instead. If the list cannot be loaded again after an action, the old list stays with a note and Retry. If the sign-in methods cannot be loaded, the list still shows, with a note that you cannot add a repository now. A failed connection test stays on the row ("Connection failed" with the reason) until the next test, and the button reads Test again. After you add a deploy-key repository, a note on the page asks you to add the public key as a deploy key on GitHub; it stays until the connection works. Remove and Generate a new key ask first in a dialog. Add repository runs in steps and tests the connection after saving; Change authentication asks you to confirm. A read-only preview shows no action buttons. Rows on My repositories. Each row shows the short name (owner/name, or the address), how the Foundry signs in, whether it is Connected, Failed or Not tested yet, when it was last checked and how many runs are running or waiting for it ("—" if that cannot be read). A row has at most one thing to do, shown as one button: change the authentication (an account that needs a sign-in), install the GitHub App again, or test the connection (after a failed or missing test; a failed test also shows its first message). Repositories that need attention come first, and a line above the table says how many. From 8 repositories a filter box narrows the list by address. Compact rows makes the rows smaller; the browser remembers it. Long names are cut, with the full text on hover. No secret is shown. One repository. Open on a row (or #/repos/<id>) opens the page of that repository, in both displays. It has three sections. Overview: name, address, the attention state and next action (as on the row), active runs, the date it was added and Definition of Ready (read-only). Connection: the method, the user name if there is one, the same Provider, Identity and Scope as everywhere (see "Provider, identity and scope" below), the public key with Copy and the deploy-key hint (deploy key), or the install link (GitHub App); the last test with every check (Read, Write, GitHub API) and its message; and the buttons Test connection and Change authentication. Dangerous actions, last and set apart: Generate a new key (deploy key only) and Remove. Each asks first and names the repository and what is deleted. While one action runs, the other buttons are disabled. An unknown repository, or one of another account, shows "No such repository." with a link back. A read-only preview shows the sections without buttons. The breadcrumb names the repository; Back goes to the list. A row no longer shows the public key, so open the repository to copy it after you add a deploy-key repository.

Ideas pages. Ideas in the sidebar opens the refinement sessions (#/refinement). The session list and a session show a grey skeleton while they load. If they cannot load, you see what went wrong and Retry; a session that is not found and a missing permission are shown as their own messages. A session refreshes by itself; a refresh that fails keeps what you see and says "Could not refresh. Showing data from …" with Retry. A refresh never replaces a field you are typing in or that has unsaved text. While the architect works, the page says so once. Each field shows whether it is saving, saved or failed; a failed save keeps your text and has Retry. If a publish creates some issues and fails for the rest, a banner lists both and has Retry for the rest; it stays until the rest is published or removed. A draft that was split can no longer be changed: you see a message with a link to each part, and your text is kept. Removing a draft, moving text to the notes, merging, publishing with text that is not saved, removing a reason, replacing a field with a suggestion, removing a map entry and dropping a session ask first in a dialog.

Your turn#

Your turn lists only what waits for you, one button each: questions to answer, approvals, failed or stopped work, a release pull request to merge, and a watcher that has an error. In the Admin view it is part of Today, below the Today cards; the old address #/your-turn opens Today. It never lists work that is running, queued, paused by a limit or waiting for another story, and never evaluation runs.

  • The monitor: admins also see an item when the circuit breaker stopped bug stories, and one item per finding that needs a person. A finding needs a person in two cases: two bug stories did not fix it (the item offers Try again, and shows the sentence, the evidence and links to the two stories), or its detector asks you first (the item shows the sentence, the exact change the bug story would make, and Approve, which makes the bug story now). The item is shown with or without monitor.report_to; without it, the item says to set monitor.report_to on the Watchers page, and neither button works. An item cannot be dismissed; it goes when you press its button or mute the finding on the Watchers page (Administration → Watchers; see "Two tries, then a person"). A finding that asks first and is gone, or whose repair later succeeded, removes its item.
  • Owner (admins): an item that has a run shows the owner's name, deleted user when the account is gone, and nothing otherwise. Users see no owner name.
  • Order: the item that holds back the most stories comes first, then the one that waits longest. Items are grouped by repository.
  • Comments that cannot be read: an issue whose comments cannot be read in time is listed from its label alone, with no number of questions.
  • Every waiting label counts. The issue is listed also past the first 100 issues, also next to another status label, and also without the trigger label unless its run is parked. An answered issue stays listed until its label goes. No status comment is written on it.
  • One item per issue. When several watchers list the same issue (the repository name is not case-sensitive), Your turn shows one item. It is the ordinary listing before an extra one, then the one that needs you, then the first watcher's. A waiting-label issue does not also get a separate item for its older runs.
  • Something to do: a question that needs something only you can do (a file, an account, access) is listed as "waiting for you — something to do". The action is the question's title, as one line. Show question opens the question and Answer… sends your answer as a comment on the issue. When the question names a file (**Needs:** file <path>), the story goes on by itself once that file is on the develop branch (the default branch without gitflow); the item says so, and no answer is needed. /defaults does not answer such a question. Answer… offers no Use recommendation for it, and an answer that only takes the recommendation is refused while every open question waits for a file: committing the file is what helps.
  • Each item: what it is, why it waits, the action, and since when. The button opens the place to do it (GitHub in a new tab, or the change's page).
  • Runs you started yourself (with + New change or scf run) count when they wait for approval, at any age, or when they failed or stopped in the last 7 days. Failed release, CI-fix and review runs started by a watcher show the same way. A failed automatic release build (see Sources) is titled "Build failed — open the run" and links to its run; Dismiss works as for other failed runs. Runs of older versions have no record of who started them and are treated like watcher runs.
  • Archived and replaced runs: an archived run is never listed here, whoever started it. A failed, stopped or interrupted release-daily or daily-pr run is not listed once a later run of the same flow and repository succeeded. The server then archives it by itself, with no age limit: when the release finishes, and at start-up for the older ones. Its change page and the Runs list still show it. Take out of the archive lists it again until the next release finish or server start archives it again.
  • Answer and approve here: for an item of a watcher, buttons next to the GitHub link do the work. Show questions has Accept all recommendations (only for questions asked up front) and Answer… (a box per question; each needs an answer, and Use recommendation fills one in visibly). Show plan, Show split and Show request show the risk and Approve / Reject (say what to change). A failed item has Retry and Retry with a hint…. Each action is a normal comment on the issue under the Foundry's GitHub login, signed with your name, so replying on GitHub still works. Approve and reject need write access for that login. The item then shows under Done — continuing.
  • Who may act: an admin acts on every item. A user acts only on an item of a project they own (the watcher's owner is their account), and on GitHub only when the watcher does not use the server's own GitHub login. For any other item the answer is "no such item", as for an unknown one. On a local project the answer, approval, rejection and retry are written on the story with no GitHub call, and the owner of the machine may approve or reject. Each action is written to the audit log with your own account.
  • Dismiss hides an item. It stays hidden until its situation changes (a new question, a new approval, a new failure). Show again at the bottom brings all dismissed items back. Watcher errors cannot be dismissed. Dismissals are kept in your-turn.json in the data folder.
  • No refresh needed: the list updates every 5 seconds. When you come back from a GitHub link, the watcher checks GitHub at once. An answer you give elsewhere shows at the next watcher check.
  • Closed on GitHub, run still working: such an issue is listed, with a link to the run (the Changes list while the run is only queued). Cancel the run if the work is no longer wanted, or Dismiss it to let the run finish.
  • Closed issues: a failed, stopped, waiting or cancelled run of an issue that is closed on GitHub is not listed, not counted, not a card on the Board and not in the failed list of "since", and nothing is sent for it. This holds for every run, whoever started it, except a run that closed its own issue (for example a hotfix that could not be merged back to develop). Its change page shows "Nothing — the issue is closed" and no Approve, Reject or Retry. If the last check of the issue on GitHub failed and nothing is stored, the item stays listed with the note "The state of the issue on GitHub could not be checked". If the issue is opened again, the run is listed again.
  • Retired flow: a run that a watcher started (or that has no source) and whose flow no longer exists in any flow folder cannot be resumed. Its change page shows "This run's flow is retired — it cannot be resumed." and no Approve, Reject or Retry; Your turn offers no Retry for it. The record says to start over (failed) or to start a new run (stopped, cancelled, interrupted). The three API routes answer 409 The flow "<name>" is retired — this run cannot be resumed. Start the work again with a current flow. and scf resume|approve|reject refuse without --force. A run you started by hand is never retired. If the issue is closed, the closed message comes first.
  • Checked every minute: the Foundry checks that the Board, the watchers, the runs and this list agree. The result is on the Dashboard.
  • Empty: it says "Nothing needs you." and, when it can, how many stories are being built and when the next release pull request is expected. The Foundry's character shows as a small picture next to that sentence, on its own page (the copy on Home has no picture).
  • Badge: the number of items shows on Today in the sidebar, on the Menu button of a narrow screen, and in the tab title, for example "(3) Foundry". When something waits, the app opens on Today.
  • Notifications: new items can also reach you as a macOS or Slack message; see Notifications under Settings.

Since you last looked#

In the Admin view, when you open the app after a break of 30 minutes or more, a box Since you last looked on Today sums up what changed since your last visit. Each line has links.

  • Stories done: the run succeeded and committed the story.
  • Merged into develop: the run pushed the story to develop. This counts even if a later step failed. A story shows under one of these two lines, from its newest run.
  • Releases to main: a release pull request or the rolling Foundry pull request was merged. Other pull requests do not count. A successful automatic release build (see Sources) counts here too, as "release files uploaded" (or "release files uploaded 2 times"), with a link to its draft release.
  • Failed: runs that failed. A run that a newer run of the same issue replaced, or that was interrupted, is left out.
  • Newly waiting for you: items that started to wait for you since your last visit. The line links to Needs you on Today.
  • Only the newest five of each line are listed, followed by "+N more".
  • Per browser: the time of your last visit is kept in this browser and shared by its tabs. Dismiss hides the box in all tabs. Nothing shows when nothing changed.
  • Notes: if GitHub could not be read, or a limit was reached (20 repositories, 200 merged pull requests, 2000 finished runs), the box says so. If that leaves it empty, it stays hidden and tries again after 5 minutes.
  • Flows that have no step named commit or push_develop never show stories as done or merged.

The health line#

In the Admin view, the top bar has a health chip. It reads All good, or the number of problems of the Foundry itself ("1 problem", "3 problems"), and it turns red when there is a problem. Press it to open the health line under the top bar; press it again to close it. The line opens by itself only when the server does not answer. Problems also show on Today.

Right after the server starts, it reads all run records in the background, and the health line says "The run index is still being built" until that is done. The notice is not a problem: the chip still reads "All good" or the count, and the checks that need the runs (for example the daily budget and the late-run warnings) are left out until the build is done. The time it takes grows with the number of runs kept on the machine.

The line has one entry for each problem: who has the next move, what to do, why, "Continues: …" when it continues by itself, and a link to the place to act. The sentences come from the server, so they read the same as on the other pages. It asks again on every page change and every 30 seconds while the tab is visible. A hidden tab does not refresh it; it asks once when you return. The count in the tab title keeps updating. When the server does not answer, the chip reads "No answer" and the line says so (once, not on every refresh).

  • A restart is waiting: "A new version is waiting — it restarts after 2 runs." The number is the runs that are active or queued.

  • A restart at a safe moment: "A health check asked for a restart" lists the runs it waits for. A restart at a safe moment waits only while a push, merge or release step runs (the steps push, push_feature, merge_develop, push_develop, merge_main, push_main, merge_back, push_back, release_pr and publish). It starts no new runs meanwhile. When no such step runs, it stops the other active runs and the server restarts; those runs are resumed after the restart. It needs the server to run under the supervisor; otherwise it does nothing. While it waits, the other restarts wait too. If a self-update is being built or tested, or a tested update is waiting, the restart waits for it (at most 45 minutes) and installs it in the same restart.

  • Memory restarts are spaced out: after a restart for memory, the next one waits at least 6 hours, also across restarts of the server. If monitor.cooldown_minutes plus one hour is longer than that, the longer wait applies instead, so the story still gets filed. While it waits, the server log says so once. If the record cannot be saved, the Foundry tries again every minute and does not restart until it works. The growth stays in the record until the monitor takes it over; after that it is kept for 24 hours. Without monitor.report_to, the finding can stay listed for good.

  • The monitor is off or silent: "The monitor is turned off (monitor.enabled)" with the link to the Problems page, or "The monitor has not finished a check since 14:05" with the action to press Check now on the monitor's page or restart the server. It is one problem per outage (see Off, and the alarm).

  • A usage limit: one line per agent (Claude, Codex), not per run, with the time it continues. It shows for an hour after the run stopped; a watcher tries again every 30 minutes, so a limit that lasts keeps showing. A used-up daily budget is a problem too; the link goes to Settings.

  • A watcher error: it names the repository, for example "The watcher for acme/app can't reach GitHub", with the action to check the network and gh auth status. A short GitHub failure (HTTP 499 or 5xx, a timeout, a dropped connection) is read again up to 2 more times, and any "can't reach GitHub" error shows here only after 3 checks in a row failed; the next good check clears it. Error details and the log show every failed check. Equal sentences for one repository show once. A watcher that has not checked for 3× its interval shows too, except while the server waits to restart (the watchers are stopped on purpose then).

  • A schedule run that is late: a daily schedule run (the release, the daily report) that has not started an hour after its time shows as "The 17:00 release of acme/app is waiting: <why>". The reason names who has the next move: the server waits to restart, another run goes first, the owner's or the daily budget is used up (the link goes to Settings or Users), or the watcher has a problem (its link goes to Watchers). A run that is queued but not started links to its change page. A run that was never queued, because its watcher did not start it, stays until the next day's time. The line goes away when the run starts.

  • An issue closed on GitHub while its run still works: with a Cancel run button. A dialog asks "Cancel this run?": Keep running changes nothing, Cancel the run cancels that run and reloads the line. You can resume the run later, unless the issue is still closed (see below).

  • A run of a closed issue: Resume, Approve, Reject, Retry and Retry with a hint… look at the issue on GitHub first. If it is closed they are refused (409) with "The issue is closed — nothing to retry. Reopen the issue if the work is still wanted.", and no label or comment is posted. After a reopen they work again. The check uses the GitHub access of the run's owner (stored token or GitHub App); a run without an owner uses the server's gh. With a deploy key, or when access is refused, the Foundry cannot ask GitHub. When GitHub cannot be reached, only an issue stored as closed is refused; otherwise the run continues. The answer is stored only for a repository with an enabled issues watcher. A run without an issue makes no GitHub call. scf resume, scf approve and scf reject print the same sentence plus "Use --force to resume it anyway."; with --force they run. If the check cannot be made, they print one line and continue.

  • A run that failed because of the Foundry: the newest run per issue that no newer run replaced, from the last 7 days, at most 5. The line says "The Foundry failed, not the code" with the fix and a link to the run; the reason is on the change page.

  • Last check per repository: each repository of an enabled watcher is listed with the time of its last successful check (the oldest, when it has several watchers), or "no successful check yet".

  • Version and update: when the Foundry runs from a git checkout, the line ends with "Version abc1234 · date". With self-update on, it adds "An update is waiting (abc1234): …" with the reason, or why self-update does nothing. This is information, not a problem: it does not change "All good".

The same data is at GET /api/health: ok, summary ("All good", "1 problem", "N problems"), problems (records like those of GET /api/next), repos, and when there is one version (commit, date) and update (waiting, commit, text). It holds no settings, tokens or paths, and links are only https://… or #/….

Problems with skill folders (see Skill sources) count as problems too: one line names the source (for example administrator) and the package folder, never a path. A pinned package that changed (with both digests) and an unreadable skill lock (skill lock) are listed first; see Pinned versions and integrity. GET /api/health lists at most 20 as skillProblems (source, root, optional package, reason) and the rest as skillProblemsMore; scf skills lists all of them with full paths.

When the monitor has stored findings, the line also links to the Problems page: "N open findings of the monitor", or "Findings of the monitor (none open)". It does not change All good. In GET /api/health this is monitorFindings (open, total, and unreadable when the findings file cannot be read): counts only, never a name.

The board#

The board of a repository

Board (Admin view; Board in the sidebar, below the divider) shows where every change is, like a parcel tracker. There is one board per repository; with more than one repository you get tabs.

  • Columns: Your turn (something waits for you; here it also holds a run you stopped yourself, which Your turn on Today does not show), Waiting for another story, Queued (also paused by a limit), Planning, Coding, Reviewing, Merging (also finished work that waits for the scheduled release), Done (grouped Today and This week) and Failed.
  • Which stories show: every issue a watcher tracks, at any age. Other runs on an issue show for 7 days after they end. Done shows the last 7 days. Evaluation runs and runs without an issue never show.
  • The card: issue number and title, what happens next, the current step ("coding — step 12 of 29"), and the stories it waits for ("after #88"; a story in another repository is shown as an owner/name#N link). A bug story has a "goes first" mark. Click the card to open its change page. A story that has no run yet is not a link; use the issue link on it.
  • Owner (admins): a card that has a run shows the owner's name, deleted user when the account is gone, and nothing for a card without a run or owner. All owners above the board hides the cards of other owners in the page; it makes no new call. Users see no owner name.
  • Highlight: "What is in the way of #89?" marks the whole chain of stories that hold it back and dims the others. The line above the board lists the chain, also stories that have no card. Show all clears it.
  • Narrow screens (below 768 px): the board shows one column at a time. A picker named Column above it lists every column with its card count; the first column with cards shows by default. Your choice stays when the board refreshes, and if that column goes away the first column with cards shows. The owner filter and the highlight work as before; while a chain is highlighted, the picker marks the columns that hold cards of the chain. From 768 px up the board is unchanged.
  • Updates: the page asks every 5 seconds, so what the Foundry knows shows within 5 seconds. Changes on GitHub show after the watcher's next check; when you come back from a GitHub link, the watcher checks at once.
  • Which column running work is in: the Foundry reads it from the step names. Steps like plan, ask_for_info and risk_gate are Planning; implement starts Coding; review, review_1 and review_2 start Reviewing; commit, push… and open_pr start Merging. Any other step name stays in the phase of the step before. A flow with other names shows its running work under Coding.

Epics#

The Epics page: progress and expected finish of each epic

Releases in the sidebar opens the Epics page (#/epics, for admins and users). It shows how far each epic of one repository is and when it will be finished. It follows the repository context: with one repository it shows that one; with several, choose one in the Repository select. The address is #/epics?repo=<name>, and you can save a view.

  • A row has the epic's name (a link to the epic's page; an issue epic also has an On GitHub link), a progress bar, how the epic grew, the expected finish and what holds it up. The last row, No epic, is for stories that belong to no epic and has no page.
  • Progress. The bar shows Done, Working, Waiting, Your turn and Failed. The same numbers are written next to it ("3 of 10 done; Working 2, Waiting 4"), so you never need the colours.
  • Growth. "Stories: 21 at the start, 95 now (16 were split)" tells you how the epic grew while it ran.
  • Expected finish is a range, such as "Mon 12 – Tue 13 Oct", with "most likely …" and the reason in words. "Leaves out: …" names what the forecast does not count. Dates use your browser's time zone. When there is not enough history, the row says Too early to say and why, instead of a date.
  • Held up by. Stories that wait for a person, failed stories and others are listed with their issue numbers and what to do. A finished epic shows when it finished and how long it took.
  • Order. Open epics come first, by expected finish, then those that are too early to say, then finished ones (newest first). No epic is last.
  • Fresh data. The page says how long ago the issues were read ("Issues read 12 min ago"). If not every issue was read, it says the counts can be too low. A repository without a watcher, or one the watcher has not read yet, shows "No data" and the reason. Refresh reads again; if that fails, the rows stay and a note says so, with Retry.
  • Small screens. Below 768 px every row is a card.

The epic page#

One epic: expected finish, how the forecast moved and the stories in build order

Click an epic's name to open its page (#/epics/<id>?repo=<name>). The user display has the same page at /user/#/epics/<id>. The breadcrumb and Epics link back keep the repository. The page is for owners of the repository and for admins; anyone else sees "This epic is not there, or you cannot see it." It has these parts, top to bottom:

  • Header. The epic's title (with its issue number), the progress bar and text, the growth, and an On GitHub link for an issue epic. Refresh reads again; the page also says how old the data is.
  • Expected finish. The range and "most likely …" as on the Epics page, the reason in words, and Leaves out: … (see below). Under it, the sentence "It cannot know when a usage limit stops work or when a person will answer." (not shown for a finished epic).
  • How it moved. One line per saved forecast, newest first, such as "3 days ago: Sun 11 Oct", with the range and the change from the day before ("2 days later", "1 day earlier"). Lines older than the seven newest are under Earlier. A line says "Today", "Yesterday" or "N days ago". With no saved forecast the page says so; the first one is saved the first time the Epics page or this page asks for the epic, and days before that are not filled in.
  • Critical path. The longest chain of stories still to do, as a sentence with its length, the issue numbers in order ("#12 → #15 (done) → #18"), and "Now at #…": where that chain is now, with the story's state and its status. When nothing is left to build on any chain the page says so.
  • Stories in build order. One numbered list in the order the epic builds them. Each story has its issue number and title (a link to GitHub), its state in the app's words ("Working", "Waiting", "Done" and so on), the status line, the help, and notes: "part of #…", "after #…", or "also waits for #… (outside this epic)".
  • Dependency chains. A graph: the columns are the build levels, left to right, and each box is a story with its state and a link to its issue. A line runs from a story to the one it waits for. The critical path is marked. Below the graph, notes say when stories depend on each other in a cycle (then none of them can start first) and which stories outside the epic the epic waits for. The part is left out when the epic has no chain data.
  • Stories over time. A chart with two lines, Stories (stories in the epic) and Done, one point per day, with the day labels. Show as table gives the same numbers as a table (Day, Stories, Done). The chart counts per UTC day, so its labels are UTC days, not your time zone.
  • Pace. "About 2.5 stories a day over the last 14 days (all epics of this repository)", counted from the stories finished in the repository, not in this epic alone. Show per day lists the last 14 days, the newest first, with the window ("Last 24 hours", "1–2 days ago", …). "A story takes about 2 h 10 min from the start of its run to done" is the median of the finished story runs; it needs a few finished stories before it is shown.

Dates on the page use your browser's time zone, except the chart's day labels (UTC). The page works at 360 px wide: each part is one column, and only the chain graph scrolls sideways, in its own box.

Empty, loading and error states. While the page loads it shows "Loading the epic". An epic with no stories says "This epic has no stories yet.". When the repository has no data yet, the page says why, as the Epics page does. If the epic cannot be loaded, the page shows the error with Retry; if it fails again after it was shown once, the old content stays with a note.

How the forecast is made. The Foundry works it out again each time it is asked; no one types in an estimate.

  • Pace. The repository's finished stories over the last 14 days give an average per day. This epic gets its share: the pace times the stories it has left, divided by all stories left in every epic and in No epic. A split story counts as its parts, so a story that was split into more parts adds to the days.
  • Days. The stories left, with the split growth applied, divided by the epic's pace. This is the expected finish.
  • Lower bound. The longest chain of stories still to do, times the median story time. The earliest finish is never before this; when the chain is the longest part, the reason names the chain.
  • Range. The earliest and the latest finish are the expected finish divided and multiplied by a factor. The factor grows when the daily pace varies a lot and when little of the epic is done yet. Each end is at most three times away from the expected finish.
  • Reason. One or two lines say what moves the date most: the pace ("N stories left at about X a day"), the longest chain, or the stories that split into more parts.
  • Finished. When every story is done, the page says when it finished and how long it took.
  • Too early to say. The forecast is not given when the epic has no stories, or when fewer than three stories were finished in the last 14 days. The page says which one.
  • Saved each day. The forecast of each unfinished epic is saved once per day (UTC) and kept for two years. That is what How it moved shows.

What it leaves out. The forecast counts the work the Foundry does. It does not count:

  • usage limits — time when a usage limit stops work ("stops for usage limits");
  • a person's answer — time a story waits for someone to answer a question or approve a plan ("waiting for a person's answer").

It cannot know when a usage limit stops work or when a person will answer. It also cannot know stories that nobody has written yet, and it assumes the pace of the last 14 days goes on. When a forecast looks wrong, first check Held up by on the Epics page and the Waiting stories on this page.

More in this chapter

Improve this page on GitHub