Eve library

OSHUN V1 Nyx Mobile Observation Companion Audit

Guide

Revision 1

On this page

Task#

  • V1-NYX-008 Build compact observation companion features on mobile where feasible.

Implementation#

  • Added apps/oshun/mobile/src/navigation/mobileNyxObservationCompanion.ts to normalize Nyx mobile observation state into a compact companion model covering thumb-zone quick actions, tracked objects, and recent logbook entries.
  • Added apps/oshun/mobile/src/components/NyxObservationCompanionSection.tsx to render the compact mobile companion surface with thumb-reach docks, compact tracked-object cards, and recent observation log entries.
  • Integrated the new companion surface into apps/oshun/mobile/app/domain/[domainId].tsx, wiring it to existing Nyx analytics, object-save toggles, observation-log routing, and sky-map / observation-lane handoffs.
  • Replaced the older separate saved-object and recent-observation render blocks in the Nyx mobile domain screen with the unified companion section so the observation lane is materially more compact and one-handed.
  • Added a new Maestro regression flow in apps/oshun/mobile/e2e/flows/shell/nyx-observation-companion.yaml.

Coverage#

  • Added model coverage in apps/oshun/mobile/src/navigation/mobileNyxObservationCompanion.test.ts.
  • Added component coverage in apps/oshun/mobile/src/components/NyxObservationCompanionSection.test.tsx.

Verification#

  • Passed: pnpm exec jest --runInBand src/navigation/mobileNyxObservationCompanion.test.ts src/components/NyxObservationCompanionSection.test.tsx from apps/oshun/mobile
  • Passed: filtered pnpm exec tsc --noEmit --pretty false -p tsconfig.json check for app/domain/[domainId].tsx, src/navigation/mobileNyxObservationCompanion*, and src/components/NyxObservationCompanionSection*
  • Passed: pnpm exec eslint --no-warn-ignored apps/oshun/mobile/app/domain/[domainId].tsx apps/oshun/mobile/src/navigation/mobileNyxObservationCompanion.ts apps/oshun/mobile/src/components/NyxObservationCompanionSection.tsx apps/oshun/mobile/src/components/NyxObservationCompanionSection.test.tsx

Blockers#

  • maestro test e2e/flows/shell/nyx-observation-companion.yaml could not run in this environment because the maestro CLI is not installed (/bin/bash: maestro: command not found).
  • The Maestro flow was still added so the mobile regression path is ready once Maestro is available in the environment.