summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index c07d8ed..5d4497a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -259,10 +259,17 @@ States:
.tasks/
├── tasks.jsonl # Git-tracked, production database
├── tasks-test.jsonl # Test database (not tracked, auto-created)
+
+Omni/Ide/hooks/
+├── pre-commit # Exports tasks before commit (auto-stages tasks.jsonl)
+├── post-checkout # Imports tasks after branch switch
+└── ... # Other git hooks
```
Each line in `tasks.jsonl` is a JSON object representing a task.
+**Git Hooks**: This repository uses hooks from `Omni/Ide/hooks/` (configured via `core.hooksPath`). Do NOT add hooks to `.git/hooks/` - they won't be version controlled and may cause confusion.
+
## Testing and Development
**IMPORTANT**: When writing or testing code that modifies tasks, use the test database: