# liyexin156-code/cyberpet architecture

> Architecture diagram of the GitHub repository liyexin156-code/cyberpet, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-05-31). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/liyexin156-code/cyberpet
- Repository: https://github.com/liyexin156-code/cyberpet

## Overview

1. **App type and runtime**
   CyberPet is a macOS accessory app, not a normal document or web app. It runs as a menu-bar/background-style desktop pet with no Dock icon (`LSUIElement = true`), built in Swift 5.9 on macOS 14+, using SwiftUI, AppKit window controllers, SpriteKit-style animation playback, and SwiftData persistence.

2. **Process entry and app bootstrap**
   The runtime starts in `Sources/PetTaskBuddy/main.swift`, then hands off to `AppDelegate.swift`. From there the app wires together the pet window, main panel UI, persistence, scheduling, localization, and any background/login-item behavior. This is the top-level composition boundary for the whole system.

3. **Core pet runtime**
   The pet itself is centered around `PetScene.swift`, `PetWindowController.swift`, and `ManifestAnimationPlayer.swift`. These pieces render the pixel dog, choose and play animations, and keep the pet visible in a transparent desktop window. `AnimationManifest.swift` and the sprite assets under `Assets/pet` define what animations exist and how they are sequenced.

4. **Pet state and behavior engine**
   `PetStateEngine.swift`, `PetStateRecord.swift`, `PetAutonomousBehavior.swift`, `PixelTheme.swift`, and `LayoutConstants.swift` form the pet’s behavior/state layer. This is where mood, fullness, idle/sleep/run/walk/sniff/pee-like behaviors, and reactive transitions are decided. The engine is the main decision boundary between UI animation and higher-level app state.

5. **Task and schedule subsystem**
   Daily task tracking is modeled by `DailyTask.swift`, `Goal.swift`, `ScheduleItem.swift`, and coordinated by `ScheduleCoordinator.swift`. This subsystem is responsible for completion tracking, task timing, and the rules that connect tasks to pet reactions and reminders. It is the “productivity” half of the app, distinct from the pet animation layer.

6. **Thought bubble and task UI**
   `MainPanelWindowController.swift` and `ThoughtBubbleWindowController.swift` provide the user-facing panels around the pet. The thought bubble is a separate near-pet UI surface for tasks/status, while the main panel likely acts as a broader control or list view. `ThoughtBubbleHitRegionTests` in the test suite suggests this UI has explicit click/interaction geometry separate from the pet sprite window.

7. **Persistence and local storage**
   Persistent state is handled by `PersistenceController.swift` with SwiftData as the storage layer. This likely stores tasks, pet state snapshots, and schedule-related records so the pet and task list survive relaunches. `TaskPersistenceSmokeTest.swift` and `PetStateSmokeTest.swift` indicate persistence is a first-class boundary, not incidental UI state.

8. **Reminders, notifications, and background timing**
   `ReminderService.swift` manages reminder scheduling/notification behavior, while `ReminderSecondsSmokeTest.swift` and `ScheduleSmokeTest.swift` show the timing logic is important enough to validate independently. This subsystem bridges persisted tasks/schedules to time-based user alerts and pet reactions.

9. **Localization and user customization**
   `LocalizationManager.swift` handles Chinese/English switching, which affects menus, labels, and probably task text rendered in the UI. `README.md` notes right-click language switching, so localization is an app-wide service rather than a narrow UI detail.

10. **Identity, startup, and packaging**
   `LoginItemService.swift` supports launch-at-login behavior, while `Packaging/com.liyexin.PetTaskBuddy.launchagent.plist` and `Packaging/Info.plist` define bundle/runtime metadata. `Tools/package-app.sh` assembles the distributable app bundle, and `dist/CyberPet.zip` is an unsigned beta package. These files define how the app is installed and launched on macOS.

11. **AI integration boundary**
   `AITaskService.swift` and `AITaskSmokeTest.swift` indicate an optional AI-backed task feature. `KeychainService.swift` suggests credentials or tokens are stored securely, so AI is isolated behind a service boundary rather than embedded in the UI or pet engine. This subsystem is likely optional and should be drawn separately from core pet behavior.

