Epic: Action Middleware Pipeline #104
Labels
No labels
Blocked
Duplicate
MoSCoW/Could Have
MoSCoW/Must Have
MoSCoW/Should Have
Points/1
Points/13
Points/2
Points/21
Points/3
Points/5
Points/8
Priority/Backlog
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
State/Completed
State/In progress
State/In review
State/Paused
State/Unverified
State/Verified
State/Wont Do
Type/Bug
Type/Epic
Type/Feature
Type/Legendary
Type/Task
Type/Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#97 Modern Command Dispatch Architecture
aethyr/Aethyr
Reference: aethyr/Aethyr#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Metadata
feat(dispatch): implement action middleware pipelinefeature/middleware-pipelineBackground and Context
The specification describes a composable middleware pipeline that wraps action execution
with before_action and after_action filters. Each middleware has a numeric priority that
determines execution order. This replaces the current pattern of duplicating guard checks
(permission, balance, position) inside each command handler.
Expected Behavior
Middleware classes register for before_action or after_action phases with a priority.
The pipeline executes before_action middleware in priority order, then the action, then
after_action middleware. Any middleware can halt the chain.
Acceptance Criteria
Middlewarebase class withcall(action, context)interfaceMiddlewarePipelineexecutor with priority orderingCommandActionmetadata DSL for declaring requirementsSubtasks
Definition of Done
This Epic is complete when all child issues are closed and all acceptance criteria
are satisfied.