The per-user state directory for logs, locks, memory, worktrees, and crons.
vteam writes nothing into your repository at runtime, so there is nothing to gitignore. Logs, run state, locks, agent memory, interactive sessions, enabled crons, and worktrees all live in one directory per user: ~/.local/state/vteam (or $XDG_STATE_HOME/vteam; set VTEAM_STATE_DIR to put it somewhere else).
~/.local/state/vteam/├── projects.json every project: its tasks.project and repository├── scheduler/ cron.pid, scheduler.log (one scheduler for all projects)└── projects/<tasks.project>/ ├── logs/ runs/ locks/ memory/ sessions/ worktrees/ └── schedules.json enabled cronsProjects
Section titled “Projects”A project is identified by its tasks.project, and registers itself the first time a vteam command runs in it. Two repositories cannot use the same tasks.project: vteam refuses the second one. Git worktrees of one repository count as the same repository and share its state. If you move a repository, its state follows it on the next command. If you rename tasks.project, its state directory is renamed too.
vteam projects lists what is registered.
Upgrading from older versions
Section titled “Upgrading from older versions”Upgrading from a version that kept state in the repository: the next vteam command in the project moves vteam/.runs, .logs, .memory, .sessions, and .cron into the state directory (it waits while a run of the older version is still going). Worktrees in .vteam-worktrees/ stay where they are, and vteam clean still removes them when unused. The worktreeDir setting is no longer used. Once .vteam-worktrees/ is gone, you can drop vteam’s lines from .gitignore.