74 lines
6.4 KiB
Markdown
74 lines
6.4 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to the Warehouse Robot Fleet Digital Twin will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [0.3.0] - 2026-10-19
|
|
|
|
### Added - Phase 2: Robot and Task Models
|
|
- Domain entity models for Autonomous Mobile Robots (`warehouse_twin.domain.robot`):
|
|
- `RobotState` enum representing operational lifecycle states (`IDLE`, `DISPATCHED`, `PICKING`, `LOADED_TRANSIT`, `DROPPING`, `TRANSIT_TO_CHARGE`, `CHARGING`, `MAINTENANCE`).
|
|
- Strict transition lookup table `LEGAL_ROBOT_TRANSITIONS` preventing illegal state transitions with `InvalidStateTransitionError`.
|
|
- `RobotTypeSpec` parsing `config/robots.json` specifications for light and heavy AMRs.
|
|
- `Robot` model managing kinematics, battery capacity, linear energy consumption (idle, moving, loaded), fast-charging, active tasks, routes, and allowed zones.
|
|
- Pre-assignment validation `Robot.validate_task_compatibility(task)` enforcing payload capacity and zone restrictions (`IncompatibleRobotTaskError`).
|
|
- Domain models for warehouse tasks (`warehouse_twin.domain.task`):
|
|
- `TaskType` enum (`INBOUND_TRANSPORT`, `OUTBOUND_PICKING`, `PRODUCTION_FEED`, `REPLENISHMENT`, `CHARGING`).
|
|
- `TaskStatus` enum (`PENDING`, `ASSIGNED`, `IN_PROGRESS`, `COMPLETED`, `CANCELLED`, `FAILED`) enforced by `LEGAL_TASK_TRANSITIONS`.
|
|
- `Task` dataclass tracking creation time, assignment time, start/completion times, turnaround time, queue wait time, execution duration, and SLA deadline overdue checks.
|
|
- Inventory item and catalog models (`warehouse_twin.domain.inventory`):
|
|
- `InventoryItem` with available/reserved quantities, unit weight, reorder threshold, and restocking amounts.
|
|
- `InventoryCatalog` loading 13 SKUs from `config/inventory.json` with stock reservation, consumption, and replenishment trigger checks.
|
|
- Event telemetry models (`warehouse_twin.domain.events`):
|
|
- `SimulationEventType` and `SimulationEvent` dataclass with ISO8601 formatting and JSONL serialization.
|
|
- OpenUSD generator enhancements (`warehouse_twin.interfaces.usd_generator`):
|
|
- `WarehouseUSDGenerator.from_config_bundle` now renders the active AMR fleet with realistic geometry (pearl white for light AMRs, industrial amber for heavy AMRs, with illuminated status domes).
|
|
- Exported OpenUSD 3D stage `omniverse/scenes/warehouse_phase2.usda`.
|
|
- 30 new unit tests covering robot states, task lifecycles, inventory dynamics, telemetry events, and USD robot generation (56 total unit tests passing in 0.24s).
|
|
- Implementation report in `docs/phases/phase_2_robot_and_task_models.md`.
|
|
|
|
## [0.2.0] - 2026-10-19
|
|
|
|
### Added - Phase 1: Warehouse Model
|
|
- Complete warehouse domain entities in `warehouse_twin.domain.warehouse`: `Position3D`, `WarehouseDimensions`, `ZoneArea`, `ZoneDefinition`, `Station`, `ChargingStation`, `StorageLocation`, `WarehouseNode`, `WarehouseEdge`, and `WarehouseModel`.
|
|
- Topological navigation graph builder (`WarehouseGraphBuilder` in `warehouse_twin.routing.graph_builder`):
|
|
- Unified coordinate hashing producing deterministic 540-node, 1,730-edge directed graph.
|
|
- Multi-lane perimeter highway network (West, South, North, East) and inter-zone transfer corridors at $x=26\text{m}$ and $x=46\text{m}$.
|
|
- Detailed internal grid networks across Zone A (fast-moving), Zone B (slow-moving/heavy), and Zone C (production supply).
|
|
- Explicit bindings for 6 stations (2 inbound docks, 1 outbound pack dock, 2 picking stations, 1 production line feed).
|
|
- Explicit bindings for 4 fast/heavy charging bays.
|
|
- Explicit bindings for 13 storage rack locations mapped to inventory catalog items.
|
|
- Operational zone restrictions: Zone B aisles restricted exclusively to `heavy_amr` AMR classes.
|
|
- Connectivity and topology verification engine (`validate_connectivity`):
|
|
- Strong connectivity verification ($1$ strongly connected component).
|
|
- Complete station, charger, and rack reachability verification.
|
|
- Sub-graph robot class access verification.
|
|
- Custom exceptions `DisconnectedGraphError` and `UnreachableStationError`.
|
|
- JSON graph topology serialization (`export_topology_dict`, `export_json` exporting to `results/reports/warehouse_graph.json`).
|
|
- CLI subcommands: `warehouse-twin validate-graph` and `warehouse-twin export-graph`.
|
|
- Unit test suite expanded to 26 tests (9 new graph unit tests, 100% pass rate in 0.21s).
|
|
- Comprehensive Phase 1 implementation report in `docs/phases/phase_1_warehouse_model.md`.
|
|
|
|
## [0.1.0] - 2026-10-19
|
|
|
|
### Added - Phase 0: Environment and Project Foundation
|
|
- Initial project directory layout adhering strictly to master prompt specifications.
|
|
- Host environment inspection identifying Ubuntu 24.04.3 LTS, Python 3.12.3, NVIDIA RTX 5090 GPU (Driver 580.178.04), and 8.9 GB disk availability.
|
|
- Omniverse Kit inspection discovering installed Kit 110.4.0 and base app `warehouse_twin.kit` under `/home/dmhai/nvidia-omniverse/kit-app-template`.
|
|
- Python packaging configuration (`pyproject.toml`) with dependencies on `simpy` 4.1.2, `networkx` 3.7, and `pytest` 9.1.1.
|
|
- `.gitignore` and `.env.example` with secondary drive relocation parameters.
|
|
- Base configurations in `config/`:
|
|
- `warehouse.json`: 60m x 40m facility with Zones A, B, C, inbound docks, picking stations, production drop-offs, and charging bays.
|
|
- `robots.json`: Light AMR and Heavy AMR definitions with speed, payload, and energy models.
|
|
- `inventory.json`: Fast-moving, slow-moving, and production raw material item catalogs.
|
|
- `simulation.json`: Discrete-event parameters, arrival rates, and random seed.
|
|
- `dispatch_policies.json`: Dispatch policy definitions and traffic reservation settings.
|
|
- Structured rotating logging module (`warehouse_twin.logging_config`) managing `application.log`, `simulation.log`, and `errors.log`.
|
|
- Robust configuration loader (`warehouse_twin.config.loader`) with schema validation.
|
|
- Command-line interface (`warehouse_twin.cli`) supporting `validate-env` and `validate-config`.
|
|
- Automated shell verification scripts: `scripts/check_environment.sh` and `scripts/run_tests.sh`.
|
|
- Comprehensive unit test suite in `tests/unit/` (17 tests passing in 0.09s).
|
|
- Full documentation suite: `README.md`, `IMPLEMENTATION_DETAILS.md`, `PROJECT_STATUS.md`, `docs/ARCHITECTURE.md`, `docs/INSTALLATION.md`, `docs/USER_GUIDE.md`, `docs/API_AND_DATA_CONTRACTS.md`, `docs/TESTING.md`, `docs/DECISIONS.md`, `docs/phases/phase_0_foundation.md`, and `omniverse/README.md`.
|