feat: add advisor rollout gate and rollback playbook

This commit is contained in:
Windows
2026-09-11 20:28:21 +08:00
parent fbb1171a45
commit f5dd5b8ba2
11 changed files with 253 additions and 35 deletions
+2 -1
View File
@@ -13,11 +13,12 @@ from app.api.schemas.investment_goals import (
InvestmentGoalCreate,
)
from app.core.contracts import RequestContext
from app.service.advisor_rollout_service import enforce_advisor_rollout
from app.service.investment_goal_service import InvestmentGoalService
router = APIRouter(
prefix="/api/v1/advisor", tags=["advisor-investment-goals"],
dependencies=[Depends(enforce_rate_limit)],
dependencies=[Depends(enforce_rate_limit), Depends(enforce_advisor_rollout)],
)