* 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>
* Install updates on hosted Linux servers from Server Settings
OpenBot on a hosted or self-installed Linux server now asks root to
stage and install a release. It writes an empty request file in its
runtime directory. A root path unit starts `openbot-hosted-update
request`, which stages the release, or stops OpenBot, applies the
release and starts OpenBot again. Root writes progress to a state file.
The new HostedUpdateAdapter gives UpdateService the electron-updater
shape, so Settings → Updates and Server Settings → Updates show the
full controls. openbot.service installs the request units on the first
start after an update from an older script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Stage before a hosted install, and start OpenBot after a partial copy
An install request now runs `stage` first, so OpenBot keeps running while
the request waits for a download of the timer. When `stage` fails, a
release that is already staged still applies. The traps are set before
OpenBot stops, and the EXIT trap completes an interrupted copy before it
starts OpenBot. The progress keeper makes the state file again when the
`stage` of the timer removes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Start OpenBot when the retry of an interrupted copy fails
`set -e` applies in the EXIT trap of `request`. When the second `apply`
failed, the trap stopped before `systemctl start`, and OpenBot stayed
stopped. The trap now ignores that failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>