Skip to content

Archived Files - Historical Reference Only

This directory contains outdated implementations and documentation that are kept for historical reference only. These files should NOT be used for current development as they represent deprecated architectural approaches.

⚠️ DEPRECATED CONTENT ⚠️

Outdated Implementation Approaches:

  1. Class-based Agent Architecture - Superseded by function-based approach
  2. Registry-based Agent Architecture - Previous iteration before enhanced functional architecture
  3. String-based Polymorphism - Replaced with modern TypeScript class inheritance patterns

Current Architecture (as of September 2025):

  • Enhanced Functional Agent System with centralized state management
  • Single Delegation Function (serviceAgent) with private helper functions
  • AgentStateManager for centralized state operations
  • Model-Confined State Types within agent modules
  • Registry-Based Functional Dependency Injection compatibility

Files in this Archive:

  • battery-swap-backup-/ - Class-based agent implementations (PaymentAgent, SubscriptionAgent, etc.)
  • archived/ - Additional archived content

Current Implementation:

The current Battery Swap Service implementation is located at: - models/battery-swap/bss-agent-v2.ts - Enhanced functional agent - models/battery-swap/bss-agent-registration.ts - Agent plugin registration

For details on the current architecture, see: - models/battery-swap/model-status.md - docs/repo-status.md