Channels

How a session's question reaches you and your answer gets back, and the two channels egon has, the local page and Telegram.

Sessions run headless and cannot ask you directly. The core is the postman: sessions never talk to a messenger themselves.

How a question travels

Every session ends with a structured status:

Status Content The core
done the result goes on
question the question, its context, options if there are any asks you over the channels
stop the number of a stop condition and the evidence carries out the stop
  1. The core sends the question with the FR, the stage and the options to every channel. The FR is Waiting for input, and the queue waits.
  2. The first valid answer counts. Valid means: from the sender this channel knows. The other channels show that it is answered.
  3. The core continues the same session with your answer, marked as a quote.
  4. Question and answer go into the pull request description and the FR's implementation notes.
  5. If nobody answers within limits.answer_hours (24 by default), that is stop condition 11: the FR moves to blocked/ with the open question.

Waiting costs no usage: the session has ended, only the core waits. A new run waits for the same open question instead of asking again, and the deadline counts from the first time it was asked.

An answer clarifies, it does not change a requirement

If a test or acceptance requirement would have to change, the session reports stop condition 2, and you change the FR.

Setting channels

Channels are set per machine, in .claude/egon.local.md. Several may run at once; a notice goes to all of them, and so does a question.

.claude/egon.local.md
notify_repeat: 60
channels:
  local: {}
  telegram:
    user_id: "123456789"
    bot: my_repo_bot

local: a page on your Mac

A small page on 127.0.0.1, served by the run: the queue, stage and status of each FR, fix rounds, pull requests, measurements and open questions with a field for the answer. It lives only as long as the run.

telegram: on your phone

A bot you create with @BotFather. The run polls it with long polling, so it needs no public address.

Which channel when

The trust in an answer depends on the channel. A session runs as the same macOS user as the local page and could, in principle, call the page itself. Telegram brings an identity a session cannot fake.

Operation Channel Why
attended local you sit at the Mac; nothing to set up; the gap is accepted, as described in the security model
autonomous telegram you are not at the machine, and the sender cannot be faked

Notices

Event When
question a session asks
stopped a stop condition was carried out
waiting_approval a code owner's review, merge: manual, or a base without protection
failed an FR is Failed
merged an FR is merged, with its owner checklist if it has one
halted the queue halted after stop condition 9
report the output of the profile's report command

Every notice names the FR, the event, the repository and the next step: answer in the channel, a link to the pull request, or egon resume. While the state lasts, egon repeats it every notify_repeat minutes.