User guide: contents

Stories as files

A story can be a file, so people and other tools can read and write it without the Foundry. Files go in .scf/stories/ in the repository, one file per story or epic, named <number>-<slug>.md. The number is the story number and the slug is the title in lowercase ASCII, at most 50 characters (story when nothing is left, for example for a title in other letters only).

The format status: the format is defined, and the store for a local project reads and writes these files. A repository connected as Local (no GitHub) keeps its stories here (see "Local (no GitHub)" under My repositories). GitHub repositories are unchanged. The commits that the store makes are described below.

On a local project, the flow steps work on these stories as they do on GitHub: Depends on (a story waits until the story it depends on is done), splits into epics and child stories, questions with /defaults, and approvals. You are the owner of the machine, so you have write access for approvals. A local project has no pull requests: a daily-branch step that asks for one stops with "Pull requests are not available for a local project".

A file has three parts:

  1. Front matter, between two lines ---, in YAML:
    • number (required): the story number, a whole number. It must match the number in the file name.
    • title (required): the title.
    • state (required): open, go or closed. go is an open story that is ready to build: it is what "Yes, build this" sets, and a watcher on a local repository starts the stories in this state. A go story counts as open everywhere else. Files with open or closed read unchanged.
    • kind: story (the default) or epic.
    • labels: a list of words.
    • epic: the number of the epic this story belongs to.
    • depends_on: a list of the story numbers this story waits for.
    • created, updated, closed: times.
    • comment_top (optional): the highest comment id the story has ever used. The Foundry writes it; a comment that is removed never gives its id back. A file written by hand may leave it out.
    • github_issue, github_repo, github_done (optional): set by the move to GitHub (see "Move a local project to GitHub"). github_issue is the issue number, github_repo the repository (owner/name), and github_done is true once the move has finished that issue. Older Foundry versions ignore them.
  2. The body: the Markdown text of the story, after the front matter.
  3. Comments (optional): a final ## Comments heading, then one block per comment. A block starts with a heading ### Comment <id> by <author> on <time> and holds the comment text. The id is the comment's number, the one in its link (#issuecomment-<id>). A heading without an id, ### Comment by <author> on <time>, is also read; the Foundry gives such a comment the next free id when it next writes the file.

The Foundry's status comment is one comment block that keeps the marker <!-- claude-factory status --> as its last line, so the Foundry can update it in place.

If a line of the body or a comment is exactly ## Comments, or starts a comment heading, it is written with a \ in front. Reading the file removes that \ again, so the text comes back unchanged.

Example: an epic, and a child story that names it in epic:.

.scf/stories/100-checkout.md:

---
number: 100
title: Checkout
kind: epic
state: open
labels: [epic]
depends_on: []
created: "2026-10-01T09:00:00Z"
updated: "2026-10-03T14:20:00Z"
---

Customers can pay and get a receipt.

## Comments

### Comment by marcel on 2026-10-02T10:00:00Z

Split into two stories: payment and receipts.

.scf/stories/101-take-card-payments.md:

---
number: 101
title: Take card payments
kind: story
state: open
labels: [payments]
epic: 100
depends_on: [99]
created: "2026-10-02T10:05:00Z"
updated: "2026-10-02T10:05:00Z"
---

Accept Visa and Mastercard at checkout.

A file that cannot be read is reported with the reason. Common reasons:

  • the front matter is missing or broken (it must start with --- and end with ---);
  • number is missing or is not a whole number;
  • the number in the file name is not the number in the front matter;
  • state is not open or closed.

Dates must be written as text in quotes, so YAML does not change them.

Local projects#

A local project is a git repository on this machine, connected as Local (no GitHub) (see "Local (no GitHub)" under My repositories). The Foundry plans, builds, tests, reviews and merges its stories without GitHub and without the gh command. Nothing leaves the machine unless you turn on Also push to the remote.

