Octogent splits files by ownership. Agent-facing project context stays in the workspace. Runtime-owned state stays in the per-project global state directory.
.octogent/ is created in the workspace.
Main paths:
.octogent/project.json.octogent/tentacles/.octogent/worktrees/
project.json holds the stable project ID used to find global state. The tentacles folder is intended for agent-readable markdown. Worktrees are generated execution checkouts and should not be treated as context storage.
Tentacle example:
.octogent/
tentacles/
api-backend/
CONTEXT.md
todo.md
routes.md
CONTEXT.md may end with a managed Suggested Skills block when the operator or planner attaches Claude Code skills to that tentacle.
Deck also writes UI metadata for tentacles, but not into these markdown files. Color, status, appearance, paths, and tags are stored in global deck state.
Project-local Claude Code skills, when present, live under:
.claude/
skills/
some-skill/
SKILL.md
Per-project runtime state is stored under:
~/.octogent/projects/<project-id>/state/
Notable files:
tentacles.jsondeck.jsontranscripts/<sessionId>.jsonlmonitor-config.jsonmonitor-cache.jsoncode-intel.jsonl
tentacles.json is the terminal registry despite the historical name. It stores terminal records, lifecycle state, UI state, parent-child links, workspace mode, worktree IDs, and display names.
deck.json stores Deck presentation metadata that is not part of the agent-facing tentacle files.
transcripts/*.jsonl stores conversation transcript events separately from PTY scrollback. Scrollback is in memory and bounded; transcripts are persisted.
- core prompts are synced from
prompts/ - synced copies live in
.octogent/prompts/core/ - user prompts live in
.octogent/prompts/
If something is agent-facing context, keep it in the tentacle folder.
If something is runtime-owned state, expect it under the global project state directory.
If something is an isolated execution checkout, expect it under .octogent/worktrees/ and treat its branch lifecycle as part of the terminal that created it.