Skip to content

Leave no trace

Stage: code. Done by: coder and setup person.

For a strict data policy

This page is for projects whose data policy asks that nothing stays on the chat platform. If yours does not, you do not need it: the chat path's own "Clean up" is enough.

Some projects work under a strict data policy: an AI platform non-retention policy (nothing you put into the platform stays there), or an approved chatbot only policy. A chat run then sets up what it needs in the chat platform, does the coding, and removes all of it from the platform. Your local copies stay on your Mac. It does not claim to remove anything from systems the platform's model provider runs; what your policy requires there is for your policy to say. See Data, rights and consent.

A technical helper sets the path up once on your Mac (Terminal, Colima, Tailscale, building SCATLAB); the organiser works from there. The coder's day-to-day work is the walkthrough below.

What this path needs

Everything The chat path needs, and the helper's Install once. A strict data policy adds four things:

  • A temporary chat to code in, so the chat run does not stay in your history.
  • Your field notes attached to the temporary chat, not kept in a collection, and deleted from the chat's file library at the end.
  • Nothing left on the platform at the end: the server entry, the saved agent, the skill and any saved prompts are removed.
  • Local copies kept: your field notes folder and your vault, outside Documents, Desktop, Downloads and iCloud, stay on your Mac.

Worked example: inference.coop

The steps use inference.coop's chat. Another chat has its own names for these controls; the order is the same: set up, code, remove. Each step opens with where you do it: In SCATLAB (the small Mac app that runs the server), In the menu bar (its dot and menu), In the chat, In Finder, In Obsidian, In GitHub Desktop or In a web browser.

The walkthrough

Set up for the chat run

Stage: plan. Done by: setup person.

  1. In Finder: check that your field notes are in a folder on your Mac. This is your local copy.
  2. In Finder: open SCATLAB from Applications. At the first start on this Mac, read the note that SCATLAB lives in the menu bar and click OK.
  3. In SCATLAB: at the first start, choose the folder that holds scat.toml in the folder picker. At a later start, answer Serve <vault>? with Use it, or with Choose another and that folder.
  4. In the menu bar: wait until SCATLAB's dot is green.
  5. In the chat: in the bar of icons on the left, click MCP Settings, choose to add an MCP server, and type SCAT as its name.
  6. In the menu bar: open SCATLAB's menu and click Copy address.
  7. In the chat: paste the address (it ends in /mcp) into the address field, choose the Streamable HTTPS transport and API key as the authentication.
  8. In the chat: choose the header format the form offers for the key (X-API-Key or Authorization: Bearer).
  9. In the menu bar: open SCATLAB's menu and click Copy key.
  10. In the chat: paste the key into the API key field.
  11. In the chat: tick the consent I trust this application, save, and click Connect on the new entry.
  12. In the chat: check that the entry "SCAT" shows connected.
  13. In any app: copy a word from anywhere, so your clipboard no longer holds the key.
  14. In a web browser: open the skill file, https://raw.githubusercontent.com/DynamicalSystemsGroup/scat-tools/dev/skills/scat-coding/SKILL.md, select all (Cmd-A) and copy (Cmd-C). Keep the tab open.
  15. In the chat: look for Skills, choose to create a new skill and name it scat-coding.
  16. In the chat: fill in the Description, which the form requires, with the text after description: in the skill file's first lines (it begins "Rules and habits for the assistant").
  17. In the chat: paste the text you copied into the skill's text field (or upload the file), and save the skill.
  18. In the chat: open the Agent Builder, name the agent (for example "SCAT coder") and choose a model.
  19. In the chat: add the server "SCAT" as a tool of the agent, and the chat's Ask User tool if it offers one. (If you delete the server entry and add it again, the agent's tool does not survive: add the tool again.)
  20. In the chat: choose the scat-coding skill as the agent's only skill, and save the agent.

Open the temporary chat

Stage: code. Done by: coder.

  1. In the chat: turn on the Temporary Chat setting (look for the control) and check that its note says the chat will not appear in your history and will be deleted automatically.
  2. In the chat: open the Agent Builder and use its Select control to pick the agent; a new chat starts with it. (If the saved agent cannot be chosen inside a temporary chat, start the chat with the model and the server entry instead.) The model menu may still say Select a model: leave it, since choosing a model there replaces the agent.
  3. In the chat: attach your field notes to this chat: the paperclip in the message box, then the file from your field notes folder.

Do the coding

  1. In the chat: name the narrative and ask the assistant to help you code it from the notes attached to this chat.
  2. In the chat: answer the assistant's questions, one step per reply, as in the coding loop.
  3. In the chat: confirm or change the nodes and links the assistant proposes.
  4. In Obsidian: paste the account the assistant drafted into the narrative's page, and read it against your notes.
  5. In Obsidian: set status yourself (done or draft).
  6. In the chat: ask the assistant to check the whole vault and to name the pages you worked on with their status.
  7. In GitHub Desktop: commit your work. This is your local copy of the result; it stays.

Tear everything down

  1. In the menu bar: open SCATLAB's menu and click Stop.
  2. In SCATLAB: read the alert titled "SCATLAB stopped" and click OK: SCATLAB quits. If the alert is titled "SCATLAB has a problem" instead, the stop was not confirmed: see "Stop" on the chat path, and do not go on until it is.
  3. In a web browser: open the address that ended in /mcp. It should not load.
  4. In the chat: end the temporary chat (close it or leave it). It is deleted automatically.
  5. In the chat: open your history list and check the temporary chat is not there. If it is, delete it from its menu.
  6. In the chat: in MCP Settings, next to the server "SCAT", click Edit, then the red delete button, and confirm.
  7. In the chat: delete the saved agent. (The Agent Builder holds it.)
  8. In the chat: delete the skill scat-coding. (Look where you created it.)
  9. In the chat: in the file library, delete the notes you attached: they stay after the temporary chat is deleted.
  10. In the chat: check that the file library holds no other file from this chat run, and delete any that is there. Delete any prompt you saved for this chat run.
  11. In the chat: look once more at each place you set something up (MCP Settings, the Agent Builder, the skills, the files, the history) and check that nothing from this chat run remains.

Check what stays on your Mac

  1. In Finder: check that your field notes folder and your vault are still there, with your work in them.

What is removed and what stays

Removed from the chat platform Stays on your Mac
The temporary chat, the server entry, the saved agent, the skill, the attached field notes, any prompts you saved Your field notes folder
Your vault, with every page and commit
Colima, which keeps running, and the server's image
The key in your keychain (Stop keeps it; to remove it, open Keychain Access and delete the item named scatlab)

If a step finds something that did not go, delete it by hand and do not start the next chat run until it is gone. If your policy asks you to show the result, the list of steps above is your record: note the date and tick each one.