When a story is set to go, the gitflow flow (issue-gitflow) does this:

  1. Clone. The run copies your folder with plain git. Its feature branch (feature/<number>-…) lives in the run's own workspace, never in your folder.
  2. Test and review. The review reads the local changes: git diff develop...feature, which includes the commits already on the feature branch, and the changes not yet committed. A local project has no pull request, so the pr-* commands of tools/story are refused for it.
  3. Merge into develop. After the tests and the review pass, the feature is merged into develop in your folder. The Foundry never pushes into a branch that is checked out in your folder. It moves develop only when develop has not moved since the run cloned it; if it has, the run merges again with the newer develop. If develop is the branch you have checked out, the files are updated only when your folder is clean.
  4. Paused by your work. If develop is checked out with uncommitted changes, or with files the update would replace, the run waits without holding a slot, and it merges again by itself when the way is clear. Commit, stash or move the changes, or switch branch. Your uncommitted work is never overwritten.
  5. Release. A feature does not touch main. A local project has no release pull request. The daily release check (release-daily, 17:00) runs the tests and the build on develop. When they pass, it waits under Needs you (Simple: What you need to do) with Make this version final. The card lists the finished stories in plain words.
    • Make this version final merges the tested develop into main in your folder (no fast-forward), adds the tag named by the release tag scheme (see "Release tag names" below), and closes the stories that went in. Each story gets a comment with the tag.
    • If the project has a release recipe (.factory/release-build.yaml), the release files are kept in <data folder>/releases/<name>/<tag>/. No GitHub release is made.
    • Not yet keeps everything on develop. A reason is optional; it is posted on each story. The next daily check asks again.
    • If the checks fail, nothing is asked. A run that stopped midway finishes the tag, the story closing or the release files when you resume it; it never merges twice.
    • With Also push to the remote, main and the tag are pushed too.

A hotfix label does not apply to a local project: the story is built as a feature, and the report says so.

The report of a finished story names the commit (its short hash) and says that it is in develop in your folder.

