feat: add durable plan implement action (#1645)

This commit is contained in:
Carlos Florêncio
2026-07-10 12:56:05 +01:00
committed by GitHub
parent 61723934b9
commit 3cb965d0fd
34 changed files with 1495 additions and 193 deletions
@@ -13,6 +13,7 @@ import (
var ErrWorkspaceNameMismatch = repoerrors.ErrWorkspaceNameMismatch
var ErrWorkspaceNotFound = repoerrors.ErrWorkspaceNotFound
var ErrTaskNotFound = repoerrors.ErrTaskNotFound
var ErrTaskPlanNotFound = repoerrors.ErrTaskPlanNotFound
// WorkspaceRepository handles workspace CRUD.
type WorkspaceRepository interface {
@@ -318,6 +319,7 @@ type PlanRepository interface {
CreateTaskPlan(ctx context.Context, plan *models.TaskPlan) error
GetTaskPlan(ctx context.Context, taskID string) (*models.TaskPlan, error)
UpdateTaskPlan(ctx context.Context, plan *models.TaskPlan) error
MarkTaskPlanImplementationStarted(ctx context.Context, taskID, sessionID, actor string) (*models.TaskPlan, error)
DeleteTaskPlan(ctx context.Context, taskID string) error
// Revision history