Projects and maps
Assistants can find their way around large things — a code project, your Library, a long room — through maps: what's there, how the pieces connect, and a short summary of each, so they read only what matters.
Upload a project
- In a room, tap + → File and pick a .zip of the project.
- The app unpacks it into its own workspace (the original archive is kept), skips dependencies, build output and binary files, and maps it: folders, files, functions and classes, sections of documents, the project's scripts, which file imports which, and the packages it uses.
- A workspace entry appears in the Library with a summary and what could not be mapped.
- Ask about the code of your project in the room ("where is the login handled?", "what does this zip do?"): the assistant answers from the project's map and the files it reads.
Then just ask: "how is the store set up?", "where is the login handled?", "rename this function everywhere it is used".
How the assistant works with it
It starts from the overview, finds the relevant part, opens it to see what it contains and connects to, then reads only the lines it needs. You can follow this in the steps under its reply and in Message info → How it got here.
For big work (an app of many files, a long refactor) the assistant splits it into tasks. Each step names the files and notes it needs, and on each turn the assistant loads just that step's context — the files at their current revision, what earlier steps did — instead of the whole project. Large diffs in the history are computed by the app's fast native core.
How things connect
Everything in a map — a function, a section of a Library entry, a question in a room — links to the names it defines, calls or mentions. That is how an assistant can answer:
- "who calls this function?" and "where is it defined?";
- "which notes discuss this?" — a Library section that mentions
makeStoremeets the function that defines it; - "how does my question relate to that file?" — it follows the chain from the question, through the name, to the code.
Code calls are matched by name, so a call to a name defined in several places links to all of them. Assistants are told this and check the source.
Writing relations in your own notes
Any Library entry or message can state relations the assistant will follow:
[[Humboldt Current]]marks a concept; everywhere it appears is linked.- A line like
Humboldt Current --cools--> Chilean coaststates a relation. Each such line becomes a link the assistant can walk: "what does the Humboldt Current affect two steps away?", "how is El Niño connected to Valparaíso?". - Names in backticks (
fetchTideTable) join the code maps.
How an assistant works on code
- It never reads the same lines twice. Everything it read in a task stays in view — its working set — kept current as it edits (it sees each file as it is now). When you say continue later, the task starts with the same files at hand.
- Project instructions. A
VEXYLINE.md(orAGENTS.md/CLAUDE.md) in the project is read at the start of every task: conventions, the commands that build and test it, what not to touch. Ask an assistant to note something ("note that tests run with cargo test -p core") and it adds a line there. - Broad questions go to a helper. "How is the login wired?" — the assistant sends an explorer that searches in its own context and comes back with the answer and the exact places, so the main task stays focused.
- Coding turns get many small steps (search → read → edit → check) and keep going while they still edit and check.
Finding code
An assistant finds its way cheapest first: grep (a regular expression over the workspace, with the lines around each hit) → reading only the lines it needs → editing by line numbers. The map is for big projects and tracing dependencies: who calls a function, what breaks if it changes, how two parts connect.
In a reply's steps, tap a step to expand it: a writing step ends with Show the changes (the file's diff, as in a workspace's history) and a reading step with Show lines a–b (just the lines it read).
Edits
The assistant changes files by line numbers from what it read: it never rewrites a whole file to change a few lines. After an edit, only that file's part of the map is updated — the rest of the project isn't touched, so large projects stay fast and the map stays consistent. If a file changed since it read it, the edit is refused and it reads again, so a change never lands in the wrong place. Each edit can be undone exactly — ask it to undo, and it reverts the last change to that file.
Every read and write names the workspace it is in, the file's revision (a short code for its content) and, for a write, the change set it went into and how many lines it added and removed. An edit based on an older revision is refused without changing anything, and a retried request is not applied twice.
Workspace history
A workspace's history lists its change sets, newest first; each file is marked + added, ~ changed or − deleted, with its line counts. An assistant can open the diff of one file in one change set, and before undoing a change set it can preview what would be restored, what is left alone because it changed since, and which files later changes touched.
Is the map current?
The map says when it is behind its workspace: how many changes were made since it was built. Then line numbers and names from the map may be off, and the assistant reads the file before editing it (Diagnostics → Update maps now rebuilds the maps).
Two workspaces may have the same name (a copy to compare is fine): the list shows how old each is, and an assistant creating one with a name already in use is told about the existing one first.
What maps don't know
Maps are built by reading the files for patterns, not by running or fully compiling them. Calls between functions are matched by name, and calls made through an object (store.dispatch(…)) are not followed. The workspace entry lists what was skipped and what isn't mapped; the assistant is told the same, so it checks the source rather than guessing.
The Library and rooms
Your Library is a map too: entries grouped by kind and split into their sections, linked to the room they came from, the assistant that made them, and the names they mention — so entries on the same subject, and the code they talk about, are connected. When an entry changes, only that entry is re-mapped. A room's map is its requests, the replies that answered them, the documents they produced, and what they mention. New messages are added as the room goes on. Private asides with a spirit never enter a map.
Inspecting a workspace
Open a workspace in the Library: Files shows its folders as a tree. Tap a file to see its structure — functions, classes and methods with their line ranges, from the project map — and its numbered content.
Assistants work on code the same way: code_context gives them one function's
source, what it uses (followed across files) and who calls it, so an edit is
made from the code it touches rather than whole files. After an edit they are
told which callers may need a change.
How assistants work on a project
An assistant changing a project follows one loop: it inspects (the map, the code around what it will change, the shape of the data), plans steps that each name the files and notes they need and how they will be checked, changes a little, checks, and tells you what is verified and what is not tested. Every change it makes is recorded (and can be undone), and the map follows every change at once.
It keeps its own short project cards — the architecture, the
conventions, where data lives, how to test — as files in the project
(.vexyline/cards/), so a later conversation starts from them instead of
re-reading everything. You can open and edit them like any file.
Data that grows (words, levels, questions) is kept in its own file as a list of items of the same shape; the assistant sees that shape and adds new items where they belong instead of rewriting the file.