# The drive home

> A process map exported from forks.world (https://forks.world). Author: Brian. Source: https://forks.world/p/cmv0iej0s0068jw06q3gkavlm
> It describes who does what, in what order, and with which technology. Read the plain-language sections first; the JSON at the end is the exact, complete data.

## Summary

- 9 steps across 1 layer
- Persona: You, Home
- Technology / systems: Maps app, Your car

## How to read this file

- A process is made of **layers**. The main layer is the top level; any step of kind `subprocess` opens a detail layer with its own lanes and steps.
- **Lanes** are either persona (people/roles) or technology (systems). Each step belongs to one lane; `using` lists tools a person uses for that step.
- Step kinds: `start`, `task`, `decision` (its arrows carry the answer as a label), `subprocess`, `end`.

## The drive home

Lanes:
- You: person / role (id `me`)
- Maps app: technology / system (id `nav`)
- Your car: technology / system (id `car`)
- Home: person / role (id `fam`)

Steps, in the order they run:

1. **Leave work and decompress for a minute** [start; You; id `h1`]
   - then Check traffic
2. **Check traffic** [task; Maps app; id `h2`]
   - then Any errands on the way?
3. **Any errands on the way?** [decision; You; id `h3`]
   - if "Yes" go to Groceries, pharmacy, pickup: keep it to one stop; if "No" go to Drive home
4. **Groceries, pharmacy, pickup: keep it to one stop** [task; You; id `h4`]
   - then Drive home
5. **Drive home** [task; You; id `h5`]
   - then Is your mind still at work?
6. **Is your mind still at work?** [decision; You; id `h6`]
   - if "Yes" go to Put on a podcast or music and let it go; if "No" go to Pull into the driveway
7. **Put on a podcast or music and let it go** [task; You; id `h7`]
   - then Pull into the driveway
8. **Pull into the driveway** [task; Your car; id `h8`]
   - then Home
9. **Home** [end; Home; id `h9`]

```mermaid
flowchart LR
  subgraph l_me["You"]
    n_h1(["Leave work and decompress for a minute"])
    n_h3{"Any errands on the way?"}
    n_h4["Groceries, pharmacy, pickup: keep it to one stop"]
    n_h5["Drive home"]
    n_h6{"Is your mind still at work?"}
    n_h7["Put on a podcast or music and let it go"]
  end
  subgraph l_nav["Maps app"]
    n_h2["Check traffic"]
  end
  subgraph l_car["Your car"]
    n_h8["Pull into the driveway"]
  end
  subgraph l_fam["Home"]
    n_h9(["Home"])
  end
  n_h1 --> n_h2
  n_h2 --> n_h3
  n_h3 -->|"Yes"| n_h4
  n_h3 -->|"No"| n_h5
  n_h4 --> n_h5
  n_h5 --> n_h6
  n_h6 -->|"Yes"| n_h7
  n_h6 -->|"No"| n_h8
  n_h7 --> n_h8
  n_h8 --> n_h9
```

## Full data (JSON)

```json
{
  "title": "The drive home",
  "maps": {
    "m_root": {
      "id": "m_root",
      "lanes": [
        {
          "id": "me",
          "name": "You",
          "type": "person"
        },
        {
          "id": "nav",
          "name": "Maps app",
          "type": "system"
        },
        {
          "id": "car",
          "name": "Your car",
          "type": "system"
        },
        {
          "id": "fam",
          "name": "Home",
          "type": "person"
        }
      ],
      "steps": [
        {
          "id": "h1",
          "kind": "start",
          "lane": "me",
          "next": [
            {
              "to": "h2"
            }
          ],
          "uses": [],
          "label": "Leave work and decompress for a minute"
        },
        {
          "id": "h2",
          "kind": "task",
          "lane": "nav",
          "next": [
            {
              "to": "h3"
            }
          ],
          "uses": [],
          "label": "Check traffic"
        },
        {
          "id": "h3",
          "kind": "decision",
          "lane": "me",
          "next": [
            {
              "to": "h4",
              "label": "Yes"
            },
            {
              "to": "h5",
              "label": "No"
            }
          ],
          "uses": [],
          "label": "Any errands on the way?"
        },
        {
          "id": "h4",
          "kind": "task",
          "lane": "me",
          "next": [
            {
              "to": "h5"
            }
          ],
          "uses": [],
          "label": "Groceries, pharmacy, pickup: keep it to one stop"
        },
        {
          "id": "h5",
          "kind": "task",
          "lane": "me",
          "next": [
            {
              "to": "h6"
            }
          ],
          "uses": [],
          "label": "Drive home"
        },
        {
          "id": "h6",
          "kind": "decision",
          "lane": "me",
          "next": [
            {
              "to": "h7",
              "label": "Yes"
            },
            {
              "to": "h8",
              "label": "No"
            }
          ],
          "uses": [],
          "label": "Is your mind still at work?"
        },
        {
          "id": "h7",
          "kind": "task",
          "lane": "me",
          "next": [
            {
              "to": "h8"
            }
          ],
          "uses": [],
          "label": "Put on a podcast or music and let it go"
        },
        {
          "id": "h8",
          "kind": "task",
          "lane": "car",
          "next": [
            {
              "to": "h9"
            }
          ],
          "uses": [],
          "label": "Pull into the driveway"
        },
        {
          "id": "h9",
          "kind": "end",
          "lane": "fam",
          "next": [],
          "uses": [],
          "label": "Home"
        }
      ],
      "title": "The drive home",
      "parent": null
    }
  }
}
```
