diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-20 16:23:29 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-20 16:23:29 -0500 |
| commit | b6334da771d764b7c29b33522db06b6cc716c6cb (patch) | |
| tree | 644805fb7f3276ea6a5a8af022f4b1f67c316a6f /Omni/Task.hs | |
| parent | 9ab85c33379f98229235a30dbf5108ad31a01d1f (diff) | |
feat: implement multi-agent workflow infrastructure
- Add 'Review' status to Task tool - Add Omni/Agent/ directory with
setup and sync scripts - Add WORKER_AGENT_GUIDE.md - Configure custom
merge driver for tasks.jsonl
Diffstat (limited to 'Omni/Task.hs')
| -rw-r--r-- | Omni/Task.hs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Omni/Task.hs b/Omni/Task.hs index bbb78bb..d1e672a 100644 --- a/Omni/Task.hs +++ b/Omni/Task.hs @@ -72,7 +72,7 @@ Options: --type=<type> Task type: epic or task (default: task) --parent=<id> Parent epic ID --priority=<p> Priority: 0-4 (0=critical, 4=backlog, default: 2) - --status=<status> Filter by status: open, in-progress, done + --status=<status> Filter by status: open, in-progress, review, done --deps=<ids> Comma-separated list of dependency IDs --dep-type=<type> Dependency type: blocks, discovered-from, parent-child, related (default: blocks) --discovered-from=<id> Shortcut for --deps=<id> --dep-type=discovered-from @@ -85,7 +85,7 @@ Options: Arguments: <title> Task title <id> Task ID - <status> Task status (open, in-progress, done) + <status> Task status (open, in-progress, review, done) <file> JSONL file to import |] @@ -171,8 +171,9 @@ move args Nothing -> pure Nothing Just "open" -> pure <| Just Open Just "in-progress" -> pure <| Just InProgress + Just "review" -> pure <| Just Review Just "done" -> pure <| Just Done - Just other -> panic <| "Invalid status: " <> T.pack other <> ". Use: open, in-progress, or done" + Just other -> panic <| "Invalid status: " <> T.pack other <> ". Use: open, in-progress, review, or done" maybeNamespace <- case Cli.getArg args (Cli.longOption "namespace") of Nothing -> pure Nothing Just ns -> do @@ -205,8 +206,9 @@ move args let newStatus = case statusStr of "open" -> Open "in-progress" -> InProgress + "review" -> Review "done" -> Done - _ -> panic "Invalid status. Use: open, in-progress, or done" + _ -> panic "Invalid status. Use: open, in-progress, review, or done" updateTaskStatus tid newStatus if isJsonMode args then outputSuccess <| "Updated task " <> tid |
