Skip to content

spike(native): audit Android/iOS/macOS for gutted-feature parallels (deferred per native-release policy) #2527

@alexey-pelykh

Description

@alexey-pelykh

Summary

Type: SPIKE — inventory only, no native-app modifications.

PR #2471 (Area 7 of #2336 umbrella) established the policy: "Do NOT touch native apps without confirming — they compile to distinct binaries with their own release pipelines." Web UI findings from the post-#2336 audit likely have parallels in apps/android/, apps/ios/, apps/macos/, apps/shared/RemoteClawKit/. This spike produces the inventory so native cleanup can be coordinated with native release cycles.

Scope

For each of the following residues discovered in web UI, inventory native-app parallels:

  • Skills panel (AgentsPanel type, agentSkills* state, SkillStatusReport, i18n) — analogous ChatController / ChatViewModel / NavigationView references?
  • Plugin discriminator (tool catalog types) — analogous plugin branches in Kotlin / Swift type models?
  • Tools tab (dead button) — does native Agents view have a Tools tab/button?
  • "onboarding" state flag — native parallel?
  • autoAllowSkills config — native form fields?

Approach

Inventory-only. For each native surface, classify any reference as:

  • DATA MODEL: read-only response field (parsed but not sent) — low-risk to leave or remove in a coordinated release
  • STATE-DRIVER: mutable + sent to backend (e.g., sessions.patch({autoAllowSkills})) — requires backend-coordinated removal
  • DISPLAY PASS-THROUGH: renders CLI output (e.g., thinking blocks) — KEEP, not a remnant

Reference #2471's classification table for the template.

Deliverable

Per-platform classified report committed to an audit doc (e.g., .tmp/audit-native-gutted-remnants.md). For each STATE-DRIVER or DATA-MODEL-orphan, open follow-up coordinated-release issues. Do NOT modify native code in this spike.

AC

  • Per-file classified report for Android, iOS, macOS, shared (RemoteClawKit)
  • Follow-up issues opened for STATE-DRIVER and DATA-MODEL-orphan categories (each with native-release-coordination note)
  • Report explicitly confirms policy compliance (no native files modified)

Typed exception

SPIKE — AC is the audit report, not code changes. Cleanup items spawn later after native-release coordination.

Context

Post-#2336 UI remnants audit (web UI only). Native-app parallel audit was flagged in #2471 as follow-up work requiring release coordination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-discussionApproach is opinionated or uncertain — needs team alignment before implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions