Skip to content

Keepawake Driving sclaude from the bot

Ilia edited this page Dec 3, 2026 · 10 revisions

The sclaude cycle can be driven from the bot too. Not by emulating a terminal but by dividing the roles: the orchestrator stays the orchestrator, the bot shows its questions and passes the answers on, and the step's own conversation goes to the Claude mobile app.

A question lives in a file rather than in a process (sclaude/lib/core/io.sh): the orchestrator lays it out in .git/sclaude/ask.json and waits for an answer from two places at once — the terminal where the question was asked, and the channel. Whoever answers first has answered. Hence hot switching: a feature was begun at the laptop, reached "Is step 'development' finished?", was left — and answered from a phone; the live process in the terminal prints the answer after the prompt and carries on by itself. The same in reverse: an answer in the terminal clears the question, and the bot settles its message on the next turn.

A question's message does not outlive the question. Answered anywhere — by a button, by text, in the terminal — the message becomes the question with its answer and loses its buttons; a typed answer is deleted, since the question now shows it. Closed unanswered — the session was killed, a yes/no reply was neither and the question is asked again, a word a list refused, the repository is gone — the message is deleted. A typed reply the bot cannot tell an answer (neither yes nor no, a word for a list) goes on to the orchestrator, which judges it, and the message is settled by the record; a number the list lacks is held back with a note instead, since the orchestrator would refuse it out of sight. The disappearance of ask.json says only that the question closed, so an answered one leaves .git/sclaude/closed/<id>.json (reply and source) before it goes; the bot reads and deletes those records, and the orchestrator clears any older than a week for machines where the bot does not run. Telegram lets a bot delete only for 48 hours; an older message is edited to "no longer relevant" instead. The message id is dropped once the message is settled.

A press carries the repository, not the question, so a press on an older message would answer whatever the repository asks now. The bot compares the message with the one showing the open question and answers any other with "already closed".

A channel and a topic per feature. Features run in parallel, each under its own orchestrator, and one channel per repository let only one of them reach the phone: the second found it busy and asked the terminal alone. A function working on a feature declares local ASK_SLUG="$slug", and its questions go to .git/sclaude/ask/<slug>/ (ask_channel in sclaude/lib/core/io.sh); bash's dynamic scope ends the binding with the function. The binding begins only once the feature's worktree exists: the name and the GitHub issue sclaude new asks about go to the repository's channel. The bot reads the feature from the directory's name and, with Threaded Mode on in @BotFather, shows its questions in a topic of its own (createForumTopic in the private chat), named slug first — a phone shows about thirty characters of it — and the repository after it while the name stays within 48. A press is routed by the message it came from, and text typed in a topic answers that topic's feature; in the main chat text answers the question it replies to (Telegram's Reply), or the one question shown there — with several and no reply, the bot asks which. Replies to a command typed in a topic go back to that topic.

What the bot knows of a feature — its topic and the message showing its open question — lives in the feature's worktree and nowhere else, in .sclaude/local/feature/telegram.json, which git and uploads leave out. The topic goes with the worktree: remove_worktree reads the record while the worktree is there and, once it is gone, leaves it in the channel's ended mark (ask_record, ask_feature_end), which also ends the binding. The bot deletes the topic's messages, then the topic, then the channel. The messages go by id: in a private chat a deleted topic leaves them standing in the chat's "All" view. So every message sent into a topic or typed there is recorded, one id a line, in ~/.local/state/keepawake/topics/<thread> (topic_ledger in state.py): by the bot (remember_in_topic) and by sclaude-notify, which sends past it. What sclaude sends that way about a feature — regressions, QA's moves on the board, a quota or usage limit — goes to the feature's topic, and its text does not name the feature: the topic is the feature. Only when it falls back to the main chat, with no topic to go to, does --as put the name before it. delete_topic sends them to deleteMessages first, having taken the record aside by a rename, so an id sclaude-notify appends meanwhile starts a new one and is deleted on the next turn rather than lost. Telegram lets a bot delete only messages under 48 hours old; older ones stay in "All". So a feature asks nothing once its worktree is removed: done makes its offer about side worktrees first, and drop asks all its questions (worktree, branches, pull request, issue) before it does any of it. A worktree removed by hand takes the topic's id with it: its channel goes ten minutes later, and the topic is left to delete by hand. Telegram does not let a bot close a topic in a private chat, only delete it. The daemon's state keeps the repository channels' messages, and a feature channel's only while it has no worktree.