Also push to the remote (a setting, off by default). It is shown only when your folder has a git remote. When it is on, the Foundry runs a plain git push of develop from your folder after each merge. No GitHub API is used. Nothing is pushed until you press Yes, publish (#796): the step shows the remote and its address (without any sign-in), the develop and main branches and the tags that go along, and it says that the push goes on by itself after each merge until you turn it off. Cancel leaves everything local and the setting off. The server checks the confirmation itself: the setting cannot be turned on by a plain settings change (409), and a confirmation is single-use, expires after 10 minutes and is refused when the remotes or the branch names changed since the check. Turning it off needs no confirmation. If the push fails, the report says why, with any sign-in removed from the text, and the merge in your folder stays.

Release tag names#

Every release tag the Foundry makes follows one naming scheme, so tags are predictable and never match a version pattern that starts your own package publishing.

  • Default. release-{date}, where {date} is the day in the watcher's time zone (YYYY-MM-DD): release-2026-12-02. A second release on the same day gets release-2026-12-02-2, then -3, and so on.
  • A taken name is never reused, moved or deleted. The next free -N is picked, so an old tag stays where it is.
  • release_tag setting (per repository, a local project for now; Settings → Release tag). The pattern may use {date} and {n} (each at most once). With {n}, the number is put where you write it; without it, the second and later names get -2, -3. Without the setting, the default applies.
  • Refused on save: a pattern longer than 60 characters, control characters, any other {…} text, a name that is not a valid git tag name, HEAD, and any name that starts with v followed by a version (v1.2.3-like, which the glob v*.*.* matches).

Examples: release-{date} gives release-2026-12-02; rel-{date}-{n} gives rel-2026-12-02-1, rel-2026-12-02-2.

Tags on merged releases#

A schedule watcher of a GitHub repository tags releases by itself. On each check it looks at the merged pull requests from develop into main that the Foundry opened as release pull requests, and tags their merge commits with names from the scheme above.

  • Which merges. Each merged release pull request gets one annotated tag on its merge commit, dated the day of the merge in the watcher's time zone. A merge that an earlier check missed, or that was merged before the watcher tagged releases, is tagged on a later check.
  • First check. A repository with no release tag gets the current head of main tagged once. A second check does not tag it again.
  • Existing tags stay. A tag is never moved or deleted. If its name was taken in the meantime, the next free -N is used.
  • Each commit once. The Foundry writes down a tag before it creates it, under release-tags/ in the data folder, so a stop halfway does not lead to a second tag.
  • Time limit. One check spends at most 2 minutes on tags. The rest waits for the next check.
  • A refused tag. If GitHub refuses to create a tag (no rights, a ruleset that blocks tags, or HTTP 401, 403, 404 or 422), the release pull request gets one comment that says the commit has no release tag, and the watcher's activity says so too. The check goes on, and the same commit is not tried again. Create the tag by hand if you need it. Rate limits are retried later and are not treated as a refusal.
  • Window. Only the newest 5000 merged pull requests are looked at. The activity says so when there are more.

Commits for story changes#

When the Foundry writes a story file in a local project, it also makes one git commit for that change, so every change to your stories is in the history:

  • The message is scf: story #<n> <what>, where <what> is one of created, edited, labels, comment, status, closed or reopened. Examples: scf: story #12 created, scf: story #12 comment, scf: story #12 closed.
  • The commit goes on the branch scf/stories, which the Foundry creates on first use. Your checked-out branch, its staged and unstaged changes and its working files are not touched. A repository connected as Local (no GitHub) keeps its story history this way, so story commits never appear on your main line. To bring them into your branch, merge or cherry-pick scf/stories yourself. The branch name is shown in an error message.
  • The commit holds only the story files that the write changed. A new story also adds .scf/stories/next-number, and a story made from a change request with pictures also adds the copies of those pictures in .scf/stories/pictures/ (see "Ask for a change").
  • A write that changes nothing makes no commit.
  • The Foundry does not commit your hand edits. A story you edit by hand is still read the next time, and it is committed only when the Foundry writes that same story.
  • The file is saved before the commit. If the commit fails, the story keeps the change, and the Foundry reports the story number, the file, the branch (when known) and the reason. Typical reasons: the folder is not a git repository, git is not installed, or git took longer than the time limit.

Move a local project to GitHub#

The open stories of a local project can become issues in a GitHub repository. The target must already be connected under My repositories by the same owner. The text of each story is kept: its title, body, labels, comments, epic and dependencies.

Start with a dry run. It lists each story and what the move would do with it, and it changes nothing: no issue is created and no file is written. Only the sign-in of the target repository is prepared.

  • create: the story becomes a new issue. Stories set to open or go are listed. Closed stories are listed only when you ask to move them too.
  • already moved: the story has a github_issue number and is not moved again.
  • unreadable: the story file cannot be read. It is listed with the reason and is not moved.
  • too large: its comments would be longer than GitHub allows in one comment. It is not moved.

When you run the move, it works in two passes:

  1. Create. The stories are moved one at a time, the lowest number first. Each story gets one issue with its title, body and labels. A story that is go gets the build label of the target repository's issue watcher, or the label go when there is none. All its comments go into one GitHub comment, each with its author and time. The Foundry's status comment marker is removed from that text, so no watcher reads it as its own status. Right after each issue is created, its number and the repository are written into the story file (github_issue and github_repo), and the change is committed on scf/stories (see "Commits for story changes", message scf: story #<n> moved).
  2. Map and finish. When all issues exist, each moved issue's body is written again from your local text. A number in "Depends on" and an epic link now point to the new GitHub numbers. A dependency on a story that was not moved (closed, or unreadable) is written as local story N, not moved, so it never points at the wrong issue. Then the issue gets its build label, a closed story is closed on GitHub, and the combined comment is posted. The story file gets github_done: true when this is finished.

Running the move again creates no new issue. It only repeats the number mapping and finishes what is not yet done. If a run stops halfway, the next run goes on from where it stopped. Only one move of the same folder runs at a time.

The move refuses to start, and changes nothing, when:

  • the project was already moved to another repository, or a story file has github_issue but no github_repo;
  • the target repository is not connected by you, or has no usable GitHub sign-in. The message is "connect this repository to GitHub first". The Foundry never asks for a token; it uses the sign-in of the target repository (see the sign-in of the repository under My repositories).

Known limit. If the Foundry stops after GitHub has created an issue but before the story file records its number, the next run creates that story's issue again. Check the target repository for a duplicate and close the extra one before you run the move again.

Move the whole project#

POST /api/repos/:id/move-to-github (admin only, like local repositories) moves the local project itself. Its body is target (either { "create": { "name": "name" or "owner/name", "private": true } }, where private is true by default, or { "repoId": "..." } for a GitHub repository you already have under My repositories), with optional includeClosed and dryRun. The steps, in order:

  1. Target. With create, the Foundry makes the repository with gh repo create and your GitHub token sign-in, then connects it under the same owner and sign-in method. If the repository already exists, it is used. With no GitHub sign-in at all, the answer is "connect GitHub first: add a GitHub repository with a token under My repositories, then move again".
  2. Push. Every branch and tag of the folder is pushed, including scf/stories. The push never forces: a ref that GitHub refuses stops the move with the reason, and nothing is switched.
  3. Stories. The stories move as described above. A story that cannot be read, or whose comments are too large, stops the move before the switch, so its watchers stay on the local project.
  4. Switch. The watchers of the local project move to the GitHub repository, the run settings are copied (the GitHub repository's own values win where both have one), and the local record is removed. The folder and its .scf/stories/ files stay as history.

A dry run returns whether the repository would be created, the branches and tags that would be pushed and the story plan. It changes nothing. A move that stopped at any step can be run again: an existing repository, refs that are already up to date and stories that are already moved are skipped.

The Move to GitHub dialog under My repositories (see "Local (no GitHub)" there) and the Put this project on GitHub box on the Simple project page both call this route: first the dry run, then the move.

Work page (redesign, off by default)#

The redesigned pages are still being built. An admin turns them on in Administration → Settings, section Redesign, with the box "Show the redesigned pages (still being built)". Reload the page after you change it. With the box off, Board is exactly as described above.

With it on, Board in the sidebar (#/board, and #/board/<repo> for one repository) shows the Work page: the stories as a board or a list.

  • Filter: by repository, owner, status (any of the nine columns), who has the next move, and a text box that matches the title and #issue. N of M stories shows when a filter hides some. If nothing matches you see "No story matches the filters." and Clear filters.
  • Group and order: in the Display menu. Group by status (default), repository, owner, next move or none. Order by issue number (default), age (oldest first) or title. Done stays newest first when grouped by status and ordered by issue number. Each group heading shows a count.
  • Board and List: the switch Board | List changes the layout. Both show the same stories, filters, grouping, order and counts; switching asks the server for nothing and keeps your filters. Board is the default. The board has one column per group, with title and count. Grouped by status, all nine columns show, also when empty, and a status filter hides stories, not columns. Grouping "none" shows the board by status, and the Display menu says so.
  • Cards: a card shows on at most four lines: the issue (link to GitHub) and title; who has the next move and what to do; "Blocked by #88, #87" (links) when the story waits for others; repository, owner and age in small text. "goes first" and the step line stay. Hold the pointer on a card to read the full sentence. A card whose next move is yours has a mark ("Your turn"), not only a colour; a blocked card has a Blocked pill. Click a card, or press Enter on it, to open its run; the links inside do not open the run.
  • Display menu: choose what a card or row shows (repository, next move, blockers, owner, age, step), Compact cards, group by and order by. The choices apply to board and list. The menu stays open when the page updates.
  • Rows: issue link to GitHub, title, repository (when more than one shows), status, who has the next move and what to do, the stories it waits for, owner and age. Click a row, or press Enter on it, to open its run.
  • Keys on the board: each column has one Tab stop (the card you used last). Up and Down move in the column; Left and Right move to the same place in the next column that has cards; Home and End go to the first and last card of the column; Enter opens the run. Tab reaches the links inside a card. Focus stays on the same card when the board updates.
  • Touch and narrow screens (below 768 px): columns scroll sideways and snap into place. Each column scrolls on its own, with its heading kept in view, and buttons and links in cards are at least 44 px tall. Nothing needs hover. On a large board, column bodies have a maximum height and scroll.
  • What is in the way? A card or row with blockers has a button What is in the way?. It opens a side panel for that story; nothing on the board is dimmed or moved. The panel shows the title, issue link, status, the full sentence, who has the next move and where, owner, age and Open run when there is a run. Under "In the way of #N" every story that must finish first is listed in the order it must finish, the deepest blocker first; direct blockers are marked "directly". A story that is on the board is a button that opens it in the panel, and Back returns to the story before; one that is not on the board is a GitHub link. On a wide screen the panel sits next to the board and the board stays usable. Below 768 px it covers the page and Tab stays inside it. Escape or Close closes it and focus returns to the button. A card without a run opens the panel on Enter. The panel updates every 5 seconds; if the story is gone it closes with "#N is no longer on the board". Filters, layout and scroll position do not change. The open panel is not saved.
  • Repository and owner come from the address: #/board/<name>?owner=<id>. A saved repository or owner is ignored when the page opens, so the switcher, shared links and the page always agree. Changing the repository select writes #/board/<name> (or #/board for all) and keeps owner; changing the owner writes ?owner=; Clear filters writes #/board. A later update keeps your selection and the address.
  • Unknown repository or owner: a repository in the address that is not in your list is kept. The page says "This repository is not in your list…" with Show all repositories, and does not widen the scope by itself. An owner without stories is kept too: you see "No story matches the filters." and Clear filters.
  • Use as my context: when a context is offered, the toolbar shows Use as my context; a click sets it.
  • Saved choices: your layout, filters (status, who, text), display choices, grouping and order are kept in this browser for your account. Another account on the same browser has its own. The repository and owner are not saved.
  • Updates: like the board, every 5 seconds, and a check of the watcher when you come back from a GitHub link. If loading fails you see an error and Retry; data already shown stays.

Filters in the address#

You can filter the Changes list and the Board by repository and, as an admin, by owner. The filter is part of the address, so you can share it, and Back and Forward restore it:

  • #/runs?repo=owner%2Fname&owner=<account> (Runs, the Changes list of the Admin view). repo and owner are the only keys; anything else is ignored. A repository must look like owner/name.

  • The Board keeps #/board/<repository> and only adds ?owner=<account>. The classic Board matches the repository name without regard to case. For #/board/<name> with a name that is not in your list (for example an old link) it shows "This repository is not in your list…", all repository buttons and a button to #/board?repo=all; it no longer opens the first repository. Without a name in the address it still shows the first repository.

  • On the user display (Advanced view), My runs accepts the address too and uses repo. owner is ignored there: a user only ever sees their own runs.

  • repo=all (for example #/runs?repo=all or #/runs?repo=all&owner=<account>) means "every repository". It opens the unfiltered list, so no repository chip is shown.

Above the list a filter bar shows one chip per active filter, each with a remove button, and Clear filters. With no filter there is no bar. If nothing matches, the page names the filter and offers Clear filters; this also happens for a repository your account cannot see.

With a repository context set, Clear filters and the remove button on the repository chip write ?repo=all (an owner filter stays), so the next page does not put your context back. For example #/runs?owner=u1 becomes #/runs?repo=all&owner=u1. An address that names a repository, #/board/<name>?owner=… and pages that do not follow the context are not changed.

Use as my context. When the page shows another repository from your list than your context, or all repositories while a context is set, the filter bar shows Use as my context and names the scope ("All repositories" or "Repository: owner/name"), even with no chips. One click makes it your context, updates the switcher and hides the button. It is not shown for the same repository, a repository that is not in your list, without a context, or on pages that do not follow the context.

The browser filters what the server already sent; no call gets a new parameter. The Changes list holds the newest 200 runs, so with a repository filter on a full list you see "Only the newest 200 runs are searched." Older runs of that repository are not shown. The 30-second refresh keeps the filter.

Ideas and repositories. The same ?repo=owner%2Fname filter and filter bar work on #/refinement (Ideas: open and dropped sessions), #/repos (My repositories) and, as an admin, #/all-repos (the matching records of all owners). Remove and Clear filters work as on Changes. On Ideas, New refinement session preselects the filtered repository when it is in your list. A session page #/refinement/<id> is not filtered and ignores the query. If the repository is not in the answer, the page says "This repository is not in your list. It may have been removed, or you may not have access." with Clear filters; the text is the same whether the repository exists for another account or not. Refreshes keep the filter. The server gets no new parameter.

Try it: preview#

A preview starts your project's own app on the server, so you can open it in a browser before you merge. The app is started from the repository, with the command the project names in .factory/preview.yaml:

command: npm run start      # required: the command that starts the app
port: auto                  # "auto", or a whole number from 1024 to 65535
ready: /                    # the path that answers when the app is ready (starts with /)
env:                        # optional: extra variables for the app
  NODE_ENV: development
version: develop            # default version; the routes below take their own
  • command is required; at most 4096 characters, no control characters.
  • port is auto by default. The Foundry sets PORT and HOST for the app; HOST is always 127.0.0.1, so the app is reached only from the server. Values you set in env for these two names are replaced.
  • env names use A-Z, 0-9 and _, at most 50 entries. The prefixes FACTORY_, SCF_, GH_, GITHUB_, ANTHROPIC_ and OPENAI_ are reserved.
  • The app gets only a short environment (no secrets of the Foundry) plus your env, at low priority, in its own process group.

There are two versions:

  • develop: the branch develop of the repository. A GitHub repository is cloned with your sign-in; the clone is shallow and runs no git hooks.
  • checking: the branch of a run that waits for your check. The Foundry reads it from the run's own workspace first, so a branch that is not pushed yet can be seen; if the workspace is gone, it tries the remote. Only a run that waits for your check can be used.

Start a preview with POST /api/repos/:id/preview (body { "version": "develop" }, or { "version": "checking", "runId": "…" }), read it with GET, and stop it with DELETE. Each repository has one preview. A new start replaces a running one, and the folder is <data folder>/previews/<repository id>/. The routes are described in the API table. A preview stops after 30 minutes without use, when it is replaced, when you stop it, and when the server shuts down. The app must answer within 120 seconds.

The state is starting, ready, stopped or failed. When it is not ready, the reason says why, in plain words:

ReasonMeaning
no-configthe branch has no .factory/preview.yaml
bad-configthe file is not valid; the message names the field
no-accessthe Foundry cannot sign in to the repository; the detail says how to fix it
no-branchthe branch is not in the repository (or the run's workspace)
checkout-failedthe branch could not be copied; the reason is not shown
not-readythe app did not answer in time
port-busythe port is in use
exitedthe app stopped by itself
idlestopped after 30 minutes without use
replaceda new start replaced it
stoppedyou stopped it, or the server shut down

Only an owner of the repository and an admin can use the preview routes. GET also returns the app's output: at most 64 KiB, with the known secrets of the Foundry removed. A user who is not allowed gets "not found" on all three routes, and no output.

Where you see it. Simple's Try it button uses this preview (see Simple: My projects and the project page). On the repository page, Advanced and Admin show a Preview section: the state, the version (with the run's id when it is a check), the address when the preview is ready, the start time, the reason, and the output as plain text, with Read again. The address is shown as a link only when it is http://127.0.0.1:<port>/.

Safe points#

A safe point is a recent version of a project that a successful run or a release left green. The Advanced repository page has a Safe points section that lists the last 10 of them, newest first. Each line shows the time, the change titles that the version includes, who started it ("you", "the Foundry" or "someone else"; an admin also sees the name), and the short commit id with its branch.

  • Which commits. A gitflow project lists its develop branch; any other project lists its main branch. Only that one branch is listed.
  • Where they come from. A story pushed to develop after a green run, a release check that passed, a clean base check, or a successful release build of main.
  • Titles. A release built since this change saves the "Merge #n: …" titles since the last tag. A release built before shows its tag only.
  • Limits. A project without gitflow gets points only from release builds and base checks; pull requests merged by hand on GitHub are not known to the Foundry. The Foundry reads at most 1500 runs. If that is not enough for 10 points, the section says the list is incomplete instead of "none known".
  • Read only. The list is read from the run records, with no call to GitHub, and nothing is restored. Read again loads it again. The same list is on the Simple project page as Versions that worked. The route is GET /api/repos/:id/safe-points; you can read the list for your repositories, and an admin for any repository.

Restore a safe point#

Each point in the list has a Restore button (on the Advanced repository page and on the Simple project page). Restoring takes the code back to that version, but it is a normal change, not a direct reset. Nothing is pushed directly.

  1. Look first. Restore shows what would happen and changes nothing: the titles of the changes that are taken back, "and at least N more" when the list is cut short, and two fixed sentences. The first says that any later change is taken back, also one made outside the Foundry. The second says what a restore does not undo: data the app wrote, messages or e-mails that were already sent, and settings in outside services. If no change is known after the version, the preview says so.
  2. Confirm. Yes, open the change opens one issue with the project's build label and shows its number. The issue asks for the branch to be made the same as that commit again, using new commits (no reset, no force-push). The flow then builds it like any other change, with its tests and review. Cancel closes the preview.

Rules:

  • Who may restore. Only the owner of the repository and an admin. Anyone else gets "not found".
  • Confirmation. The confirmation is valid for 10 minutes and works once. It is tied to your account, the project, the commit and the list of changes you saw. If the safe points changed since you looked, nothing is opened and you see the preview again.
  • Refused, nothing opened. A project with no enabled issues watcher is refused. On GitHub, the build label must also exist in the repository. A second confirm for the same project and version while one is still opening is refused.
  • Red base branch. When the base branch is red, the issue lists the failing tests under "Failing tests to fix", so the change works on them.
  • Audit. Each change that is opened writes one safe-point-restore line to the audit log.
  • Route. POST /api/repos/:id/safe-points/restore. With { "commit": "…", "dryRun": true } it returns the preview and the confirmation; with { "commit": "…", "confirm": "…" } it opens the change. See the route table above.

Repository context#

The switcher sits in the sidebar, on both displays (at its top in Current, near its bottom in Hearth). It shows your current repository so that you do not filter each page yourself.

  • No repository: the switcher shows a short text. One repository: a plain label. Two or more: a button that opens a panel. When you add or remove a repository, the switcher loads again and changes by itself.
  • The panel lists All repositories first, then Favourites (use the star), Recent and the rest. As an admin the rest is grouped by owner. From eight repositories the panel has a search box. Escape or a choice closes it.
  • Pages that follow it: Changes, Ideas, Releases (the Epics page), Board, My repositories and, as an admin, All repositories. With two or more repositories they open on your current repository (?repo=<name>, #/board/<name>, or ?repo=all for All repositories). If you choose another repository on one of these pages, the address changes and the page draws again; an owner filter stays. On other pages only the label changes.
  • The address wins. An address that already names a repository, or has any filter, is not changed (see "Filters in the address"). With fewer than two repositories no address is changed.
  • Where the choice is kept: per account, in this browser. In the read-only preview (?as=) it is not read or written.
  • Problems. If the stored repository is no longer in your list, a notice says so and the switcher shows All repositories. If the list cannot be loaded, the switcher shows "Repositories could not be loaded." with Retry; the pages still open.

Saved views#

You can save the filters of a list or board under a name and come back with one click. This works on Changes (Runs and My runs), Board (also the redesigned Work page), Ideas and Releases (the Epics page).

  • Save view is in the filter bar. Type a name of 1–40 characters (spaces at the ends are removed). A name can be used once per page. You can keep up to 20 views per account. A view with no filters is allowed; its link uses repo=all.
  • The row. Your views of the current page are shown as links above the list. A view is only an address (the page and its filters). Opening it just goes there and writes nothing; the data is what the server returns for you now. The active view is marked.
  • Manage views opens a dialog where you can rename, move up or down, and delete views. Delete asks you to confirm and says that only the saved view is removed, not runs, sessions or repositories.
  • Where they are kept: in this browser (localStorage), per account. They are never sent to the server, and another account in the same browser does not see them. If the stored data is garbage, it is ignored and replaced when you next save. If the browser storage does not work, the page works without views.
  • Out of date. If a view's repository is no longer in your list, or its owner is no longer among the run owners, the view is marked "out of date" in the row and in the dialog. Opening it shows "nothing matches" with Clear filters and Delete this view. Nothing is deleted automatically. On the Board and Work page the owner check needs the owner list, which only admins can load; for others the owner is never marked out of date.
  • Preview. In a "view as user" preview no views are shown and none can be saved.

Improve this page on GitHub