Skip to content

docs(app): inventory the eight surfaces B2 still has to migrate - #14382

Merged
Git-on-my-level merged 2 commits into
mainfrom
task/msd-ui-b2-inventory
Sep 17, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
task/msd-ui-b2-inventory

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

What changed and why

One document, no code: a read-only inventory of the eight app surfaces that the addressability
work (B1/B2) still has to migrate — home, conversations, conversation detail, memories, tasks,
settings, onboarding, devices.

It exists because the previous surface estimate was made from the contract rather than from the
code, and was wrong by a wide margin. This inventory was produced by reading each surface: the
files that own it, every interactive control the key ratchet will demand a namespaced key for
with the proposed name, how the surface is actually reached today and therefore what its
route-registry row would be, and — the most valuable column — what cannot be keyed or
asserted the way the contract assumes, with the code reason.

Six of its findings are contract defects rather than surface work, and have been sent to the
contract's author: the app has four navigation tabs where the catalog describes three;
AddressKey.row is keyed on conversationIdx, a list position, where it must be
conversation.id or a row's identity changes when the list reorders; the label_en strings for
Ask, Back, Create and Guide already disagree with app_en.arb; IndexedStack can place the
same row on both home and conversations, so a key is not unique per screen; local_dev sign-in
is not the Google button, because Platform.isIOS/Android reports the host OS; and
conversation_detail/page.dart is a hot file with 19 unkeyed constructors.

The resulting migration order is settings → devices → memories → conversations → onboarding
auth → tasks → home tabs (bottom_nav_bar.dart only) → conversation_detail last, which keeps
the single-lane hot files late and independent of each other.

Product invariants affected

none

How it was verified

Documentation only; no app code, no test, no contract file is touched. The inventory was read
out of the source rather than inferred from names. Its claims are per-surface file and control
references that the B2 PRs will each confirm or correct as they land.

Tests

None. This PR adds no behavior.

Failure class (fixes)

Failure-Class: none

🤖 Generated with Claude Code

Review in cubic

Git-on-my-level and others added 2 commits September 18, 2026 01:29
The agent-doc-references gate rejected app-relative pointers such as
pages/home/page.dart, correctly: an agent reading the doc cannot
resolve them. It also caught that the memories row widget is at
app/lib/pages/memories/widgets/memory_item.dart, not widgets/.

Co-Authored-By: Claude Opus 5 <[email protected]>
@Git-on-my-level
Git-on-my-level merged commit 12eeab3 into main Sep 17, 2026
42 checks passed
@Git-on-my-level
Git-on-my-level deleted the task/msd-ui-b2-inventory branch September 17, 2026 21:02
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