Emit inventory events from get/drop/give/put actions #41

Open
opened 2026-03-14 23:54:57 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit Message: feat(event-sourcing): emit inventory events from item manipulation actions
  • Branch: feature/m1-v12-inventory-events

Background

Inventory actions (get, drop, give, put) manipulate items between containers but do not emit inventory events.

Expected Behavior

When event sourcing is enabled, inventory operations emit AddItemToInventory/RemoveItemFromInventory commands through the Manager.

Acceptance Criteria

  • Manager methods for inventory manipulation emit appropriate commands
  • get/drop/give/put actions trigger event emission via Manager API
  • Events guarded by event_sourcing_enabled check

Subtasks

  • Add event emission to Manager inventory methods
  • Tests: Unit tests verifying events for get, drop, give, put
  • Run bundle exec rake unit, fix any errors

Definition of Done

This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.

## Metadata - **Commit Message**: `feat(event-sourcing): emit inventory events from item manipulation actions` - **Branch**: `feature/m1-v12-inventory-events` ## Background Inventory actions (get, drop, give, put) manipulate items between containers but do not emit inventory events. ## Expected Behavior When event sourcing is enabled, inventory operations emit `AddItemToInventory`/`RemoveItemFromInventory` commands through the Manager. ## Acceptance Criteria - [ ] `Manager` methods for inventory manipulation emit appropriate commands - [ ] get/drop/give/put actions trigger event emission via Manager API - [ ] Events guarded by `event_sourcing_enabled` check ## Subtasks - [ ] Add event emission to Manager inventory methods - [ ] Tests: Unit tests verifying events for get, drop, give, put - [ ] Run `bundle exec rake unit`, fix any errors ## Definition of Done This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.
freemo added this to the v1.2.0 milestone 2026-03-14 23:54:57 +00:00
freemo self-assigned this 2026-03-15 04:25:22 +00:00
freemo modified the milestone from v1.2.0 to v1.0.0 2026-03-15 23:19:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#41
No description provided.