a30ccdbeab
Two write paths were still reachable through the now read-only foreign-profile handle (reported by @ehz0ah on #110718): the repo-root backfill in _discover_repos_payload raised and was swallowed per RPC, silently dropping the persistence; the Bot Chat unarchive in session.list's exact-title lookup failed the RPC with error 5006. Backfill now skips on read-only handles (that profile's own gateway backfills on its refreshes); the unarchive escalates to a short-lived registry writer for the rare recoverable-archive case. Reported-by: ehz0ah