aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-16 21:58:42 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-16 21:58:42 +0300
commit318e6a3033b61082d9c330c79ef584cf37e6c6d0 (patch)
tree1be1cd859fb419a3818e1a6c7dacf6f4298c5f20
parentfc99070a22aca3403828fc72907d5b05798fb4ff (diff)
chore: clean up local repo guidance
-rw-r--r--.codex0
-rw-r--r--AGENTS.md4
-rw-r--r--src/main.rs4
3 files changed, 3 insertions, 5 deletions
diff --git a/.codex b/.codex
deleted file mode 100644
index e69de29b..00000000
--- a/.codex
+++ /dev/null
diff --git a/AGENTS.md b/AGENTS.md
index 7ca408dd..7004c987 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -15,7 +15,7 @@ Terminal workspace manager for AI coding agents. Rust + ratatui.
Read-only investigation can happen in the shared checkout.
-When starting any file-changing task, use a dedicated git worktree by default. This is required whenever parallel agent work may happen in the repository.
+Small changes or small tasks are fine in the default main worktree. If you find unrelated implementation changes already in progress in the main worktree, use a dedicated worktree instead. Use a dedicated worktree for bigger features too.
Use this layout:
@@ -29,8 +29,6 @@ Commit on the task branch in that worktree.
When the change is ready, fast-forward the shared checkout at `../herdr` to the task branch commit, then push `origin/master` from `../herdr`. Do not treat the task branch as the final landing branch.
-You may skip a worktree only for a clearly solo, trivial change when no other agent is expected to modify the repository at the same time.
-
If the current session is already inside an isolated task worktree, keep using it. Do not create nested worktrees.
Before committing, propose the commit message and get alignment.
diff --git a/src/main.rs b/src/main.rs
index 8779fef1..c990f793 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -323,8 +323,8 @@ fn main() -> io::Result<()> {
};
info!("herdr starting, pid={}", std::process::id());
- // Background auto-update (non-blocking, best-effort)
- // Downloads and installs new version silently, notifies TUI when done.
+ // Background update check (non-blocking, best-effort)
+ // Only checks for newer versions and notifies the TUI.
// Skipped in --no-session mode (testing).
let rt = tokio::runtime::Builder::new_multi_thread()