Skip to content

feat(mobile): IM-first architecture and dead surface cleanup - #32

Merged
fannnzhang merged 5 commits into
mainfrom
feat/mobile-im-first-architecture
Aug 11, 2026
Merged

fannnzhang merged 5 commits into
mainfrom
feat/mobile-im-first-architecture

Conversation

@fannnzhang

Copy link
Copy Markdown
Contributor

Summary

  • Collapse Mobile to conversation-first IM: shell is Messages / Hosts / Account only; remove legacy thread, sessions, projects, agents-hub product surfaces and transcript deep-links.
  • Keep Riverpod + codegen while introducing a complex-app organization: freezed SocialConversationState, per-feature SocialChatViewModel + Actions, and split social application modules under application/social/.
  • Remove Mobile-only dead protocol/FRB surface (thread compose, project CRUD, agent-session subscribe, friend-search management, approval/opencode helpers). Replace ThreadRepository with RealtimeEventsRepository (uiEvents only). Backend domain routes remain for Desktop/Web.
  • Add minos-quality-gate skill and wire AGENTS verification to require CI-equivalent local gates before handoff.

Test plan

  • cargo xtask lint-docs
  • cd apps/mobile && dart format --set-exit-if-changed lib test
  • cd apps/mobile && flutter analyze --no-fatal-infos
  • cd apps/mobile && flutter test --exclude-tags ffi
  • FRB regenerate twice + git diff --exit-code on generated roots
  • cargo clippy -p minos-mobile -p minos-ffi-frb --all-targets -- -D warnings
  • CI green on PR
  • Manual smoke: login → Messages inbox → open chat → send/retry; Hosts/Account tabs; no Sessions/Projects/Agents Hub entry points

Collapse Mobile to conversation IM as the collaboration spine: shell
Messages/Hosts/Account only, outbox sendChatMessage as the sole product
send path. Remove legacy thread/session/project/agents-hub surfaces and
transcript deep-links.

Add the minos-quality-gate skill so agents run CI-equivalent local gates
before handoff.
Keep Riverpod + codegen while introducing a complex-app organization:
freezed SocialConversationState, per-feature SocialChatViewModel +
Actions, and split social_providers into cohesive application/social
modules. SocialChat UI now drives through the aggregated API.
Rename RootRoute projectList→shell, update stale UI/docs maps, require
minos-quality-gate in AGENTS verification, and add unit tests for freezed
timeline state and root-route decisions.
Drop Mobile-only obsolete protocol methods for agent transcript compose,
project CRUD, friend-search management, and approval/opencode helpers.
Replace ThreadRepository with RealtimeEventsRepository (uiEvents only),
shrink minos-mobile/FRB client surface, and regenerate bindings.

Backend domain routes remain for Desktop/Web; they are no longer exposed
through the Mobile contract.
Resolve cargo fmt --check failures from CI on minos-mobile and minos-ffi-frb.
@fannnzhang
fannnzhang merged commit 5adf9f9 into main Aug 11, 2026
5 checks passed
@fannnzhang
fannnzhang deleted the feat/mobile-im-first-architecture branch August 11, 2026 08:49
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