summaryrefslogtreecommitdiff
path: root/Omni
AgeCommit message (Collapse)Author
2025-11-22feat: implement t-1o2bxd11zv9Ben Sima
The task to fix missing Time, Thread, and Credits in the Agent Log has been completed. **Changes Implemented:** 1. **`Omni/Agent/Log.hs`**: * Added `Data.Aeson` and `Data.ByteString` imports for JSON parsing. * Updated `Status` data type to include `statusThread`. * Implemented `LogEntry` data type and `FromJSON` instance to match the `amp` log format. * Added `processLogLine` function to parse JSON log lines and update the global status. * Updated `render` function to display the Thread ID. * Added logic to extract and format `Time` and `Credits` from log entries. 2. **`Omni/Agent/Worker.hs`**: * Added a log monitoring thread using `forkIO` in `runAmp`. * Implemented `monitorLog` to tail the `_/llm/amp.log` file and pass lines to `AgentLog.processLogLine`. * Added `waitForFile` to ensure the log monitor waits for the log file to be created. **Verification:** * Verified that both `Omni/Agent/Log.hs` and `Omni/Agent/Worker.hs` compile successfully using `bild` (ignoring the expected "no main" error for library modules). * Ran `lint` on both files with no errors. The agent status bar should now correctly display the Thread ID, elapsed/current Time, and Credits usage as parsed from the `amp` logs.
2025-11-21fix(agent): simple ascii status bar to avoid xterm errorsOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat(agent): add 2-line status monitoring UIOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix(agent): check for existing branch before creatingOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21task: sync statusOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix(agent): handle empty commits gracefullyOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix(agent): detect stale rebase before abortingOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix(agent): robust git rebase handlingOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat(agent): use haskell binary in start-worker.shOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21style: fix lintingOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat(agent): add monitor scriptOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat(agent): implement smart base branch selectionOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat: add description field to tasksOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21style: fix lintingOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat: implement t-1fKn9oBen Sima
2025-11-21task: t-1fKilH doneOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat: implement t-1fKilHBen Sima
2025-11-21fix: normalize haskell namespace and remove reproduce scriptOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-79499d9e-f4f4-40de-893c-524c32a45483 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat: implement t-1rdJxcdBen Sima
2025-11-21feat: implement t-1rcIBeUBen Sima
2025-11-21feat: implement t-rWa5yilwM.4Omni Worker
2025-11-21task: t-rWa5yilwM.5 done (Omni.Agent.Log enhancements)Omni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21Fix lint issueOmni Worker
2025-11-21fix: unused pragma in Omni/Agent/Core.hsOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21task: t-rWa5yilwM.2 done (Omni.Agent.Worker)Omni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21feat: implement Omni.Agent.Worker loop logicOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-4f2905ef-a042-4880-b146-f6809ce83751 Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix(doc): use live instead of origin/live for base branchOmni Worker
2025-11-21doc: update agent design with new workflow requirementsOmni Worker
2025-11-21feat(agent): show task details in console logOmni Worker
2025-11-21fix(agent): build task binary in worker instead of copyingOmni Worker
2025-11-21fix(agent): ensure worker has task binaryOmni Worker
2025-11-21fix(agent): fix start-worker.sh crash and update workflowOmni Worker
2025-11-21doc: mandate rebase workflow for plannerOmni Worker
2025-11-21Merge live into task/t-rWacMb1avOmni Worker
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21infra: improve worker workflow (attribution, cleaner history)Ben Sima
2025-11-21fix: lint errors in Omni/Agent/Git.hs and Log.hsBen Sima
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21Merge branch 'live' into task/t-rWa5yilwM.3Ben Sima
2025-11-21Merge branch 'live' into task/t-rWa5yilwM.1Ben Sima
2025-11-21Merge live into task/t-1rcIwc8Ben Sima
Amp-Thread-ID: https://ampcode.com/threads/T-7109f8d0-feb4-4a24-bc4b-37743227e2cb Co-authored-by: Amp <amp@ampcode.com>
2025-11-21fix: expose task progress command in CLIBen Sima
2025-11-21feat: implement t-rWacMb1avBen Sima
2025-11-21feat: implement t-rWa5yilwM.3Ben Sima
2025-11-21feat: implement t-rWa5yilwM.1Ben Sima
2025-11-21feat: implement t-1rcIwc8Ben Sima
2025-11-21feat: implement t-1rcIr6XBen Sima
2025-11-20docs(agent): add rigorous git/state learnings to designBen Sima
2025-11-20fix(task): exclude Review tasks from task readyBen Sima
2025-11-20fix(worker): sleep when skipping already-completed tasksBen Sima
2025-11-20fix(worker): verify task status against live before claimingBen Sima
2025-11-20fix(worker): use force checkout for base branchBen Sima