feat(steering): K-Ext-5 Portfolio-Kernel-Aggregation ueber Initiativen
Deploy Development / deploy (push) Successful in 48s
Test Suite / pytest-backend (push) Successful in 4m14s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 48s
Test Suite / pytest-backend (push) Successful in 4m14s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
GET /api/workspace/steering; Portfolio-Widget nutzt Kernel-Attention, Vorschlaege und Agent-Slots. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
390161e224
commit
b6434bcc50
11 files changed
+312
-7
No files matched your search
@@ -0,0 +1,23 @@
|
||||
"""Portfolio steering read model — K-Ext-5."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
from steering.portfolio.aggregate import aggregate_portfolio_steering
|
||||
from tenant_context import TenantContext
|
||||
|
||||
|
||||
def get_portfolio_steering(
|
||||
ctx: TenantContext,
|
||||
*,
|
||||
max_initiatives: int = 50,
|
||||
total_attention: int = 30,
|
||||
total_next_work: int = 15,
|
||||
) -> dict[str, Any]:
|
||||
return aggregate_portfolio_steering(
|
||||
ctx,
|
||||
max_initiatives=max_initiatives,
|
||||
total_attention=total_attention,
|
||||
total_next_work=total_next_work,
|
||||
)
|
||||
Reference in new issue
Block a user