Notes: what the topic is told without being asked. After each review round sclaude also says where the review stands: review_report in review_gate.sh has review_report.py write the numbers of the last finished review round to the file SCLAUDE_REPORT_BRIEF names, and ask_notice (sclaude/lib/core/io.sh) lays that text in the feature channel's notes/, skipping a text the same as the last one — the report is printed at more than one point of a round. With the review on this machine the topic hears no table after a pass: the pass's own line there says what is open, and the numbers said it again; the table goes to the topic when it is the only word on a round, a fix session's end with no pass after it or a gate that closed without one. The bot sends every note to the feature's topic in the order they came, each a message of its own and without a sound, and deletes it once sent (keepawake/notices.py); a message is never edited, so the topic keeps the history. A note the network kept back waits for the next turn, one older than a day is dropped, and the notes go with the channel when the feature ends. Notes go to the main chat only when the chat has no topics; with a topic not made yet, or the feature going, they wait (note_topic). A send that failed because the topic was deleted by hand makes the topic again, and what waits goes there. The module is separate from the bot's own modules, which pass it the channels and the way to a topic.

The topic also follows what sclaude is doing. Every line say, info, warn and alarm print while sclaude works on a feature is appended to the channel's notes/feed.tsv (ask_feed, no process of its own per line); each turn the bot takes the file by renaming it and sends what gathered as one message, shorter than the terminal: headlines, warnings and alarms, not the indented detail under them, nor the lines an open question already carries. It is silent unless a warning or an alarm is in it and the person is not at the terminal that printed it — the same test of the terminal's last keystroke that keeps questions silent at the laptop. The feed goes only to the topic: with none yet the file waits, lines a failed send took go back to it for an hour (FEED_KEEP), and a long batch is cut by whole lines, never through an HTML entity. A line the message already says goes: the same line twice, or one a longer line carries whole, by whole words (said_in), when the line that carries it is at least as loud (loudness), so a warning is never dropped into a quiet line; of a line twice the loudest copy stays. The bot itself sends a plain message to a topic — no buttons, the topic named, not a reply to the person — unless the last such message there said the same, its times ("4m 05s") aside, as quietly and within the past two minutes (Bot.send, same_text, SAID_WINDOW); and an edit, a caption or a widget's state equal to what that message was last given in the past ten minutes (EDIT_TRUST) is not sent at all — Telegram's "message is not modified" still answers the first after a restart. With widgets on, the lines of a running process go into its widget instead, and one message follows when it ends (the widgets paragraph below). Which lines go is one test, headline in notices.py, for the message and the widget alike; so what the phone must hear stays off an indent in sclaude — a sentence on one line, a heading that does not end in a colon over an indented list, and every change made outside (a merge, a promote, a publication) ends on a line of success, as a failure always did. A stretch that ends on one line of its own sets ASK_FEED_QUIET around it: its say and info stay off the topic, warnings still go — an automatic QA reaches it as "🚀 Preview

→ QA accepted (auto) → PR #N ready for the merge".

Each of these lines opens with its kind's icon, the one its tab carries where it has one (phase_icon in steps.sh): 🛠 a review fix session, 🔍 the local review, 🧪 a regression, 🔧 its fix, 🚀 a deploy, 🧱 a friction review, ✅ a step done. A message that opens with such a line leads with its icon rather than the laptop's 🖥 (OWN_ICON in notices.py). And one step's lines are not mixed with the next one's (feed_groups): a step done ends the message, a start or resume begins a new one once the message holds another phase's line, and a warning printed while the next step is set up goes with the start it leads to. A step done that follows a friction review goes on its own: that review comes between the step's last session and its end.

An activity's start and end in one message (activities.py). A review pass, a session, a regression, a deploy: its start goes as a message, and its end — with the review's verdict on the round after a local pass — is edited into that message rather than sent, so "Local review started" and "Local review finished · 1 open" are one message. Only by what sclaude says: each phase line ends with its activity's tag (phase_tag in steps.sh — the kind and its arguments, and whether the verb opens or closes it), which ask_feed takes off the text and writes beside it in the feed, and the verdict says it is the tail of a local review pass (FEED_TAIL). The bot keeps the open activities' messages in the channel's notes/activities.json, and edits an end in only while its start is still the topic's last message (the topic's record, topic_ledger, which the bot, sclaude-notify and the person's messages go into): a question, a report, a warning or a reply between, and the end goes as a message of its own, as before — never edited out of sight above something else. A tail joins only a pass of its kind. A line with no tag, an end whose start was never sent, a start no longer to be edited, or a group too long for one message goes as its own message, as before. An edit makes no sound: an end that should sound (a regression red, a deploy failed) is sent anew with its start above it, the start deleted — or on its own, when the start is older than Telegram lets a bot delete (DELETE_AGE). The review's keys come off the start with its end. With widgets on, the widget takes these lines instead.

