aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-09 17:50:54 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-09 17:50:54 +0300
commitbe271f8dbe6abd9593cdf832e1cc6e1108df6fab (patch)
tree4592c271d7427b482292e10413ec18dddceb235f
parentdacbfed01ebe9d6ec7f1e969ad8a29e86b6fad28 (diff)
docs: clarify agent workflow and testing commands
-rw-r--r--AGENTS.md11
-rw-r--r--justfile3
2 files changed, 7 insertions, 7 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 7598b0d5..7ca408dd 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -25,20 +25,23 @@ Use this layout:
Do all code edits, tests, and validation inside the task worktree.
+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.
-After the change is accepted and integrated back into the main checkout at `../herdr`, remove the task worktree and delete its branch.
+After the change is integrated, remove the task worktree and delete the task branch locally and remotely.
## Testing
```bash
-just check # formatting + unit tests
-just test # unit tests
-just test-all # full local test suite
+just test # cargo tests + maintenance script tests
+just check # formatting check + cargo tests + maintenance script tests
```
Default flow: run `just check` before committing.
diff --git a/justfile b/justfile
index 0dbd3edd..4dd729c4 100644
--- a/justfile
+++ b/justfile
@@ -14,9 +14,6 @@ ci:
check: ci
python3 -m unittest scripts.test_changelog scripts.test_vendor_libghostty_vt
-# Run the full local test suite
-test-all: check
-
# Build release binary
build:
cargo build --release