summaryrefslogtreecommitdiff
path: root/makima/frontend/src/components/directives/DirectiveContractsTab.tsx
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-08 19:50:20 +0000
committersoryu <soryu@soryu.co>2026-02-08 19:50:20 +0000
commit87fa8c4af66745bd30bc84b6c5ef657dd4dec002 (patch)
treecf8216c349086819300b4400c2db27c5c97be62c /makima/frontend/src/components/directives/DirectiveContractsTab.tsx
parent2166befc8869dbb76008a1fe62f28a4936e77bce (diff)
downloadsoryu-87fa8c4af66745bd30bc84b6c5ef657dd4dec002.tar.gz
soryu-87fa8c4af66745bd30bc84b6c5ef657dd4dec002.zip
Fix directive evaluation and add to frontend
Diffstat (limited to 'makima/frontend/src/components/directives/DirectiveContractsTab.tsx')
-rw-r--r--makima/frontend/src/components/directives/DirectiveContractsTab.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/makima/frontend/src/components/directives/DirectiveContractsTab.tsx b/makima/frontend/src/components/directives/DirectiveContractsTab.tsx
index 59ebfc8..28da117 100644
--- a/makima/frontend/src/components/directives/DirectiveContractsTab.tsx
+++ b/makima/frontend/src/components/directives/DirectiveContractsTab.tsx
@@ -100,6 +100,23 @@ export function DirectiveContractsTab({
label: step.name,
});
}
+ // Show monitoring/evaluation contracts
+ if (step.monitoringContractId) {
+ contracts.push({
+ summary: {
+ id: step.monitoringContractId,
+ name: `${step.name} - Evaluation`,
+ contractType: "monitoring",
+ status: step.status === "evaluating" ? "active" : "completed",
+ phase: "plan",
+ taskCount: 1,
+ tasksDone: step.status === "evaluating" ? 0 : 1,
+ tasksRunning: step.status === "evaluating" ? 1 : 0,
+ tasksFailed: 0,
+ },
+ label: `${step.name} eval`,
+ });
+ }
}
}