2 Commits
Author SHA1 Message Date
Aleksander DygońandClaude Opus 5.5 03c2ff34c2 Remove code comments and add the no-comments rule (#12604)
* Remove code comments and add the no-comments rule

Remove the comments from first-party code and configuration files:
TS/JS, JSX, CSS, SQL migrations, Swift, Kotlin, Gradle, shell,
Docker, systemd, Nix, YAML, TOML, JSONC and GritQL.

Keep only what a tool reads: license headers, shebangs, compiler
and lint directives, JSDoc types in plain .js files, generated file
headers, GritQL scope lines, the install-server.sh help text and the
openbot-boat-pre-stop marker. Vendored code, fixtures and released
schemas keep their comments.

Add the rule to AGENTS.md, and change the docs that asked for
comments. Add two i18n keys that only comments named to
RELEASED_SOURCE_KEYS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep comments that are data in strings

The benchmark task files in opencode-free-models-bench.ts tell the
model what each function must do. The sample file and HTML page in
the two stories are display content. Put their comments back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep released migrations and mobile native inputs unchanged

check:migrations compares each released migration with v0.73.0 byte
for byte, so restore src/backend/migrations. A change to a native
build input of apps/mobile makes a new runtime version, so restore
those files and the extra fingerprint sources.

List these files and the comment markers that a tool reads in
AGENTS.md. Remove the last requests for comments in
src/renderer/AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:19:28 +01:00
NorbertandClaude Fable 5.2 742b4e2848 Open the thread of a notification or a Live Activity in the mobile app, and notify about thread replies (#6856)
* Open the thread of a notification or a Live Activity, and notify about thread replies

A tap on a notification or on the Live Activity of a side thread opened
the main chat of the agent (#5057). The phone now opens the side thread,
the channel of a channel thread, or the agent's chat. The Live Activity
links name the thread of the question, the approval or the work that the
activity shows. In the expanded Dynamic Island, the view of one agent is
a link, because iOS did not apply the tap URL of the region.

The end of a turn in a side thread now sends a phone notification. The
local event `routine-thread-turn-completed` is `thread-turn-completed`
with a `routine` flag. The desktop notification and the completion sound
still use routine threads only.

Settings > Notifications > Thread replies turns these notifications off
on one phone. The choice goes to the host through the new optional
capability `push-notification-threads-v1` (protocol 9 only). A phone
without the capability gets no thread reply notifications, because its
tap opens the main chat.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Fix the review findings of the thread notification change

The owner got no notice of a side thread turn on any device when the
host computer had recent input and the OpenBot window had no focus: the
phone stayed quiet for an event that the desktop does not show. For such
a turn, the phone now stays quiet only while the member uses OpenBot.

A Live Activity that shows a failed turn of the agent's own chat does
not replace the notification of a side thread failure. A host does not
keep a side thread turn for a phone that does not take it. The phone
sends its thread choice again when the request that carried it failed
after a newer registration. A thread lookup after a tap always reads the
host. A link that started the app does not open the chat a second time.

The route for the thread choice does not check the body again: the wire
codec did.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 16:45:59 +01:00