The review's keys on the phone (review_keys.py). The message that a local review pass started ("Local review started: PR #7, round 3") carries the two keys its terminal takes: ⏭ the last pass for new findings ([s], which becomes ↩️ to take it back) and ⏹ end the search ([n n]: the pass stops at once, asked once more before it stops). The message that a fix session started carries the first alone: the round is the last, and after it the review only checks the fixes. A pass that only checks them has no buttons, as its terminal takes no keys. A press writes its word — pass, back or now — into the feature's channel (review-said, SAID_FILE), and sclaude takes it from there (review_said_take in local_review.sh): a pass's wait looks every second and acts as on the key, and review_enough, which everything else asks, takes it first; a stop with no pass running counts as the last pass. Which message has the buttons is kept in the channel's notes/review-buttons.json, with the pid of the sclaude that printed the line. The next phase line the topic gets — the pass or session ended, or anything else started — takes them off, so they do not pile up; a press on a message whose sclaude is gone is told the review has ended, and its buttons go too.

Every session sclaude opens for a feature — a step, a friction review, a regression fix, the epilogue, the retrospective — tells the topic when it starts and when it ends, in one shape (phase_line in steps.sh, numbered over the seven of the cycle): "Step 4/7 review: fix session 2 started", "Friction review finished: after step 4/7 review, fix session 3". A step's lines name its session, since the step goes on after one ends — a review takes several — and the step itself is told once, when it closes: "Step 4/7 done: review". The review on this machine, which runs inside a step with no session of its own, is told the same way ("Local review started: PR #7, round 3", and at its end how many findings it leaves open; a pull request read in review blocks names the block, "Local review started: PR #7, block 2/5, round 1", and so does a fix session's line, "· block 2/5"), and so is a plan a session changed, by how much: "Plan changed · +3 −1 lines" — the lines that changed are printed in the terminal. A step 4 session is a fix session: it fixes what the review found. Its line says what it is handed — "Step 4/7 review: fix session 1 resumed · findings: 2 not fixed yet, 4 new · red: tests" — and the "Step 4 is not done" line, without a sound since the next session opens by itself, saying where the last round left the review, when that can be told, instead of the count the review's own line just gave: "Step 4 is not done — findings: 3 fixed, 1 declined, 2 not fixed yet, 4 new, 1 on lines since changed · 1 left to you · red: tests" (brief in pr_context.py). Both count from the fix session's last look at the pull request, its transcript's last entry: fixed and declined are the threads closed since, by the review confirming a fix or by a "Left as it is"; not fixed yet the ones it had seen and that are still open; new the ones posted since; left to you the threads the person kept. The fix session's own line keeps to its work: what is settled or the person's is left out. At its end, finished or ended, the line gives what the round left (review_tally, counted from the round's start, steps.review.round_since): "Step 4/7 review: fix session 1 finished · 2 commits · findings: 1 declined, 5 for the review to check, 0 new". With the review on this machine its fixes are checked after it, so what it leaves of what it had is "for the review to check", not "still open", and "fixed" appears only when something confirmed a fix within the round. A round the review closed while the session goes on is told the same way: "Step 4/7 review: fix session 1, round 3 finished · 3 commits · findings: 5 fixed, 0 new". A regression sends one line when it starts and one when it ends ("Regression failed: local, on e2e: · 11/12, 14m 03s"), with a sound only when it is red. A preview deploy says when it starts and how it ended ("Deploy finished: preview · ", or failed after every try, with a sound); production, which begins with a question, says only how it ended. The commands a deploy runs stay in the terminal, and with the question they are what it rests on. "Finished" is a session sclaude closed on its report; "ended" one a person left, which says nothing of the work being done (session_closed in session_watch.sh). A detail rides on the same line only where the reader needs it: how many friction entries a review has, the regression part a fix is for, that a fix goes back to the session of the last one, a retrospective that found nothing to act on.

