Project layout

A file-by-file reference for a Flux project.

5 min readReference

A Flux project is a plain folder whose marker is project.json. Here is the canonical tree:

<project>/
├── project.json                 # the map: title, authors, documents, figures, references
├── paper/                       # YOURS — documents and arbitrary nested folders
│   ├── notes.qmd                #   a starter document; no required main.qmd
│   ├── notes.comments.json      #   its margin-comment threads
│   └── _quarto.yml              #   shared export settings
├── plots/                       # YOURS — analysis output lands here, any structure you like
│   ├── growth.{svg,fluxplot.json,recipe.json}   #   a semantic plot + manifest + recipe
│   ├── neuron.{glb,fluxplot.json,recipe.json}   #   a 3D mesh + semantic manifest + recipe
│   ├── _dissections/growth/     #   growth's companion material (per-subject panels, stats CSVs)
│   ├── _lighttable/             #   Lighttable collections for exploratory image sets
│   ├── _videos/                 #   video clips for slides
│   ├── pasted/                  #   originals of images pasted from the clipboard
│   └── paper_snips/             #   regions snipped out of PDFs in Reader
├── fig/                         # APP-MANAGED — the figure subsystem
│   ├── index.json               #   canvases + figures rollup
│   ├── canvases/<id>.json       #   the real compositions (figures → elements)
│   ├── captions/<id>.md         #   composed caption mirror, reconciled with the composition
│   ├── assets/                  #   accepted SVG/GLB bundles + semantic sidecars
│   └── renders/                 #   derived static renders
│       └── model3d/             #   keyed PNG posters; meshes remain in assets/
├── slides/<deckId>/deck.json    # APP-MANAGED — one deck per folder (+ its assets/)
├── references/library.bib       # YOURS — the project's cited subset (BibTeX)
├── AGENTS.md                    # passive pointer to flux-connect
├── CLAUDE.md                    # imports AGENTS.md
├── Context/                     # the agent layer
│   ├── ProjectContext.qmd       #   background, goals, data and must-read links
│   ├── NOTEBOOK.md              #   append-only Log, written when requested
│   └── RULES.md                 #   your standing project rules
├── styles/  assets/  exports/   # figure styles · media · compiled output (derived)
└── .meta/                       # tool state: journal, annotation ledger, locks, schemas
    ├── feedback.ndjson          #   append-only annotations, routes, claims and status
    ├── feedback/                #   annotation pictures
    ├── live/sessions/           #   connected-session presence (disposable)
    └── archive/                 #   historical material moved by the one-shot migration

Ownership at a glance

Paths Ownership and rule
paper/ documents (legacy manuscript/), plots/, references/library.bib Yours — edit freely. Source of truth. Edit in Flux, another editor, or a script — all equivalent.
Context/ Co-owned with agents. ProjectContext links the background agents need; rules are yours; the Log gets new entries only when requested.
fig/, slides/ App-managed. Readable JSON, but change it through the app or flux commands so indexes and captions stay coherent.
fig/renders/, exports/, caches Derived. Rebuildable output. Safe to ignore in backups and version control.

Notes on specific pieces

For the ideas behind the layout — source versus derived files, crash safety, live reload — see Projects and files.

Search the docs

Search guides, workspaces, and reference topics.

↑ ↓ to move · Enter to open · Esc to close