Skip to content

Default-enable sent-message editing - #1351

Merged
ymichael merged 1 commit into
mainfrom
bb/enable-message-and-provider-retries-thr_x58v656fje
Aug 12, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/enable-message-and-provider-retries-thr_x58v656fje

Conversation

@ymichael

@ymichael ymichael commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Turns on the editMessages experiment out of the box. It keeps its Settings → Experiments toggle — that just becomes the opt-out instead of the opt-in.

Scoped to editMessages only. The Provider retry plugin default stays off and can flip separately.

Experiment defaults

defaultExperiments was derived as "every key is false", which left no way to express a default-on experiment. It is now an explicit per-key record typed as Experiments, so adding a key to experimentKeys still fails to compile until it declares a default. No schema or persistence change — experiment values already use key/value rows.

Who this affects

Only unset keys read a default. setExperiments persists every key, so an installation that has already saved any experiment toggle keeps its stored editMessages value. Sent-message editing shipped in #1280, so few installs have a persisted row yet; the rest pick up the new default.

Two editMessages: false sites are intentionally untouched — the offline unavailableSystemConfig fallback in the app fails closed independently of server defaults, and the desktop preload build test stubs a fixed /system/config response.

Discoverable surfaces

Updated docs/configuration.md, the bb-cli builtin skill, and the bb guide threads/customization templates (regenerated), replacing the "default-off" / "requires the experiment" wording.

Validation

  • @bb/server 1,436 tests, @bb/app 2,540 tests, @bb/db 379 tests, @bb/cli 407 tests, plus @bb/domain and @bb/templates
  • typecheck across server, app, domain, db, templates

One assertion needed updating: test/system/experiments.test.ts hardcoded the old defaults.

No host daemon protocol bump: no wire shape, requiredness, or meaning changed.

AGENT GENERATED: by Claude Opus 5

🤖 Generated with Claude Code

@ymichael
ymichael force-pushed the bb/enable-message-and-provider-retries-thr_x58v656fje branch 3 times, most recently from 7e002e0 to a7303cf Compare August 12, 2026 21:04
@ymichael ymichael changed the title Default-enable sent-message editing and Provider retry Default-enable sent-message editing Aug 12, 2026
The `editMessages` experiment shipped default-off in #1280. It is ready to
be on out of the box, with its existing Settings → Experiments toggle
becoming the opt-out rather than the opt-in.

Experiment defaults were derived as "every key is false", which left no way
to express a default-on experiment. `defaultExperiments` is now an explicit
per-key record typed as `Experiments`, so adding a key still fails to
compile until it declares a default.

Only unset keys read a default. `setExperiments` persists every key, so an
installation that has already saved any experiment toggle keeps its stored
`editMessages` value.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@ymichael
ymichael force-pushed the bb/enable-message-and-provider-retries-thr_x58v656fje branch from a7303cf to fb568a5 Compare August 12, 2026 21:06
@ymichael
ymichael merged commit ce48986 into main Aug 12, 2026
10 checks passed
@ymichael
ymichael deleted the bb/enable-message-and-provider-retries-thr_x58v656fje branch August 12, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant