Repository navigation
Description
Report
Featurebase report “Is anyone from the dev team even seeing these???” (Bradley Hanada, Sept 2026) includes an Android in-app omi.me screen showing: Failed to rebuild knowledge graph: {"detail":"Canonical knowledge graph state is derived from canonical memories and cannot be deleted or rebuilt directly."} The screen offers Retry, but the same request is rejected. Another Featurebase post (“Mind map not working”, Jonas) shows the same error, so this is not an isolated screenshot.
Current-main evidence (2026-10-03)
POST /v1/knowledge-graph/rebuild in backend/routers/knowledge_graph.py calls _require_legacy_graph_mutation, which returns HTTP 409 when canonical graph state exists. The mobile API client still exposes rebuildKnowledgeGraph(), and onboarding can call it when its GET has no content nodes. The attached screen is an in-app web view; its exact caller has not yet been identified. The raw backend conflict being shown with a Retry button is itself a client/backend contract failure.
Expected
Canonical-memory accounts should not be offered a rebuild action that deterministically fails. The mind map should load or recover through a canonical-safe path, and any remaining error should be actionable without exposing the raw backend response.
Related
- Android: Mind Map remains empty despite eight stored memories #20463 tracks an empty Android Mind Map despite stored memories; this 409 rebuild/retry path is a distinct failure.
- PR feat: Brain Map redesign — glass surface, connection-sized entities, rebuild from the whole account #12878 proposed a broader redesign; it is now closed unmerged and is not required for the mobile fixes below.
- No account details or memory contents should be posted publicly.
Technical resolution verified — 2026-10-26
The code fixes are merged and present on main at 372cfbcb56b5c69c787b4a1a8a1394ca1beb69ec:
- fix(app): handle 409 canonical state gracefully on knowledge graph rebuild (#20481) #20744 treats the protected canonical-state 409 as terminal rather than surfacing a raw error/polling an unqueued rebuild.
- fix(mobile): recover empty Mind Map through canonical memory reads #22078 recovers an empty mobile map through canonical reads/catalog pages, without offering a rejected canonical rebuild.
- fix(app): stop Mind Map onboarding rebuild after failed reads #23712 stops optional onboarding prebuild after a failed read, malformed response or replaced session; valid legacy rebuild and bounded polling remain intact.
For #23712 head 43866f9f0032844e08902aa01f41ce390cc6ef14, CI is complete with no failed or pending checks (22 successful, 25 conditional skips, one neutral); the full Dart Analyze & Tests job passed. The changed API, onboarding caller and regression file on main are byte-identical to the tested PR head. Local evidence also includes 88 focused graph/API/widget/identity tests, nine selected hermetic journey checks and 27 manifest checks. These exercise production client behavior with synthetic/local fixtures, not live-account recovery.
Closing as completed for the technical code scope. The Featurebase/support case remains open: #23712 still needs a confirmed mobile store release, then affected users must verify map loading and persistence after refresh/reopen. This final client-only change needs no additional backend deployment. Earlier fixes are already included in iOS 1.0.576 and Android 1.0.573. #12878 is closed unmerged and is not a dependency. No claim is made that either customer's current account has been recovered.
Activity
featurebase-for-github commentedon Oct 3, 2026
This issue is linked to our feedback platform. For feedback and updates, please visit this link.
featurebase-for-github commentedon Oct 3, 2026
This issue is linked to our feedback platform. For feedback and updates, please visit this link.
aryanorastar commentedon Oct 3, 2026
Additional confirmed reproduction from the Featurebase “Mind map not working” discussion:
This identifies a concrete client action, Build Graph, and an onboarding path. It also suggests this is not limited to one platform or subscription tier. Do not treat the 409 as a user-side account, device, or paid-plan problem.
featurebase-for-github commentedon Oct 3, 2026
This issue is linked to our feedback platform. For feedback and updates, please visit this link.
julio23jaz-dotcom commentedon Oct 3, 2026
@josancamon19 @kodjima33 — following the paid-bounty suggestion workflow in the contribution guide: would you approve a US$30 cash bounty for a small, separately scoped fix here, if this is not already owned by #12878?
Code inspection at main
d4062b9ee88cb290305c988ab5ac09f642f0261dfound the onboarding caller inapp/lib/pages/onboarding/wrapper.dart::_prebuildKnowledgeGraph: an empty GET result (or any caught GET failure) falls through to the legacy rebuild POST. The backend's canonical-state 409 is an intentional data-preservation guard and should not be removed. Also, the current Flutter API already sanitizes HTTP error bodies, so the reported raw-error screen may be an older or separate web-view caller; that part is not yet reproduced.Proposed bounded work: confirm the affected caller, distinguish canonical conflict from a transient failure, stop the deterministic rebuild/retry path there, preserve canonical memory/graph state, and add hermetic regression tests. This is not a full Brain Map redesign. If #12878 already covers it, I will not duplicate that work.
This investigation is Codex-assisted for @julio23jaz-dotcom. No production/account data was accessed, and no patch or passing-test result is being claimed yet. Please confirm availability, the cash amount and contributor/payment eligibility before I undertake the PR.
aryanorastar commentedon Oct 4, 2026
Featurebase update (Bradley Hanada, Oct 4): the reporter can now open the Memory Graph from Memories and sees a larger map. This is one-account recovery, not evidence that the 409 rebuild/retry path is fixed or deployed; please keep this issue open until that path is retested. The new screenshot also shows a separate owner-like
usernode and a given-name person node. That presentation/data-identity concern is tracked separately in #20578.fix(app): handle 409 canonical state gracefully on knowledge graph re…
fix(mobile): recover empty Mind Map through canonical memory reads (#…
fix(app): stop Mind Map onboarding rebuild after failed reads (#23712)