12. **Testing and validation layers**
   The `Tests/PetTaskBuddyTests` suite covers animation assets, localization sources, walk/run/side-lie behavior sources, thought bubble hit regions, and task reward toggles. In addition, the `Sources/...SmokeTest.swift` files expose executable smoke-test modes via the app binary itself. That means the repo has both unit tests and “run the app in test mode” validation paths.

13. **Useful architectural diagram boundaries**
   A good diagram should separate:
   - **UI surfaces**: pet window, main panel, thought bubble
   - **Pet engine**: state, behavior, animation selection
   - **Task/schedule domain**: tasks, goals, reminders, schedules
   - **Persistence**: SwiftData/local storage
   - **Platform services**: login item, keychain, notifications
   - **Assets/config**: sprite manifest, packaging metadata, localization
   These boundaries reflect how the code is organized and where data flows cross subsystem lines.

Main entry points: [`Sources/PetTaskBuddy/AppDelegate.swift`](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/AppDelegate.swift) (AppDelegate), [`Sources/PetTaskBuddy/ScheduleCoordinator.swift`](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ScheduleCoordinator.swift) (Schedule Coordinator), [`Tests/PetTaskBuddyTests`](https://github.com/liyexin156-code/cyberpet/tree/main/Tests/PetTaskBuddyTests) (Unit Tests), [`Sources/PetTaskBuddy/PetScene.swift`](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetScene.swift) (Pet Scene)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bootstrap["Bootstrap"]
  node_main_swift(("main.swift<br/>entrypoint<br/>[main.swift]"))
  node_app_delegate["AppDelegate<br/>composition root<br/>[AppDelegate.swift]"]
end

subgraph group_pet_runtime["Pet Runtime"]
  node_pet_window["Pet Window<br/>window controller"]
  node_pet_scene["Pet Scene<br/>render scene<br/>[PetScene.swift]"]
  node_animation_player["Animation Player<br/>animation engine"]
  node_pet_state_engine["State Engine<br/>behavior engine"]
  node_pet_behavior["Autonomous Behavior<br/>behavior policy"]
  node_pet_state_record["State Record<br/>state model"]
  node_pixel_theme["Pixel Theme<br/>visual theme<br/>[PixelTheme.swift]"]
  node_layout_constants["Layout Constants<br/>layout config"]
end

subgraph group_ui_surfaces["UI Surfaces"]
  node_main_panel["Main Panel<br/>panel controller"]
  node_thought_bubble["Thought Bubble<br/>panel controller"]
end

subgraph group_task_domain["Task Domain"]
  node_daily_task["Daily Task<br/>task model<br/>[DailyTask.swift]"]
  node_goal["Goal<br/>[Goal.swift]"]
  node_schedule_item["Schedule Item<br/>schedule model<br/>[ScheduleItem.swift]"]
  node_schedule_coordinator["Schedule Coordinator<br/>scheduler"]
end

subgraph group_services["Platform Services"]
  node_reminder_service["Reminder Service<br/>notification service"]
  node_persistence[("Persistence<br/>swiftdata store")]
  node_localization["Localization<br/>language service"]
  node_login_item["Login Item<br/>startup service"]
  node_keychain["Keychain<br/>credential service"]
  node_ai_task["AI Task<br/>optional ai service"]
end

subgraph group_assets["Assets and Packaging"]
  node_anim_manifest["Animation Manifest<br/>asset manifest<br/>[manifest.json]"]
  node_packaging_info["Info.plist<br/>bundle metadata<br/>[Info.plist]"]
  node_launchagent_plist["LaunchAgent plist<br/>launch metadata"]
end

subgraph group_validation["Validation"]
  node_smoke_tests{{"Smoke Tests<br/>in-app validation"}}
  node_unit_tests{{"Unit Tests<br/>test suite"}}
end

node_main_swift -->|"boots"| node_app_delegate
node_app_delegate -->|"creates"| node_pet_window
node_app_delegate -->|"creates"| node_main_panel
node_app_delegate -->|"creates"| node_thought_bubble
node_app_delegate -->|"loads"| node_persistence
node_app_delegate -->|"starts"| node_schedule_coordinator
node_app_delegate -->|"wires"| node_reminder_service
node_app_delegate -->|"configures"| node_localization
node_app_delegate -->|"configures"| node_login_item
node_app_delegate -->|"attaches"| node_ai_task
node_pet_window -->|"hosts"| node_pet_scene
node_pet_scene -->|"plays"| node_animation_player
node_animation_player -->|"reads"| node_anim_manifest
node_pet_scene -->|"queries"| node_pet_state_engine
node_pet_state_engine -->|"applies"| node_pet_behavior
node_pet_state_engine -->|"persists"| node_pet_state_record
node_pet_state_engine -->|"styles"| node_pixel_theme
node_pet_scene -->|"uses"| node_layout_constants
node_main_panel -->|"shows"| node_daily_task
node_thought_bubble -->|"reflects"| node_schedule_coordinator
node_schedule_coordinator -->|"organizes"| node_daily_task
node_schedule_coordinator -->|"groups"| node_goal
node_schedule_coordinator -->|"plans"| node_schedule_item
node_schedule_coordinator -->|"triggers"| node_reminder_service
node_daily_task -->|"stores"| node_persistence
node_pet_state_record -->|"stores"| node_persistence
node_localization -->|"labels"| node_main_panel
node_localization -->|"labels"| node_thought_bubble
node_keychain -->|"secures"| node_ai_task
node_packaging_info -.->|"describes"| node_app_delegate
node_launchagent_plist -.->|"supports"| node_login_item
node_smoke_tests -.->|"covers"| node_ai_task
node_smoke_tests -.->|"covers"| node_persistence
node_smoke_tests -.->|"covers"| node_schedule_coordinator
node_smoke_tests -.->|"covers"| node_pet_state_record
node_unit_tests -.->|"tests"| node_animation_player
node_unit_tests -.->|"tests"| node_localization
node_unit_tests -.->|"tests"| node_thought_bubble
node_unit_tests -.->|"tests"| node_pet_behavior
node_unit_tests -.->|"tests"| node_daily_task

click node_main_swift "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/main.swift"
click node_app_delegate "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/AppDelegate.swift"
click node_pet_window "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetWindowController.swift"
click node_pet_scene "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetScene.swift"
click node_animation_player "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ManifestAnimationPlayer.swift"
click node_pet_state_engine "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetStateEngine.swift"
click node_pet_behavior "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetAutonomousBehavior.swift"
click node_pet_state_record "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetStateRecord.swift"
click node_pixel_theme "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PixelTheme.swift"
click node_layout_constants "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LayoutConstants.swift"
click node_main_panel "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/MainPanelWindowController.swift"
click node_thought_bubble "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ThoughtBubbleWindowController.swift"
click node_daily_task "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/DailyTask.swift"
click node_goal "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/Goal.swift"
click node_schedule_item "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ScheduleItem.swift"
click node_schedule_coordinator "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ScheduleCoordinator.swift"
click node_reminder_service "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ReminderService.swift"
click node_persistence "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PersistenceController.swift"
click node_localization "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LocalizationManager.swift"
click node_login_item "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LoginItemService.swift"
click node_keychain "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/KeychainService.swift"
click node_ai_task "https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/AITaskService.swift"
click node_anim_manifest "https://github.com/liyexin156-code/cyberpet/blob/main/Assets/pet/manifest.json"
click node_packaging_info "https://github.com/liyexin156-code/cyberpet/blob/main/Packaging/Info.plist"
click node_launchagent_plist "https://github.com/liyexin156-code/cyberpet/blob/main/Packaging/com.liyexin.PetTaskBuddy.launchagent.plist"
click node_unit_tests "https://github.com/liyexin156-code/cyberpet/tree/main/Tests/PetTaskBuddyTests"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main_swift,node_app_delegate,node_smoke_tests,node_unit_tests toneBlue
class node_pet_window,node_pet_scene,node_animation_player,node_pet_state_engine,node_pet_behavior,node_pet_state_record,node_pixel_theme,node_layout_constants toneAmber
class node_main_panel,node_thought_bubble toneMint
class node_daily_task,node_goal,node_schedule_item,node_schedule_coordinator toneRose
class node_reminder_service,node_persistence,node_localization,node_login_item,node_keychain,node_ai_task toneIndigo
class node_anim_manifest,node_packaging_info,node_launchagent_plist toneTeal
```

## Components

### Bootstrap

Process entry and top-level app composition

- [main.swift](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/main.swift): entrypoint · Process entry for the macOS accessory app · `Sources/PetTaskBuddy/main.swift`
- [AppDelegate](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/AppDelegate.swift): composition root · Wires together windows, services, persistence, scheduling, and startup behavior · `Sources/PetTaskBuddy/AppDelegate.swift`

### Pet Runtime

Rendering, animation selection, and pet behavior

- [Pet Window](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetWindowController.swift): window controller · Transparent desktop pet window controller · `Sources/PetTaskBuddy/PetWindowController.swift`
- [Pet Scene](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetScene.swift): render scene · Renders the pet and drives animation playback in the window · `Sources/PetTaskBuddy/PetScene.swift`
- [Animation Player](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ManifestAnimationPlayer.swift): animation engine · Selects and plays manifest-defined sprite animations · `Sources/PetTaskBuddy/ManifestAnimationPlayer.swift`
- [State Engine](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetStateEngine.swift): behavior engine · Decides pet mood, idle, movement, and reactive transitions · `Sources/PetTaskBuddy/PetStateEngine.swift`
- [Autonomous Behavior](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetAutonomousBehavior.swift): behavior policy · Encodes autonomous pet actions and transitions · `Sources/PetTaskBuddy/PetAutonomousBehavior.swift`
- [State Record](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PetStateRecord.swift): state model · Persistent record of pet state snapshots · `Sources/PetTaskBuddy/PetStateRecord.swift`
- [Pixel Theme](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PixelTheme.swift): visual theme · Theme and presentation values for the pixel pet · `Sources/PetTaskBuddy/PixelTheme.swift`
- [Layout Constants](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LayoutConstants.swift): layout config · Shared geometry and spacing constants · `Sources/PetTaskBuddy/LayoutConstants.swift`

### UI Surfaces

Pet-adjacent windows and control panels

- [Main Panel](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/MainPanelWindowController.swift): panel controller · Broader control or list panel around the pet · `Sources/PetTaskBuddy/MainPanelWindowController.swift`
- [Thought Bubble](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ThoughtBubbleWindowController.swift): panel controller · Near-pet task and status bubble UI · `Sources/PetTaskBuddy/ThoughtBubbleWindowController.swift`

### Task Domain

Daily tasks, goals, schedules, and reminders

- [Daily Task](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/DailyTask.swift): task model · Core task item tracked by the app · `Sources/PetTaskBuddy/DailyTask.swift`
- [Goal](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/Goal.swift): goal model · Goal-level task structure or grouping · `Sources/PetTaskBuddy/Goal.swift`
- [Schedule Item](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ScheduleItem.swift): schedule model · Time-based task or reminder entry · `Sources/PetTaskBuddy/ScheduleItem.swift`
- [Schedule Coordinator](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ScheduleCoordinator.swift): scheduler · Coordinates task timing, completion, and reactions · `Sources/PetTaskBuddy/ScheduleCoordinator.swift`

### Platform Services

Persistence, login, localization, keychain, and AI boundaries

- [Reminder Service](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/ReminderService.swift): notification service · Schedules reminders and notification timing · `Sources/PetTaskBuddy/ReminderService.swift`
- [Persistence](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/PersistenceController.swift): swiftdata store · SwiftData-backed local storage boundary · `Sources/PetTaskBuddy/PersistenceController.swift`
- [Localization](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LocalizationManager.swift): language service · Language selection and localized text resolution · `Sources/PetTaskBuddy/LocalizationManager.swift`
- [Login Item](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/LoginItemService.swift): startup service · Launch-at-login integration for the app · `Sources/PetTaskBuddy/LoginItemService.swift`
- [Keychain](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/KeychainService.swift): credential service · Secure storage for credentials or tokens · `Sources/PetTaskBuddy/KeychainService.swift`
- [AI Task](https://github.com/liyexin156-code/cyberpet/blob/main/Sources/PetTaskBuddy/AITaskService.swift): optional ai service · Optional AI-backed task feature boundary · `Sources/PetTaskBuddy/AITaskService.swift`

### Assets and Packaging

Animation manifest and macOS bundle metadata

- [Animation Manifest](https://github.com/liyexin156-code/cyberpet/blob/main/Assets/pet/manifest.json): asset manifest · Defines available pet animations and sequencing · `Assets/pet/manifest.json`
- [Info.plist](https://github.com/liyexin156-code/cyberpet/blob/main/Packaging/Info.plist): bundle metadata · macOS bundle and runtime metadata · `Packaging/Info.plist`
- [LaunchAgent plist](https://github.com/liyexin156-code/cyberpet/blob/main/Packaging/com.liyexin.PetTaskBuddy.launchagent.plist): launch metadata · Login/background launch configuration · `Packaging/com.liyexin.PetTaskBuddy.launchagent.plist`

### Validation

Executable smoke tests and unit tests

- **Smoke Tests**: in-app validation · Executable smoke-test entry points in the app binary
- [Unit Tests](https://github.com/liyexin156-code/cyberpet/tree/main/Tests/PetTaskBuddyTests): test suite · Focused tests for assets, localization, UI geometry, and behavior sources · `Tests/PetTaskBuddyTests`

## Connections

- main.swift → AppDelegate: boots · Entry point hands off to app composition
- AppDelegate → Pet Window: creates · Initializes the pet window controller
- AppDelegate → Main Panel: creates · Initializes the main control panel
- AppDelegate → Thought Bubble: creates · Initializes the thought bubble UI
- AppDelegate → Persistence: loads · Wires persistent app state
- AppDelegate → Schedule Coordinator: starts · Starts task and schedule coordination
- AppDelegate → Reminder Service: wires · Connects reminders into startup flow
- AppDelegate → Localization: configures · Sets up app language behavior
- AppDelegate → Login Item: configures · Sets up launch-at-login behavior
- AppDelegate → AI Task: attaches · Optionally enables AI-backed task features
- Pet Window → Pet Scene: hosts · Displays the animated pet scene
- Pet Scene → Animation Player: plays · Uses animation playback to drive sprite motion
- Animation Player → Animation Manifest: reads · Loads available animation definitions
- Pet Scene → State Engine: queries · Uses state decisions to choose behavior
- State Engine → Autonomous Behavior: applies · Uses autonomous behavior policy
- State Engine → State Record: persists · Produces and consumes pet state snapshots
- State Engine → Pixel Theme: styles · Feeds visual theme decisions
- Pet Scene → Layout Constants: uses · Applies shared layout geometry
- Main Panel → Daily Task: shows · Surfaces task data to the user
- Thought Bubble → Schedule Coordinator: reflects · Shows near-pet schedule and status context
- Schedule Coordinator → Daily Task: organizes · Coordinates task tracking
- Schedule Coordinator → Goal: groups · Relates tasks to goals
- Schedule Coordinator → Schedule Item: plans · Works with timed schedule entries
- Schedule Coordinator → Reminder Service: triggers · Turns schedules into reminders
- Daily Task → Persistence: stores · Task records are persisted locally
- State Record → Persistence: stores · Pet state snapshots are persisted locally
- Localization → Main Panel: labels · Localizes UI text and menu strings
- Localization → Thought Bubble: labels · Localizes task bubble content
- Keychain → AI Task: secures · Holds credentials used by AI features
- Info.plist → AppDelegate: describes · Defines bundle/runtime metadata for the app
- LaunchAgent plist → Login Item: supports · Background launch configuration backing login behavior
- Smoke Tests → AI Task: covers · Executable smoke validation for AI task flow
- Smoke Tests → Persistence: covers · Executable smoke validation for storage flow
- Smoke Tests → Schedule Coordinator: covers · Executable smoke validation for scheduling flow
- Smoke Tests → State Record: covers · Executable smoke validation for pet state persistence
- Unit Tests → Animation Player: tests · Validates animation selection and asset behavior
- Unit Tests → Localization: tests · Validates language source behavior
- Unit Tests → Thought Bubble: tests · Validates hit regions and interaction geometry
- Unit Tests → Autonomous Behavior: tests · Validates autonomous behavior sources
- Unit Tests → Daily Task: tests · Validates task reward behavior
