> This is the current topology source of truth for local Memind and 103 production. Prefer this document over older migration notes. Older architecture documents may contain historical paths from before the MindSpace split.
## Local Mac
Local Memind connects to native `goosed`, not Colima/Docker `goosed`.
| Session store | PostgreSQL `goose_sessions_dev` |
Local ports `18007`-`18009` are not the intended local goosed pool. If they are listening locally, treat that as drift unless a specific local test explicitly opened them.
`/Users/john/MindSpace` is the production MindSpace service root. Do not treat `/Users/john/Project/Memind/MindSpace` as the canonical MindSpace service root after the split.
## goosed
103 goosed runs in Colima/Docker, not as native launchd processes.
| Session PostgreSQL | **Host**`postgresql@17` on `127.0.0.1:5432` (`/opt/homebrew/var/postgresql@17`) |
**Critical:** Colima goosed reaches the session DB via `host.docker.internal:5432`. If host PostgreSQL is stopped, H5 `/agent/start` hangs ~60s then fails with `pool timed out`, and the UI stays on「正在创建新对话…」. Recovery:
Do not assume a local SQLite session store when debugging current Memind/goosed behavior.
## Important path rule
The canonical production MindSpace service root is:
```text
/Users/john/MindSpace
```
The old monolith path:
```text
/Users/john/Project/Memind/MindSpace
```
is legacy compatibility/storage context only. If Portal or goosed config still points business MindSpace service behavior at the old path, treat that as configuration drift to fix, not as the desired topology.
In particular, check these before debugging missing folders/pages: