Skip to content

Getting started

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

Your next step

Create your private repository from the template, as the next section shows.

Before you start

  • A Mac, and a GitHub account. If you have none, make one at https://github.com.
  • Terminal. Open it from Applications, then Utilities. Type every command below in Terminal, one at a time, and press Return after each.
  • Obsidian, the app you will read the vault in. It is free to install.
  • To code in a chat window instead of Terminal, make the repository as the next section shows, then follow the chat path.

If you have not read what SCAT is, start at the home page.

Create your private repository

Your discussions are your data, so make your repository private. A private repository can be seen only by you and the people you invite. A public one can be read by anyone on the internet, and your notes are about real groups of people. Both paths below set it for you, and the website path shows it as a choice you confirm.

Pick one path.

With the GitHub command line, gh. gh is installed separately. If you use Homebrew, brew install gh installs it. Without Homebrew, use the website path below instead. You also need a one-time gh auth login. This creates the repository and downloads it, in one command. my-vault is the name you are choosing for your repository and its folder.

gh repo create my-vault --template DynamicalSystemsGroup/scat-template --private --clone
cd my-vault

On the GitHub website. No gh? Use this path.

  1. Sign in to GitHub, then open https://github.com/DynamicalSystemsGroup/scat-template. Signed out, GitHub does not show Use this template.
  2. Choose Use this template, then Create a new repository.
  3. Set the name (for example my-vault) and set the visibility to Private.
  4. Create the repository. GitHub shows its page.
  5. Find the address: choose the green Code button and copy the address under HTTPS.

Then download it, using that address. The first time you clone a private repository, GitHub may ask you to sign in:

git clone <the address of your new repository>
cd my-vault

Check that you are in the right folder:

ls

You should see scat.toml in the list, with folders such as concern and narrative.

Your folder name

The folder is named after the repository you created. These pages say my-vault. If you chose another name, use that name wherever you see my-vault.

If you see only README.md

The template's working branch is dev; main holds only a README. If ls shows nothing but README.md, you are on main. Run this, then ls again:

git checkout dev

Install what you need

You need git (you used it above; macOS offers to install it the first time you run it) and uv, a tool that installs the right Python and the SCAT tools for you. Install uv once:

curl -LsSf https://astral.sh/uv/install.sh | sh

Close Terminal and open a new Terminal window. A new window opens in your home folder, not in your vault, so go back to the folder where you cloned it (use the name you chose):

cd my-vault

If Terminal now says uv: command not found, the installer's closing message tells you how to make uv available. Read that message, follow it, and open another new window. You can also run the installer command again.

Run the one setup command. It downloads Python and the SCAT tools from the internet into this folder, so it needs a connection, and it takes a minute or two:

uv sync

Run your first check

Every uv sync and uv run command in these pages runs inside your vault folder (my-vault). If a command misbehaves, check first that Terminal is in that folder.

Run the check from inside your vault folder. It looks at every page and prints what it found, in plain words:

uv run scat check

The template ships with a worked example, so you can see what a vault looks like. A clean result for it is this:

attribution mode: disallowed
no problems

That is a pass. A clean check prints the vault's attribution mode, then no problems. Errors block you: a vault with errors is not clean. Warnings do not block you. They are to-dos, such as a draft page that still needs a sentence.

The check looks at structure only: that each page has what its type needs, that links point at pages that exist, and that names and counts follow the rules. It does not judge what your notes say. Where concerns pull against each other, or match, or leave a gap, that is for analysis later, after the check passes and a coder has signed off the content. You can record that two concerns pull apart with a relationship annotation, a plain line in the body of one concern with a link to the other; the tool gives it no meaning.

Run the check again after every change you make. When the vault passes, it is ready for the organiser to plan on.

The Python REPL (uv run python) does the same check: import scat_tools, then scat_tools.check(). Every scat command has a twin there; the reference lists them.

Settings and stages

scat.toml is required. It sits in the vault folder and holds the vault's settings: attribution, the vault's attribution mode (required, optional or disallowed), and the [caps] table, the most nodes the plan expects in each layer (stakeholder, concern, affordance and technology). The template sets the mode to disallowed and the caps to 6, 12, 12 and 12; Planning says who decides. A cap is an upper bound and a planning figure, never a target, and a layer over its cap gets a warning, not an error. The setup person writes the settings the organiser decides. A missing mode or a bad cap is an error; a missing file means you are in the wrong folder, so cd into your vault.

The project is in one stage at a time, and each scat command works only in the stages that offer it. The template starts in plan. uv run scat which-stage says the stage, and uv run scat set-stage --to STAGE --by "Your Name" moves it, to a stage the current one lists. Coding says which stage offers what.

scat index writes only the index pages that are missing, in the index folder; the template holds them all, so on the example every line says unchanged. It is the coder's, to run after coding.

Open the vault in Obsidian

Open Obsidian (version 1.9 or later, which the index pages need), choose Open folder as vault, and pick your folder (my-vault). Open a page in the narrative folder and click its links: you are walking the graph. Open a file in the index folder to see every page of one type. Create pages with scat stub. Coding says more.

Start your own content

Stage: code. Done by: coder.

The example only shows the shape. Remove it before you add any page of your own; keep it while you want it open beside the other guides. In your vault folder, the first command deletes the example page folders and keeps index. The second checks:

