summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-24 15:22:51 -0500
committerBen Sima <ben@bensima.com>2025-11-24 15:22:51 -0500
commite9359717266f64ae159e3d421cd99ddc2f47c8c5 (patch)
treeee53e69008b79a46c9b4e3514874ce0a989e0a85
parent800b2bf7526cfc23b8ef913ab9e4efb5ffd4262d (diff)
feat: implement t-1o2egbj8o0n.1
-rw-r--r--.tasks/tasks.jsonl2
-rw-r--r--Omni/Jr.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.tasks/tasks.jsonl b/.tasks/tasks.jsonl
index ab50049..47ec09b 100644
--- a/.tasks/tasks.jsonl
+++ b/.tasks/tasks.jsonl
@@ -224,7 +224,7 @@
{"taskCreatedAt":"2025-11-24T19:28:02.443317007Z","taskDependencies":[],"taskDescription":null,"taskId":"t-1o2efbs6lst","taskNamespace":"Omni/Agent.hs","taskParent":null,"taskPriority":"P2","taskStatus":"Done","taskTitle":"Remove looping logic from agent worker","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T19:28:40.993778347Z"}
{"taskCreatedAt":"2025-11-24T19:28:07.348886747Z","taskDependencies":[],"taskDescription":"The agent credit usage is displayed as dollars when they should be displayed as cents. For example: it currently displays $50 when it should show $0.50","taskId":"t-1o2efbv3t8o","taskNamespace":"Omni/Agent.hs","taskParent":null,"taskPriority":"P2","taskStatus":"Done","taskTitle":"Fix agent credit usage display (show as dollars)","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T19:29:46.525888911Z"}
{"taskCreatedAt":"2025-11-24T20:04:04.203336147Z","taskDependencies":[],"taskDescription":"Evolve the current task and agent tools into a unified 'jr' binary. This is MVP 1. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md","taskId":"t-1o2egbj8o0n","taskNamespace":"Omni/Jr.hs","taskParent":null,"taskPriority":"P2","taskStatus":"Open","taskTitle":"MVP 1: Unified Jr Interface","taskType":"Epic","taskUpdatedAt":"2025-11-24T20:09:03.829276845Z"}
-{"taskCreatedAt":"2025-11-24T20:04:10.647799773Z","taskDependencies":[],"taskDescription":"Create the main entry point for the new 'jr' CLI (Omni/Jr.hs). This module should handle command-line argument parsing (using docopt) and dispatch to sub-commands. The main function should delegate to a Cli.main style handler. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md. Acceptance Criteria: Omni/Jr.hs module exists, jr --help prints usage info, supports subcommands: task, work, harvest, and main function delegates correctly.","taskId":"t-1o2egbj8o0n.1","taskNamespace":"Omni/Jr.hs","taskParent":"t-1o2egbj8o0n","taskPriority":"P2","taskStatus":"InProgress","taskTitle":"Create Omni/Jr.hs (Main entry point)","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T20:17:34.238027482Z"}
+{"taskCreatedAt":"2025-11-24T20:04:10.647799773Z","taskDependencies":[],"taskDescription":"Create the main entry point for the new 'jr' CLI (Omni/Jr.hs). This module should handle command-line argument parsing (using docopt) and dispatch to sub-commands. The main function should delegate to a Cli.main style handler. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md. Acceptance Criteria: Omni/Jr.hs module exists, jr --help prints usage info, supports subcommands: task, work, harvest, and main function delegates correctly.","taskId":"t-1o2egbj8o0n.1","taskNamespace":"Omni/Jr.hs","taskParent":"t-1o2egbj8o0n","taskPriority":"P2","taskStatus":"Review","taskTitle":"Create Omni/Jr.hs (Main entry point)","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T20:22:51.046120174Z"}
{"taskCreatedAt":"2025-11-24T20:04:10.849946307Z","taskDependencies":[],"taskDescription":"Integrate the existing Omni/Task functionality into jr. 'jr task ...' should behave exactly like the current 'task ...' command. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md. Acceptance Criteria: jr task list works, jr task create works, jr task show works, all Omni/Task commands accessible via jr task, reuses Omni.Task logic.","taskId":"t-1o2egbj8o0n.2","taskNamespace":"Omni/Jr.hs","taskParent":"t-1o2egbj8o0n","taskPriority":"P2","taskStatus":"Open","taskTitle":"Port task commands to jr task","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T20:08:57.975243724Z"}
{"taskCreatedAt":"2025-11-24T20:04:11.130368679Z","taskDependencies":[],"taskDescription":"Integrate the Omni/Agent worker functionality into jr. The command 'jr work' should replace 'agent start'. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md. Acceptance Criteria: jr work starts the worker loop (sync, claim task, work), reuses Omni.Agent.Worker logic.","taskId":"t-1o2egbj8o0n.3","taskNamespace":"Omni/Jr.hs","taskParent":"t-1o2egbj8o0n","taskPriority":"P2","taskStatus":"Open","taskTitle":"Port agent start to jr work","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T20:08:58.300887813Z"}
{"taskCreatedAt":"2025-11-24T20:04:11.422967354Z","taskDependencies":[],"taskDescription":"Integrate the harvesting logic into jr. 'jr harvest' should replace 'agent harvest'. Reference Plan: /home/ben/omni/_/llm/PLAN_Jr_Evolution.md. Acceptance Criteria: jr harvest scans worker branches and merges task updates, reuses Omni.Agent.Core/Git logic.","taskId":"t-1o2egbj8o0n.4","taskNamespace":"Omni/Jr.hs","taskParent":"t-1o2egbj8o0n","taskPriority":"P2","taskStatus":"Open","taskTitle":"Port agent harvest to jr harvest","taskType":"WorkTask","taskUpdatedAt":"2025-11-24T20:08:58.581036298Z"}
diff --git a/Omni/Jr.hs b/Omni/Jr.hs
index 1d15fb7..651aed6 100644
--- a/Omni/Jr.hs
+++ b/Omni/Jr.hs
@@ -8,9 +8,9 @@ module Omni.Jr where
import Alpha
import qualified Omni.Cli as Cli
import qualified Omni.Task as Task
-import System.Environment (withArgs)
import qualified Omni.Test as Test
import qualified System.Console.Docopt as Docopt
+import System.Environment (withArgs)
main :: IO ()
main = Cli.main plan