Sessions and projects¶
A session stores conversation messages, completed tool results and metadata. Writes occur after each completed message or tool operation. An interrupted stream or an in-flight external operation may be incomplete.
Resuming¶
--resume reloads saved context. Without it, the same id appends history
while the in-memory conversation starts fresh. Resume does not replay
previous tools; a newly requested operation may still act on the same files.
In the terminal, open an existing session through /sessions or Alt+S.
Inspecting¶
Projects¶
Project-scoped CLI queries walk upward to a .git marker, falling back to
the current directory. A project's .gdc/ holds configuration, profiles,
skills and memory.
| Mode | Default session database |
|---|---|
gdc print, gdc serve, data commands |
~/.gdc/sessions.db or [storage].path |
Local gdc-tui |
~/.gdc/projects/<slug>/sessions.db |
Remote gdc-tui --bind |
Server's database |
To inspect local TUI history, use gdc sessions list --all-projects or
point --db-path at its database for commands on individual sessions.
--all widens scope within the selected database; it does not scan other databases.
Working across projects¶
Subagent sessions¶
Workers have child sessions linked to their parent. Forks also create child sessions. Inspect the relationships:
Housekeeping¶
Deletion asks for confirmation. See Sessions and data.