summaryrefslogtreecommitdiff
path: root/Omni/Agent/DESIGN.md
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-24 21:43:35 -0500
committerBen Sima <ben@bensima.com>2025-11-24 21:43:35 -0500
commit6b9b5f5129dff789753df7d0c82939d3c219b29b (patch)
tree0e5a3015a4cb29df2adf06f18898eeda5ee2acfe /Omni/Agent/DESIGN.md
parent32a81cad9782bb82f826307005bd187d4e6f0c93 (diff)
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 <amp@ampcode.com>
Diffstat (limited to 'Omni/Agent/DESIGN.md')
-rw-r--r--Omni/Agent/DESIGN.md7
1 files changed, 0 insertions, 7 deletions
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 <name> [--background] # Start a worker (foreground by default, back
agent stop <name> # Stop a background worker
agent status # List all workers and their status
agent log <name> [-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.