The menu, split by where it is. In a feature's topic there is nothing to choose: the topic is the feature, so the menu there is the feature's card — step, session, links, dev server, code-server (?folder= opens the worktree, whichever project the server started on) — with buttons that act on it directly. The card is the topic's first message; "Menu", /menu or text that answered nothing bring a fresh one, and the old goes. It is not pinned: a pin in a topic of a private chat announces itself in the main chat. A card's buttons name the feature in their data when it fits 64 bytes and leave it to the topic otherwise. The main chat keeps what is not about one feature: sleep, status, Chrome and the list of features, code-server, the repositories and their features — a press on one opens its topic — and Settings. Without Threaded Mode the card stands where the feature list was, with a way back to it. Any other refusal (bot_topic_wrong_home, a 403, one the bot does not know) is taken for the whole chat and treated the same: the main chat for fifteen minutes, twice as long on each repeat, up to six hours, until a topic is made again. Telegram has answered such a request with a refusal and made a broken topic all the same, so asking again on every turn filled the chat with copies. A refusal known to be about one request alone (a name Telegram does not take) holds only that feature, for fifteen minutes, its review notes going to the main chat meanwhile (its feed of terminal lines is let go, as in a chat without topics); a rate limit, a server error or the network holds nothing. With phone access on all of this lives in the menu app (below), and the chat's menu and a topic's card are each one button to it.

The main chat holds one menu at a time, and so does each topic (screens, by thread): a menu sent anew — by a command, "Menu", or a word the bot did not know — replaces the last, and the typed command goes. A menu that did something rather than lead elsewhere is edited into what it did, without buttons, and stays as a line of history, as an answered question does.

The bot's own questions are settled the same way: the sleep warning becomes "extended until" or "will sleep" when the deadline moved, by a press or without one, and goes once its deadline has passed. No message about sleep outlives its truth: each answer — to the warning, /extend, /sleep, the keepawake menu, the question about forgotten holders — is kept with its expiry (sleep_trail in the state) and goes when it passes, within Telegram's 48 hours for deleting; a new answer or warning takes every earlier one away, so the chat shows at most the one that holds now. A line the network kept is tried again on the next turn. The question about forgotten holders goes once nothing holds, someone typed, or no session is left; the "until what time?" prompt becomes the answer, or goes with its input box when the person leaves it.

A feature's topic keeps a journal (keepawake/tg_journal.py), since Telegram keeps no history the machine can read back. Every call about the topic — from the bot (Bot.call) or from sclaude-notify (its sends and deletions, with --in) — and every update from it (the daemon's loop) is one JSON line in .sclaude/local/feature/telegram-log.jsonl: when, which way, what (sendMessage, editMessageText, deleteMessage, sendWidget, editMessageWidgetData, answerWidgetQuery, a message typed, a button pressed, a widget tapped), the topic and the message, the text or caption, the buttons' labels, a widget's data, the files' names, and whether Telegram took it, with its words when it did not. None of how sclaude talks to Telegram is kept: no token, no address, no chat id, no field of a payload named like a key, a hash, a signature or the widget's init data, no widget's HTML (its size only), no file's bytes. An edit or a deletion names only its message: the topic is found in the bot's record of the topic's messages. The file is in the feature's tree, out of git, and goes with the tree; a message in the main chat, and the topic's deletion after the tree is gone, have no feature to go to and are not kept. The retrospective reads it beside the terminal for what was said twice or said for nothing.

