Repository navigation
docs(app): inventory the eight surfaces B2 still has to migrate - #14382
Merged
Merged
Conversation
Co-authored-by: Cursor <[email protected]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.rowis keyed onconversationIdx, a list position, where it must beconversation.idor a row's identity changes when the list reorders; thelabel_enstrings forAsk, Back, Create and Guide already disagree with
app_en.arb;IndexedStackcan place thesame row on both home and conversations, so a key is not unique per screen;
local_devsign-inis not the Google button, because
Platform.isIOS/Androidreports the host OS; andconversation_detail/page.dartis a hot file with 19 unkeyed constructors.The resulting migration order is settings → devices → memories → conversations → onboarding
auth → tasks → home tabs (
bottom_nav_bar.dartonly) →conversation_detaillast, which keepsthe 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