* 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>
* Send mobile over-the-air updates from our own update server
The mobile app gets JavaScript fixes with no store review. A new Worker,
apps/mobile-updates at updates.openbot.run, answers the Expo Updates
protocol from a private R2 bucket. It replaces EAS Update, whose free plan
stops at 1,000 updated users.
- scripts/mobile-ota.ts publishes, rolls out and takes back an update. It
refuses a commit whose runtime version no store build has, and it signs
each manifest with a key that is only a GitHub secret.
- The release workflows check the update settings of each binary before
the upload, and record each store build as a mobile-build/ tag.
- The app asks for an update when it comes back to the foreground, and
shows the update ID in Settings > About and in the support log.
- An update has its own changelog section, such as 1.5.0.1, from
bun run mobile:release:ota. The store release steps ignore that section.
- expo export needs EXPO_NO_BUNDLE_SPLITTING=1: Expo CLI 58 stops at the
split bundles of DOM components.
Versions up to 1.4.8 ask Expo's server and get no update. The next store
version is the first that uses this server.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* Find the live update for a rollout change and a rollback from the store builds
A rollout change and a rollback used the runtime version of the workflow
checkout. After a native change on main, that is not the runtime version
of the binaries in the stores, so a rollback from main stopped with "no
update to take back". With --platform all, the command also stopped at a
platform that had no update, before it changed the platform that had one.
Now the two commands read the mobile-build/ tags and find the binaries of
each platform that have an update. A platform with none is named and
skipped. Two store versions with an update, or a build with no tag, need
--runtime with one platform; the workflow has that input.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* Post each mobile store release after the deploy, and add a release menu
- One Discord post for each store, with a line about the other store.
- The workflow posts only when production shows the version and its flags,
and records each post with a mobile-announced/* tag.
- Mobile headings accept "Skipped (Store)"; /changelog shows it.
- bun run mobile:release: a menu for each release step that opens the PR.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Fix the NorbiAI findings on the mobile release flow
- The publish step keeps a feature at upTo "0" off.
- A post whose highlights file holds another version waits, and the run continues.
- The menu keeps a branch with a commit that did not reach a PR.
- Remove versionsInReview and storesInReview, which nothing used.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Check the Discord length limit on the longest mobile post
The second-store post has both store links, so it is the longest form.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Let a manual mobile post name an older version
`announce --version` no longer requires the version to be the newest one in
the store. It still requires the live changelog entry and the flags of main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Name a post tag that GitHub did not remove, and record the right hand-sent post
- A failed post that cannot remove its tag now says which tag to delete.
- The menu records a hand-sent post for a due or waiting version and store,
not for the app.json version.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Apple and Google review a build on their own, so a version can reach one
store days before the other. The mobile changelog heading now records a date
for each store, and mobile:release:published takes the store: ios, android or
both, and --version for an older version.
The Mobile tab of /changelog shows the stores of each release, and a store
that does not have it as "In review". 1.3.0 and 1.3.1 are on Android only.
* Show a mobile version on /changelog only after store approval
- mobile:release:* writes the new section as "## [x.y.z] - In review".
The /changelog parser skips it, so the site does not show a version
that the store still reviews.
- New command mobile:release:published replaces "In review" with
today's date when testers can install the build.
- A new mobile:release:* stops while a version is in review.
- The mobile release notes check accepts "In review". The desktop
check still needs a real date.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Name the release note after the branch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Add a mobile changelog and a Desktop & web | Mobile switch on /changelog
The iPhone app gets its own notes in apps/mobile/CHANGELOG.md and
apps/mobile/changelog.d/. The /changelog page shows them in a Mobile tab
at /changelog?platform=mobile. A change of tab uses the blur motion of the
header menu.
bun run mobile:release:patch, minor and major move the mobile notes into
apps/mobile/CHANGELOG.md and set the version in apps/mobile/app.json and
apps/mobile/package.json. The pre-commit hook and the Changelog workflow
check the mobile notes files.
* Set the mobile version in bun.lock when a mobile release is prepared
bun.lock keeps a copy of the apps/mobile workspace version, and Bun does
not update it. bun run mobile:release:* now sets it with app.json and
package.json, so the files agree after a release.
* Write release notes in one changelog.d file per pull request
Each pull request added its notes under "## [Unreleased]" in
CHANGELOG.md, so parallel branches changed the same lines and most
merge conflicts came from this file. Now each pull request writes a new
file, changelog.d/<branch>.md, with the same groups and items.
- release:patch, release:minor and release:major merge the items still
under Unreleased, then each file in the order that its commit was
added, into the new version section. They delete the files only
after CHANGELOG.md is written, and stop when a line is not in an item.
- check-release-notes.ts --fragments checks the files. The pre-commit
hook runs it on staged files.
- The Changelog workflow fails a pull request that adds no file and does
not change CHANGELOG.md, unless it has the no-changelog label.
- Update AGENTS.md, docs/RELEASING.md and the release audit gate G.
* Select the same changelog fragments in the hook, CI and the release
- The release reads changelog.d recursively. The hook and the workflow
already checked a fragment in a subdirectory, but the release left its
notes out.
- A change to changelog.d/README.md alone no longer passes the notes
check.
- Run xargs with -r. GNU xargs ran the fragment check with no file, and
the pre-commit hook test repository has no scripts directory.
* Add a changelog page to the public site
The /changelog page reads CHANGELOG.md when the site builds. It shows each
release with its changes grouped as New, Improved, Fixed, Removed and
Security, and bold upgrade steps in an "Action needed" box. A sticky index
marks the release in view; below 960px it is a row of chips.
The header and the mobile menu link to the page. The footer "Releases" link
now opens it in place of GitHub Releases. The sitemap and llms.txt list it.
* Stop a release that has no changelog notes
scripts/check-release-notes.ts checks the CHANGELOG.md section of a
version. It fails when the section is missing, empty or appears two times,
or when it has an unknown group, an empty group or item, an item outside a
group, a placeholder or a heading with no real date.
release:patch, release:minor and release:major check Unreleased before the
bump. The pre-commit hook checks the staged notes when a commit changes the
package.json version. release:preflight and the tag workflow check the
section of the current version. docs/RELEASING.md tells how to write the
notes, and AGENTS.md points to it.
* Keep the changelog title and anchor helper private
Knip reported both exports as unused. Only changelog.ts reads them.