Active things can go as widgets (off by default, below). Bot API 10.4 lets a message carry a small HTML widget whose state the bot changes silently (editMessageWidgetData) and which asks the bot on a tap (widget_query, answered with answerWidgetQuery within 15 seconds — always, a failed tap too). The daemon asks for widget_query by name in allowed_updates, since it is not in Telegram's default set. The sleep warning is the first: a widget (widget_html/hold.html) that counts down to the deadline by itself, says why sleep is coming and what Windows does next, and answers "add an hour" and "let it sleep" in place. A deadline moved elsewhere changes the widget's state and caption, not its text; a tap on a window that is over is answered "out of date" and the widget goes, as the message's button did. A widget's code is fixed once sent — the labels in the person's language go into it then — and everything else is its state, at most 1024 bytes (widgets.state cuts the longest field to fit). A session's question is the second (widget_html/ask.html, asks.widget_press): yes/no, or every option of a choice as a button — eight labels or forty digits a page, the next page asked of the bot — so a list longer than an inline keyboard takes needs no typed number. Labels the question did not pass are read from the numbered list printed above it, which then leaves the caption. The question itself is the caption above the widget, its context cut until it fits Telegram's 1024 characters; answered — here, at the terminal or by text — the widget shows the answer and its buttons go. A question that wants typed text stays a message, unless it suggests an answer ("Branch name []: " when a feature starts from an issue): the suggestion is then the widget's one button, and a typed reply still answers it. A process sclaude runs is the third (processes.py, widget_html/proc.html): the feed line that starts one ("🧪 Regression started", a review pass, a session) opens a widget captioned by it, which counts the time itself and shows the latest lines — they go into it by a silent edit instead of piling up below. The line that ends it (a ✅, or a phase line of the same kind that starts nothing: "finished", "failed"), or the next start, takes the widget away and leaves one message with its account: the start, then its latest lines — the result last — with how many between were left out; a warning while it runs sends the widget again, with sound, the review's keys moved onto it. A process begun and ended within one turn stays a message, and one whose printing processes are all gone and which has printed nothing — its detail lines included — for an hour (QUIET_END) is ended after that turn's lines are read: the process that prints a start is not always the one that runs it. Such an end the network keeps refusing is given up unsent — an hour from its first refusal when its topic is gone, a day otherwise (GIVE_UP). Lines before a new start in one turn are the open process's last, a warning among them aside — it goes with the start it leads to. An end sends its account before anything that follows; not sent, nothing changes and the lines come back next turn. The ended widget's removal waits in the record (notes/process.json in the feature's channel, with the open process) and is tried every turn until done; a widget whose edit fails — deleted by hand — is sent again. Turned off — by hand, or by Telegram refusing a widget — the open process ends at its next lines, which close its account (the review's keys move to it while the pass runs), and a new start goes as a message.

The menu is the fourth (menu_widget.py, widget_html/menu.html): /menu or "Menu" in the main chat sends the whole menu as a widget, the last one taken away, and it works with phone access off — the widget needs no network. A tap asks the bot with the button's place on the screen (m:<row>.<place>; the actions are kept in the state as menu_widget); the bot answers the query at once and runs the press through webmenu.answer — the Mini App's own screens — since a press may take longer than the 15 seconds a query has, and the next screen arrives as the widget's state. A screen too large for the state's 1024 bytes loses rows from the bottom — the last, the way back, stays — then shorter labels, then whole lines of its text, which then loses its markup. The press is answered at once and runs right after, in the loop; the next screen carries a press counter, so the widget always hears it, and a tap names the counter of the screen it was made on — one made on an earlier screen is answered with the current one. The buttons are off while a press is out; a press whose screen never comes gives up after a minute, and one that failed is drawn as failed. Such a press leaves no "📱" line in the chat: the widget shows what it did; a change to the hold still takes the earlier lines about sleep away. Links open from the widget; the Mini App's own buttons are left out, and a screen that wants typing says to use the app or a command. A topic's menu stays its feature's card.

The feature's card is the fifth (card_view.py, widget_html/card.html): in its topic it is a slim widget — the cycle's places by their icons, the one the feature is at highlighted, and what its session is doing — whose caption is the rest of the card (the names, the links, the dev server and code-server; feat.cardslim leaves out the step and the session the widget shows) and whose buttons stand under it as before. The place is read from the label's "N/7" (the state's step stops at the four steps). A redraw (card_view.redraw) changes the widget's state and caption; words past a caption's 1024 characters lose the card's last lines before a press's note, which is cut only when the card's first line and the note alone do not fit (card_widget in the feature's record says the card is a widget). A widget past Telegram's 48 hours for deleting is drawn out of date by its state (menus.retire). ⚙️ Settings → 🧩 Sending has two values: widgets + messages — widgets where they replace a message, plain messages for the rest — and messages only (widgets in the state, widgets.enabled), the default. Telegram withdrew widgets from bots after Bot API 10.4 — sendWidget answers input_media_widget_not_allowed — so the messages are the working path again and the widgets are kept for when it brings them back: turned on while Telegram still refuses, the first refusal (widgets.REFUSED, seen by Bot.send_widget) turns the switch off again, so the sleep warning's next try, a turn later, goes as a message.

