feat(steering): Kernel v0.4 Agent-Slots, Tech Debt und Review-Attention
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Failing after 4m15s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Failing after 4m15s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
K-Ext-4/P8 deklarative Agent-Slots; P7 tech_debt Read Model und Vokabular; Review-Attention in den Kernel verlagert. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b747200f3a
commit
a5154cbd3b
31 files changed
+954
-98
No files matched your search
@@ -11,6 +11,7 @@ from tenant_context import TenantContext
|
||||
import steering.attention.contributors.core # noqa: F401
|
||||
import steering.attention.contributors.gates # noqa: F401
|
||||
import steering.attention.contributors.read_models # noqa: F401
|
||||
import steering.attention.contributors.reviews # noqa: F401
|
||||
|
||||
|
||||
def evaluate_attention(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Steering Kernel Spine — single entry point v0.3."""
|
||||
"""Steering Kernel Spine — single entry point v0.4."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -9,6 +9,7 @@ from steering.kernel.horizon import resolve_horizon
|
||||
from steering.kernel.lifecycle import resolve_lifecycle_context
|
||||
from steering.kernel.models import SteeringEvaluation
|
||||
from steering.kernel.next_work import evaluate_next_work
|
||||
from steering.agent_slots.registry import compute_agent_slots
|
||||
from steering.proposals.registry import compute_proposals
|
||||
from steering.read_models.registry import compute_read_models
|
||||
from tenant_context import TenantContext
|
||||
@@ -73,6 +74,10 @@ def evaluate_steering(
|
||||
limit=attention_limit,
|
||||
)
|
||||
|
||||
agent_slots = compute_agent_slots(
|
||||
eval_ctx, read_models=read_models, proposals=proposals
|
||||
)
|
||||
|
||||
return SteeringEvaluation(
|
||||
initiative_id=initiative_id,
|
||||
binding=binding,
|
||||
@@ -82,4 +87,5 @@ def evaluate_steering(
|
||||
attention=attention,
|
||||
read_models=read_models,
|
||||
proposals=proposals,
|
||||
agent_slots=agent_slots,
|
||||
)
|
||||
@@ -67,7 +67,8 @@ class SteeringEvaluation:
|
||||
attention: list[dict[str, Any]] = field(default_factory=list)
|
||||
read_models: dict[str, Any] = field(default_factory=dict)
|
||||
proposals: dict[str, Any] = field(default_factory=dict)
|
||||
data_source: str = "steering_kernel_v0.3"
|
||||
agent_slots: list[dict[str, Any]] = field(default_factory=list)
|
||||
data_source: str = "steering_kernel_v0.4"
|
||||
|
||||
def to_dict(self) -> dict[str, Any]:
|
||||
return {
|
||||
@@ -81,5 +82,6 @@ class SteeringEvaluation:
|
||||
"attention": self.attention,
|
||||
"read_models": self.read_models,
|
||||
"proposals": self.proposals,
|
||||
"agent_slots": self.agent_slots,
|
||||
"data_source": self.data_source,
|
||||
}
|
||||
Reference in new issue
Block a user