Skip to content

SCA-3689: Retire the dormant client speaker refactor - #26023

Open
Git-on-my-level wants to merge 6 commits into
mainfrom
agent/sca-3689-speaker-retirement
Open

Git-on-my-level wants to merge 6 commits into
mainfrom
agent/sca-3689-speaker-retirement

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Retire clients_refactor in mobile and macOS and add its retired-registry tombstone. This experiment had no rule in production PostHog project 302298 or the Omi flag store on Nov 22, and absent values used the legacy speaker assignment behavior. Keep that behavior, including the mobile owner sentinel and pending-suggestion handling, and the macOS assignment and segment-order fallback. Preserve the SQLite migration name, stored speaker-label schema, additive event fields, and separate upload and custody controls.

The branch has been refreshed against main, which already includes the registry relabel (#26007) and the macOS meeting-boundary retirement (#26019). The registry and generated catalog reflect only the speaker experiment retirement. The Flutter identity test uses the current durable-audio custody flag from main.

Product invariants affected

  • INV-AUTH-1. The authenticated listener and owner-change handling keep their existing production flow.
  • INV-CAP-1. Capture, upload continuation and audio release still use their existing paths and independent controls.

How it was verified

At refreshed head fafa56c3d95bed6c7e6612631c75384184304700, 138 Flutter spine tests, 122 focused Flutter tests, and 28 focused macOS tests passed. The bounded pre-push gate passed, including all 48 selected PR preflight checks. The November 29 read confirmed the key was absent from the Omi flag store. The last verified PostHog snapshot is November 22.

  • Read-only PostHog project inventory and Omi Firestore flag-store point read.
  • November 22 feature-flag registry check and diff hygiene.
  • Strict macOS E2E coverage mapping and app and desktop internal changelog checks.
  • Flutter test harness passed 138 spine tests and 17 focused speaker and custody tests.
  • Three focused macOS XCTest cases passed at 152429efa60fd28e9ebe7209c0712ef656158b68. The current head adds registry metadata only. Its app and macOS trees match that tested head.

UI-Evidence: none -- the released speaker-assignment path is the retained branch.
Failure-Class: none

Multica: SCA-3689

View guided diff Turn on auto-fix

Git-on-my-level added a commit that referenced this pull request Nov 26, 2026
## What changed and why

Retire the dormant `clients_boundary_evidence` macOS sender and record
its retired registry entry. The November 25 21:55 UTC production
snapshot found no rule in PostHog or the Omi flag store. Stable macOS
0.12.578 (build 12578) requires the flag to resolve to Boolean true.

Local meeting rotation still runs through
`MeetingConversationBoundaryPolicy`. The authenticated `POST
/v1/capture/boundary-evidence` route, its request and response contract,
and its generated bindings remain available to released clients.

The retirement was replayed against current main after #26007 merged.
The published branch history is preserved so stacked PR #26023 keeps its
existing comparison.

## Product invariants affected

none

## How it was verified

- 24 focused macOS XCTest cases passed on
`762a5bb97f098fb7f04a252f604389a713a5135c`, including 11 for meeting
boundary policy. The bounded local push gate also passed.
- Both endpoint tests passed. A local replay of the stable macOS payload
verified meeting start, back-to-back close/open, and idempotent retry.
The router registration, request model, and generated binding match
main.
- Regenerated the flag registry and ran its checker.
- Reviewed the November 25 read-only flag-store snapshot.

UI-Evidence: none -- the removed producer ran behind an inactive flag
and does not render UI.
Failure-Class: none

Multica: SCA-3689
Base automatically changed from agent/m1-studio-codex-sol/a07de53a33e4 to main November 26, 2026 19:53
@github-actions

Copy link
Copy Markdown
Contributor

@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment /approve-ui 1c47a849f1664b919fdaa964d6c6b37cde2a7994. A later head keeps the approval only when it adds commits on top with no UI changes; a UI change, rebase or force-push needs a fresh one. To withdraw it, comment /reject-ui <full head SHA>. Non-UI work and unrelated access are unaffected.

Git-on-my-level added a commit that referenced this pull request Nov 29, 2026
)

* ci(ui-approval): stop counting tests, generated l10n output and import-only Swift as UI

The gate classifies by file. Three kinds of file cannot change what a user
sees and no longer count: test sources, flutter gen-l10n output in a change
that also carries its .arb source, and macOS Swift files that import a UI
framework without naming anything that draws.

Replayed against the 38 PRs the gate asked about in the week to 2026-11-29:
no PR that changes a rendering file loses its requirement; #26023 no longer
needs approval; generated l10n leaves the approval-carry comparison.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* ci(ui-approval): keep generated l10n gated and count geometry as drawing (panel F1, F2)

F1: a Swift file that computes sizes, radii or positions decides what is drawn
even with no view in it; geometry types now count as drawing use.
F2: generated l10n output stays UI and stays in the approval-carry comparison,
so a later hand edit to it drops a carried approval.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: Claude Fable 5.2 <[email protected]>

This branch has not been deployed

No deployments
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