While widgets are on and the bot is running (bot_running: its systemd unit is active), bin/sclaude-notify --in does not send a phase line meant for a feature's topic ("🧪 Regression started", its end): it writes it into the feature's feed, as ask_feed does, so the regression's widget takes it — a regression tells of itself through sclaude-notify, not through the feed. So does a line that carries its activity's tag with widgets off, for the bot to edit the regression's end into its start; the tag goes on each of its lines, so a red part's log tail stays with its line, and comes off the text either way. A line it would have sent with sound is written at the level ring, which sounds (FEED_SOUND) without the ⚠️ of a warning, and keeps its indented lines (a red part's log tail); the person at the terminal that asked keeps it silent, as every feed line.

At the laptop a question arrives silently. It is sent anyway — one can step away mid-step, and then the message is already waiting in the chat — but while the person is sitting at that very terminal it does not buzz the phone (disable_notification): the question is on the screen as it is, and that is where it is answered.

Presence is measured by the terminal of the process that asked the question: its pid already travels in the channel, and the controlling terminal is found from it. Not "the freshest terminal of all", as in the bin/keepawake detector — a forgotten neighbouring tab has nothing to do with this question. We look at atime rather than mtime, and that is not pedantry: a tty's mtime is moved by a program's output, so ask itself, having printed the prompt, would declare the person present — every question in a row would go out silent, those asked from the bot included. atime is moved only by a successful read from the terminal, that is by what was really typed, and idle turns of read -t do not touch it. The threshold is five minutes: reading a long question or thinking over an answer, a person stays silent for a minute or two without going anywhere. Any uncertainty is resolved in favour of sound: no pid, no terminal (a launch from the bot off WSL goes through setsid), /proc will not read — the message arrives as usual. A launch from the bot on WSL has a terminal, its tab, and is never taken for the person at it: the asker's environment carries SCLAUDE_FROM_PHONE (from_phone), since a new tab's atime is its first moment and would read as five minutes of presence.

The question declares the answer's form itself — as ask's third argument rather than by parsing the prompt: guessing from [y/N] would diverge from the code at the first edit to the text. yn and yn:yes give two buttons (the first being the one Enter gives in the terminal), pick:N gives a button per option (as messages only, behind ⚙️ Settings → 🧩 Sending, a large N asks for a number as text, as in the terminal); with no form the answer arrives as an ordinary message. What was printed before the question travels with it: a "Publish?" without the list of commands run_block shows in the terminal would be agreement to who knows what.

A step with no terminal is refused. It used to go into the background instead (claude --bg, the conversation continuing in the Claude app over Remote Control), and that was written for an entrance nobody uses: ssh through Termius gives a real tty, so does the terminal inside code-server, and nothing automated starts a step at all — sclaude-watch only polls GitHub and prints sclaude <slug> for a human to run, and the Telegram bot's buttons open sclaude in a tab of Windows Terminal on the laptop (below). So no terminal means sclaude was invoked by something that was never meant to invoke it: ssh host sclaude <feature> without -t, a systemd unit, a cron line, a pipe. Carrying on there is worse than stopping — the step runs where nobody is watching, after_step is never reached, and the next step and the friction review never happen, while the orchestrator returns as though it had done its work. It now says all of that and starts nothing.

The two entrances do not get in each other's way. An open step session cannot be opened a second time — the check asks claude agents --json rather than looking for a process in ps: a session started without arguments does not show its UUID in the command line, and the old pgrep did not see it at all. The channel is also occupied by one orchestrator: whoever comes second gives way and asks the terminal (in a tab a press on the phone opened, nobody is there: the question goes unanswered), otherwise it would overwrite the first's question and that one would hang, waiting for an answer that would no longer go to it. It says so once in its terminal (Not sent to the phone: sclaude pid … holds this feature's questions). The owner holds it while its pid is a live sclaude, with a terminal or without one (the bot starts sclaude with none on purpose); it is never signalled. A live pid that is not a sclaude — reused after the owner died — holds nothing, and the newcomer takes the channel. A question that outlived its owner (killed with Ctrl-C, an ssh session dropped) is not shown by the bot — it checks the pid and removes it.

Termius and code-server have not gone anywhere: a full-screen claude is real there, and for long stretches of work by hand that is still more convenient.


Generated from docs/keepawake.md; edit it there, then rebuild with wiki/build.py.

Clone this wiki locally