Agent
Agent: agent/mobile-ui
Task Details
Estimate (hours): 20
Priority: P1
Description
Move shell-level design and navigation decisions into shared configuration so
feature screens stop hardcoding visual and IA choices.
Critical Agent Gate
Problem: Theme tokens and nav metadata are split between core_ui, shell
widgets, and feature screens, which weakens consistency and increases churn.
User / actor: End users expecting a unified app experience and engineers
building additional screens.
Framework or application layer: Mixed
Owning agent: agent/mobile-ui
Reviewing agents: agent/core-architecture, agent/qa-testing
Impacted modules/files: packages/core_ui/lib/src/theme/*,
app/lib/core/providers/navigation_provider.dart,
app/lib/core/platform/platform_config.dart, app/lib/core/app/app_shell.dart
Base branch/worktree: confirmed from latest origin/main: yes
Open questions: Should navigation overflow use a drawer, modal sheet, or
another secondary affordance on phones?
Decision: Ready
Feature Packet
Contract: Shared UI packages own token roles, shell destination metadata,
and breakpoint-aware navigation behavior. Application code consumes that config.
Deterministic use cases:
- Shared colors and spacing come from centralized tokens
- Mobile nav adapts when primary destinations exceed bottom-nav guidance
- Desktop/tablet reuse the same destination source of truth
Automation flows:
- Widget tests for mobile and large-screen nav rendering
- Unit tests for destination metadata/config derivation where applicable
Security/privacy posture: None beyond preserving current route access and
auth actions.
Eval plan: Host-only widget tests and shared config review.
Observability/traces: Not required.
Rollback/migration plan: Retain compatibility wrappers while screens move to
the new config.
Verification environment: Host-only
Android Emulator risk accepted? No
Acceptance Criteria
CI Checklist
Files to Modify
packages/core_ui/lib/src/theme/*.dart
app/lib/core/providers/navigation_provider.dart
app/lib/core/platform/platform_config.dart
app/lib/core/app/app_shell.dart
app/test/**/navigation*.dart
Dependencies
Release Note Required?
yes - navigation and visual consistency will be standardized across the app
Parent roadmap: #397
Agent
Agent: agent/mobile-ui
Task Details
Estimate (hours): 20
Priority: P1
Description
Move shell-level design and navigation decisions into shared configuration so
feature screens stop hardcoding visual and IA choices.
Critical Agent Gate
Problem: Theme tokens and nav metadata are split between
core_ui, shellwidgets, and feature screens, which weakens consistency and increases churn.
User / actor: End users expecting a unified app experience and engineers
building additional screens.
Framework or application layer: Mixed
Owning agent: agent/mobile-ui
Reviewing agents: agent/core-architecture, agent/qa-testing
Impacted modules/files:
packages/core_ui/lib/src/theme/*,app/lib/core/providers/navigation_provider.dart,app/lib/core/platform/platform_config.dart,app/lib/core/app/app_shell.dartBase branch/worktree: confirmed from latest
origin/main: yesOpen questions: Should navigation overflow use a drawer, modal sheet, or
another secondary affordance on phones?
Decision: Ready
Feature Packet
Contract: Shared UI packages own token roles, shell destination metadata,
and breakpoint-aware navigation behavior. Application code consumes that config.
Deterministic use cases:
Automation flows:
Security/privacy posture: None beyond preserving current route access and
auth actions.
Eval plan: Host-only widget tests and shared config review.
Observability/traces: Not required.
Rollback/migration plan: Retain compatibility wrappers while screens move to
the new config.
Verification environment: Host-only
Android Emulator risk accepted? No
Acceptance Criteria
CI Checklist
actlocal run passedflutter analyzecleanflutter testpassesFiles to Modify
Dependencies
Release Note Required?
yes - navigation and visual consistency will be standardized across the app
Parent roadmap: #397