Work with egon

How a day with egon goes, from the idea to the merged FR, which command you use when, and how egon reaches you through the local page and notifications.

You decide what gets built and you merge what needs a person. egon does the work in between: it builds, tests, has the work reviewed and merges where it may. This page follows you through that work and names the moments you act. It assumes egon is set up; if not, start with Set up and first run.

The cycle

Step Who acts
Think the FR through with Claude: /egon:new questions your idea in rounds, looks up in the repository what it can, and writes the FR into draft/ with the next free ID (egon id). See Write a feature request. you, with Claude
Check it with egon validate and egon next. you
Move it to ready/ with /egon:ready <id>: it opens the pull request that moves the FR, checked as it will lie there, and you merge it. A run reads the FRs and the profile only from origin/<base>, never from your working tree or a branch: the FR counts once that pull request is merged. you
Start egon run in a terminal of its own, at the root of the repository. you
Check the base. Before it builds, egon runs verify on the base, once per base commit. egon
Build. egon reserves the branch fr/<id>, a build session writes the tests first, then the code; the core runs its checks, a review session reviews, and egon opens the pull request. egon
Answer when a session asks: on the local page, or in Telegram if you set it up. The session goes on with your answer. you
Run the checks of the pull request, and ask for a code owner's review where the base requires one. GitHub
Merge. egon merges when it may merge by itself and the merge gate holds. Otherwise the FR waits for approval: with merge: manual, or an owner checklist, you merge. egon, or you
After the merge, GitHub runs the checks of the merge commit, egon waits for them, removes the worktree and the branches, fast-forwards your checkout to the base when it is on that branch, has no uncommitted changes to tracked files and can be fast-forwarded, and sends the owner checklist again. You do what it names for after the merge. GitHub, egon, then you

Then the run takes the next FR in ready/, or watches until there is one.

Which command when

egon … runs in a terminal at the root of the repository; /egon:… is a skill in Claude Code.

Command When
/egon:setup once per repository and machine, and whenever egon doctor reports something to fix; it goes through the findings with you, and through every setting of the profile
egon doctor before the first run, and when something seems off; it checks machine and repository and changes nothing
egon doctor --fix when egon doctor or the run names it: it repairs what keeps egon run from running and needs no decision, such as the missing worktree of an FR in progress, then checks as without it
egon notify-test to see whether notifications reach you and which way they take
egon app-key import <file> with identity: app: to store the GitHub App's private key in the Keychain
egon telegram link when you set up Telegram: after you sent the bot /start, to confirm your user ID
/egon:new in Claude Code, to write an FR with Claude, from an idea to a file in draft/
egon id to see the next free FR ID, one above every ID on the base, in your checkout and on the branches of origin; /egon:new uses it for a new draft
egon validate after you wrote or changed an FR, before its pull request to ready/
egon next to see which FRs can be taken, which wait and which are refused
/egon:ready <id> in Claude Code, to move a draft, or a blocked FR you changed, to ready/: it checks the FR, and on your yes egon ready <id> opens the pull request. You merge it
/egon:run in Claude Code, to see how to start the run; without the shortcut egon, it shows the full path. It never starts the run itself
egon run to start working the queue, in a terminal of its own
egon run --once to work the queue and end where the run would otherwise watch
egon watch in another terminal, to follow the sessions of the FR in progress step by step; egon watch <id> for a given FR. It only reads, and Ctrl-C ends it
/egon:status in Claude Code, to have where egon stands and the next step explained
egon status to see the lock, a halt, verify on the base and every FR in progress
egon resume after a halt (stop condition 9): once the base is fixed and the failed jobs ran again
egon resume <id> after you fixed the cause of a Failed FR
egon resume --accept-red to lift a halt while the checks are still red, for a red that only a later FR can fix
egon update when a new release of egon is out, and after its pull request is merged, once in each clone; it first shows where the clone stands: the version installed here, the pin and the newest release
egon cleanup to list what finished FRs left behind, worktree folders and local fr/ branches, and what stays and why; egon cleanup --yes removes it

The other commands are for egon's own run and the sessions it starts, not for you. They are in the CLI reference.

While a run works

The run works FR by FR. When nothing can be taken, an FR waits for an approval or a merge, or the base is red, it does not end: it watches. It says so once, looks at GitHub again every two minutes and goes on by itself when something changed, such as a new FR in ready/, a merge, an approval or a new commit on the base. Look again now on the local page ends the pause at once. When a session asks, it waits for your answer. It ends on a halt, when an FR fails, on a refusal, or with Ctrl-C. egon run --once, or watch: false in .claude/egon.local.md, ends it where it would watch instead.

Ctrl-C is safe: egon ends the sessions it started and leaves no lock behind, and the next run picks up where this one was.

A run holds the lock of the repository as long as it runs. egon update, egon resume, egon doctor --fix and egon cleanup --yes take the same lock, so while a run holds it they are refused and name the process that holds it. End the run with Ctrl-C first. After a halt or a Failed FR, the run has ended already. egon watch, egon status, egon cleanup without --yes and egon ready take no lock and work beside a run: you can add FRs while it watches.

The run belongs in a terminal of its own

Not inside Claude Code: a run can take hours, starts its own sessions and waits for answers.

The local page

When channels.local is set in .claude/egon.local.md, the run serves a page on your Mac.

Address, access, tokens and its security are in the reference: Channels.

Notifications

egon tells you when something needs you or has happened: a question, an FR stopped, an FR failed, the queue halted, waiting for approval, and an FR merged. The bell and the notifications on your Mac come with the local page: when channels.local is set in .claude/egon.local.md, the terminal of the run rings its bell each time, and a notification follows the way that channels.local.notify sets:

Without channels.local, there is no bell and no notification: the run only prints these events to its terminal, and sends them to Telegram if you set it up.

A notification carries only egon's own text and the FR's number, never a session's text, in your language (language in .claude/egon.local.md, otherwise the profile's), as Telegram does. Clicked, terminal-notifier opens the local page, without its key. Other notices, such as nothing to take, a pull request closed without a merge, or a lock taken over from a process that is gone, show on the page and in the terminal without a notification.

Reminders. While a question is open, egon reminds you every notify_repeat minutes, 60 by default, until it is answered or its time is up: in the terminal of the run, among the notices of the local page and in Telegram if you set it up, without another notification on your Mac.

When a notification does not show:

A notifier that fails does not stop the run: the terminal says so once, and the page and the terminal still show everything. With auto, a failing terminal-notifier hands over to osascript for the rest of the run. The ways, the events and Telegram are in the reference: Channels.

When egon stops or waits

What a stop means and every stop condition are on Stop conditions. What you do:

A new release of egon

In a terminal of your own, at the root of the repository, with no run holding the lock:

Terminal, in the repository
egon update

It first shows where the clone stands, the version installed here, the pin on the base and the newest release, then does the next step and names what is left in Next: lines.

  1. A release newer than the pin: egon update opens a pull request that raises the pin in .claude/settings.json and changes nothing else. .claude/ belongs to a code owner: a code owner merges it, egon never does.
  2. After the merge, run egon update again, in each clone: it installs the pinned version and checks the install. The shortcut egon then runs the new version by itself. Until then egon run refuses in that clone, and a run that is still going ends when it next looks at the base: the base pins another version than the one it runs.

The details, and the way from a version before egon update, are on Set up and first run.