fix: Gate-Verify — Evidence an Plan-Element verknüpfen
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Failing after 1m31s
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 1s
Test Suite / compose-smoke (push) Has been skipped

Verify prüft akzeptiertes Evidence am RoadmapItem. Plan-UI schließt Gates mit Nachweis;
Journey erlaubt Plan-Zuordnung. Migration 011 roadmap_item_id auf evidence/reviews.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-05 19:24:18 +02:00
1 parent 09433b5d28
commit fdda8a9fae
13 files changed
+262 -38

No files matched your search

@@ -347,6 +347,24 @@ export function InitiativeOperationsProvider({ children }) {
}
}
async function handleVerifyWithEvidence(itemId, evidenceTitle) {
setFormBusy(true)
setError(null)
try {
await createInitiativeEvidence(id, {
title: evidenceTitle,
roadmap_item_id: itemId,
status: 'accepted',
})
await verifyRoadmapItemReached(itemId)
await load()
} catch (err) {
setError(err.message)
} finally {
setFormBusy(false)
}
}
async function handleVerifyRoadmapItem(itemId) {
setFormBusy(true)
try {
@@ -545,6 +563,7 @@ export function InitiativeOperationsProvider({ children }) {
handleRoadmapItemStatus,
handleUpdateRoadmapItem,
handleVerifyRoadmapItem,
handleVerifyWithEvidence,
handleDeleteRoadmapItem,
handleCreateMilestone: handleCreateRoadmapItem,
handleMilestoneStatus: handleRoadmapItemStatus,