From 6b9b5f5129dff789753df7d0c82939d3c219b29b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 24 Nov 2025 21:43:35 -0500 Subject: Remove harvest command and documentation The 'harvest' functionality was tied to git-synced JSONL task files, which have been replaced by a local SQLite database. This commit removes the command from the CLI and updates documentation to reflect the new workflow. Amp-Thread-ID: https://ampcode.com/threads/T-ac41b9b6-d117-46de-9e4f-842887a22f1d Co-authored-by: Amp --- Omni/Agent/DESIGN.md | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Omni/Agent/DESIGN.md') diff --git a/Omni/Agent/DESIGN.md b/Omni/Agent/DESIGN.md index 3ff00fc..0ee1004 100644 --- a/Omni/Agent/DESIGN.md +++ b/Omni/Agent/DESIGN.md @@ -11,7 +11,6 @@ agent start [--background] # Start a worker (foreground by default, back agent stop # Stop a background worker agent status # List all workers and their status agent log [-f] # View/tail worker logs -agent harvest # Harvest task updates from all workers agent sync # Sync local state with live (helper) ``` @@ -81,12 +80,6 @@ The Haskell implementation should replicate the logic of `start-worker.sh` but w - **Completion**: When a task finishes, print a summary line (e.g., `[✓] Task t-123 completed in 12m 30s`) and a hard line break before starting the next loop. - **History**: Previous log lines (tool outputs, thoughts) scroll up above these two status lines. -### 4.4 Harvesting -- Iterate over `.tasks/workers/` or `git worktree list`. -- For each worker, extract `.tasks/tasks.jsonl` via `git show`. -- Run `Task.import`. -- **Squashing**: If the previous commit on the target branch (live) was a harvest commit, use `git commit --amend` to consolidate updates and reduce commit noise. - ### 4.5 Git Robustness (Learnings) - **Identity**: Configure `git config user.name "Omni Worker"` and `user.email` in the worktree to clearly distinguish worker commits from human commits. - **Force Checkout**: The worker must use `git checkout -f` (or equivalent) when switching to task branches to ensure untracked files (like `.tasks/counters.jsonl`) don't block the switch. -- cgit v1.2.3