Skip to content

Ship message editing as a standard feature - #3424

Merged
ymichael merged 2 commits into
mainfrom
bb/ship-editable-messages-experiment-thr_uufbzs8six
Sep 10, 2026
Merged

ymichael merged 2 commits into
mainfrom
bb/ship-editable-messages-experiment-thr_uufbzs8six

Conversation

@ymichael

@ymichael ymichael commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Message editing was already enabled by default, but the app and server still gated it behind the editMessages experiment. Users who previously disabled the experiment could not edit otherwise eligible messages.

What changed

Promote message editing to a standard feature by removing the experiment key, Settings toggle, and app/server gates. Preserve provider rewind support and existing thread/message eligibility checks. Update fixtures, CLI guide templates, settings documentation, and the affected verification recipes. Existing CLI and SDK editing surfaces now work without the experiment. Bump the plugin SDK to 0.4.54 because removing the experiment changes its bundled declarations. No host-daemon wire changes.

How you verified

  • node packages/plugin-sdk/scripts/check-npm-version-guard.mjs — passed after the SDK version bump.

  • pnpm exec turbo run test --filter=@bb/server --filter=@bb/db --filter=@bb/app -- experiments thread-edit-message — 51 tests passed. Message-edit service tests now seed a legacy disabled experiment value to verify it no longer blocks editing.

  • pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/server --filter=@bb/desktop --filter=@bb/cli — passed.

  • Isolated source app: confirmed Settings → Experiments shows only the four remaining toggles, and /api/v1/system/config excludes editMessages. Stopped the test app and removed its marked test data afterward.

  • git diff --check — passed. Live provider rewind was not rerun; service tests cover the editing flow. The broader verification inventory remains blocked by pre-existing drift for the unmapped browser CLI family.

AGENT GENERATED

@ymichael
ymichael merged commit c155224 into main Sep 10, 2026
16 checks passed
@ymichael
ymichael deleted the bb/ship-editable-messages-experiment-thr_uufbzs8six branch September 10, 2026 17:49
ymichael added a commit that referenced this pull request Sep 23, 2026
## Human comments

## What was wrong

Timeline row windowing (#2011) only ran when the `timelineWindowing`
experiment was turned on, and it was off by default. So long timelines
and large expanded details still mounted every row. The known
outline-jump bug with windowing on was fixed by #4217, which is already
on `main` (bb34cef), so nothing else was holding back the rollout.

## What changed

- **App:** `ThreadTimelineSurface` no longer reads the experiment from
system config. I removed the `timelineWindowingEnabled` prop and context
from `ThreadTimelineRows` and the `enabled` prop from
`TimelineWindowedItemsLoader`/`TimelineWindowedItems`. Windowing still
falls back to fully mounted rows below the per-list thresholds (60/40
top-level, 20 nested) or when there is no usable scroll root. Outline
and search navigation targets now always stay mounted.
- **Experiment key:** removed `timelineWindowing` from `@bb/domain`
experiments, the Settings → Experiments toggle, and the test fixtures.
Legacy stored rows are ignored, as before.
- **Docs:** `docs/configuration.md`, the bb-guide customization
template, and the bb-cli `app-settings.md` reference now describe
windowing as standard behavior. The verify-bb settings recipe lists the
remaining experiments.
- **Plugin SDK:** bumped to `0.5.20`, because the experiment keys are
part of its bundled declarations. Same as #2772 and #3424.
- No host-daemon wire changes.

## How you verified

- I deleted the tests for the experiment-off path. The remaining
windowing tests now run without a flag.
- `pnpm exec turbo run typecheck lint test --filter=@bb/app
--filter=@bb/server --filter=@bb/desktop --filter=@bb/cli
--filter=@bb/db --filter=@bb/domain --filter=@bb/plugin-api-map
--filter=@bb/templates` passed (25/25 tasks; app 557 files, server 299
files). Lint shows only pre-existing warnings.
- `node .github/workflows/check-plugin-sdk-version.mjs` passed.

Related: #2011 (added the experiment), #4217 (outline-jump fix under
windowing, merged).

> AGENT GENERATED

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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