summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b668758..6ff1ebf 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -435,7 +435,7 @@ Each line in `tasks.jsonl` is a JSON object representing a task.
### Testing and Development
-**IMPORTANT**: When writing or testing code that modifies tasks, use the test database:
+**CRITICAL**: When manually testing task functionality (like tree visualization, flag ordering, etc.), you MUST use the test database:
```bash
# Set test mode to protect production database
@@ -444,6 +444,7 @@ export TASK_TEST_MODE=1
# Now all task operations use .tasks/tasks-test.jsonl
task create "Test task" --type=task
task list
+task tree
# Unset when done
unset TASK_TEST_MODE
@@ -451,7 +452,7 @@ unset TASK_TEST_MODE
**The test suite automatically uses test mode** - you don't need to set it manually when running `task test` or `bild --test Omni/Task.hs`.
-**Never run destructive tests against the production database** (`.tasks/tasks.jsonl`) as this will delete real task data.
+**NEVER run manual tests against the production database** (`.tasks/tasks.jsonl`). This pollutes it with test data that must be manually cleaned up. Always use `TASK_TEST_MODE=1` for experimentation.
## Integration with Git