summaryrefslogtreecommitdiff
path: root/internal/executor/executor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/executor/executor.go')
-rw-r--r--internal/executor/executor.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/executor/executor.go b/internal/executor/executor.go
index ed38d7d..3c41250 100644
--- a/internal/executor/executor.go
+++ b/internal/executor/executor.go
@@ -16,6 +16,7 @@ import (
"github.com/thepeterstone/claudomator/internal/retry"
"github.com/thepeterstone/claudomator/internal/role"
"github.com/thepeterstone/claudomator/internal/storage"
+ "github.com/thepeterstone/claudomator/internal/story"
"github.com/thepeterstone/claudomator/internal/task"
"github.com/google/uuid"
)
@@ -48,6 +49,12 @@ type Store interface {
// ListDependents returns tasks that directly depend on taskID. Used by
// cascadeFail to proactively cancel a failed task's downstream subtree.
ListDependents(taskID string) ([]*task.Task, error)
+ // CreateEpic, GetEpicByName, GetStory, and UpdateStory back
+ // storeChannel.ProposeEpic (Phase 7c) — see internal/executor/channel.go.
+ CreateEpic(e *story.Epic) error
+ GetEpicByName(name string) (*story.Epic, error)
+ GetStory(id string) (*story.Story, error)
+ UpdateStory(st *story.Story) error
}
// LogPather is an optional interface runners can implement to provide the log