git rm -r affordance concern stakeholder narrative technology
uv run scat check

A clean check prints attribution mode: disallowed, then no problems. Narratives of your own stay where they are; each draft gets a SCAT-FIELD warning, which does not block you.

git rm has staged the removal. Save it as a commit; git commit saves what is staged and nothing else:

git commit -m "Remove the example"

Each folder comes back when the first stub of its type is made. The tools create every folder and page as a stub; you do not write them by hand (Coding).

The solo trial

Stage: code. Done by: coder.

Try SCAT alone, on your own notes, before you plan an event with others. The trial fits in one sitting. By the end, one narrative is coded, you have seen its fingerprint, and it is done. Nothing leaves your private repository.

The commands below show your names in capitals: NARRATIVE, STAKEHOLDER, CONCERN and AFFORDANCE. Replace each with a name of your own: lower-case letters, digits and single hyphens. The pages and outputs show a made-up account, saturday-at-the-tool-library. Name a broad stakeholder such as workshop-participants, never a person.

1. Set up. Complete the sections above, including removing the example. The project must be in the code stage, which uv run scat which-stage shows; if it is in plan, run uv run scat set-stage --to code --by "Your Name". Stay in your vault folder.

2. Make the page for your narrative. One command makes the empty page:

uv run scat stub NARRATIVE --type narrative

For the made-up account it prints created narrative/saturday-at-the-tool-library.md. Yours prints your name in its place. This command makes the narrative folder.

3. Write the account. Open that page in Obsidian and write one account from your notes, as it was told, under the front matter. Set kind to scenario, set claim_type to actual, set status to draft and add a one-sentence description. The page then reads:

---
type: narrative
kind: scenario
status: draft
title: "Saturday at the tool library"
description: "Loans go unrecorded when the sheet runs out."
claim_type: actual
---

From the point of view of Workshop participants (about 10:20)

- Saturday, desk opens at 9. Three people ask for the same drill.
- Concern: "tools must come back in good order."
- The sign-out sheet lets us see who has what. It stops us seeing tools that are late.

4. Record the edges. An edge the account tells is a row on the page. These two commands write the rows and make the stakeholder, concern and affordance pages they name, as stubs. You do not write the rows or the pages by hand:

uv run scat record-edge holds STAKEHOLDER CONCERN --told-by NARRATIVE --note "Said twice in the first hour."
uv run scat record-edge addressed-by CONCERN AFFORDANCE --told-by NARRATIVE

The made-up account's two edges are workshop-participants holds tools-come-back-in-good-order, which is addressed by sign-out-sheet.

Each prints created ..., changed ... and a note: line saying which row it added. Then, in Obsidian, link each name where the account says it, as [[workshop-participants|Workshop participants]], [[tools-come-back-in-good-order|tools must come back in good order]] and [[sign-out-sheet|The sign-out sheet]]. Coding shows the page with its links. Then check:

uv run scat check

It prints the mode line, attribution mode: disallowed, then no problems.

5. See its fingerprint. The fingerprint is the nodes the narrative links and the edges it tells:

uv run scat fingerprint NARRATIVE

For the made-up account it prints:

fingerprint saturday-at-the-tool-library (draft)
  stakeholder
    workshop-participants [stub]
  concern
    tools-come-back-in-good-order [stub]
  affordance
    sign-out-sheet [stub]
  edges
    holds: workshop-participants -> tools-come-back-in-good-order [draft; told by saturday-at-the-tool-library]
    addressed-by: tools-come-back-in-good-order -> sign-out-sheet [draft; told by saturday-at-the-tool-library]

To see it in Obsidian, draw it into your vault and open the picture there:

uv run scat draw fingerprint --out fingerprint.png NARRATIVE

It prints created fingerprint.png. In Obsidian, open fingerprint.png from the file list. The narrative page's Outgoing links panel shows the same nodes as a list. A dashed line in the picture would be a pair of nodes the account links with no row joining them; this narrative has none.

6. Set it done. done means you have read the account against your notes and it is complete, and it is your call, not the tool's. When you decide it is, run:

uv run scat set-status NARRATIVE done
uv run scat check

The first prints changed narrative/saturday-at-the-tool-library.md, a note that status was set to done, and check of narrative/saturday-at-the-tool-library.md: no problems. The second prints attribution mode: disallowed, then no problems. The stakeholder, concern and affordance pages are still stubs. That does not stop a clean check, and you fill them in as you code more narratives.

7. Save it. Commit the work in your vault folder:

git add .
git commit -m "My first narrative"

git add . stages everything in the folder that git does not ignore, so it also stages a drawing such as fingerprint.png and a plan file if you have one, not only your pages. To leave one out, name the files you want instead (git add narrative stakeholder concern affordance) or list the file in .gitignore. To keep one, do nothing: it goes into the commit with the rest. Run git status first to see which files are in.

That is the solo trial. If it worked, plan your first event in Planning, or code more notes with Coding. To hand the finished vault over, see Lock a version.

Where next

Set up? Then pick where to go next:

  • The solo trial: code one narrative of your own, start to finish, in one sitting.
  • Planning: decide your sessions, your stakeholders and your framing, before the event.
  • Coding paths: when you already have field notes, by hand or with an assistant.
  • Home: what SCAT is and why it has its name.