|
| 1 | +You're seeing this because `memories/01_environment_notes.md` and/or |
| 2 | +`memories/01_system_tool_inventory.md` don't exist yet — this is either a fresh |
| 3 | +install, or a fresh machine, and nobody has scanned it yet. `/memories` is the only |
| 4 | +state that survives a session reset or restart — everything else (the Python kernel, |
| 5 | +the browser page, the DuckDB connection) resets every time — so before anything else, |
| 6 | +build that persistent memory now. |
| 7 | + |
| 8 | +**Do this now, automatically — don't pause to ask first.** This is a standard, |
| 9 | +safe, read-only inspection of the machine (checking OS version, hardware, installed |
| 10 | +packages), not something that needs a confirmation step. The whole point is getting |
| 11 | +straight into a working, self-aware session without extra friction. |
| 12 | + |
| 13 | +**Figure out the real OS first — don't assume.** Check `/etc/os-release` and |
| 14 | +`uname -a` to confirm the actual distro and version, rather than guessing from |
| 15 | +context. |
| 16 | + |
| 17 | +**Scan the real hardware**: CPU, RAM, GPU, disks (and disk layout — mount points, |
| 18 | +filesystem types, which physical drive is actually root, since device-letter |
| 19 | +assignment can shift between boots on some setups). |
| 20 | + |
| 21 | +**Scan what's actually installed:** |
| 22 | + |
| 23 | +- CLI tools on PATH via `command -v`. |
| 24 | +- Packages via whichever package manager this distro actually uses — confirm |
| 25 | + which one applies, don't assume: |
| 26 | + - Debian/Ubuntu → `dpkg`/`apt` |
| 27 | + - Fedora/RHEL/Oracle Linux/CentOS/Rocky/AlmaLinux → `rpm`/`dnf` (or `yum` on |
| 28 | + older releases) |
| 29 | + - Arch → `pacman` |
| 30 | + - openSUSE → `zypper` |
| 31 | + - plus snap/flatpak if either is present, regardless of distro. |
| 32 | +- GUI apps. |
| 33 | +- Dev-assistant CLIs or reusable personal scripts you find lying around. |
| 34 | + |
| 35 | +**Write exactly two files — but only whichever one is actually missing.** If one of |
| 36 | +them already exists, leave it alone completely: don't regenerate or overwrite it just |
| 37 | +because its sibling was missing. This fills a genuine gap, it never replaces existing |
| 38 | +content. |
| 39 | + |
| 40 | +- `01_environment_notes.md` — hardware specs, the OS/distro/version you actually |
| 41 | + found, disk layout, display server, privilege model, and any quirks or unusual |
| 42 | + behavior you hit along the way. |
| 43 | +- `01_system_tool_inventory.md` — a categorized inventory of what's already |
| 44 | + installed (GUI apps, CLI tools, dev-assistant tools, reusable scripts) so you reach |
| 45 | + for something real instead of writing a one-off script from scratch every time. |
| 46 | + |
| 47 | +**Write plainly, skip narration, keep the evidence.** State each fact, how you |
| 48 | +confirmed it, and the exact re-check command if one applies — don't narrate the |
| 49 | +process ("I then checked X, which told me Y") or restate context that's already |
| 50 | +obvious. Dense and trustworthy beats padded, but don't cut so hard that a fact |
| 51 | +loses the one command that would let you trust or re-verify it later. |
| 52 | + |
| 53 | +**Keep each file's standing note short, not a repeat of this whole recipe.** The full |
| 54 | +scan procedure lives here, in this file, permanently — it doesn't need to also live |
| 55 | +inside the memory files themselves. At the top of each file you write, add one brief, |
| 56 | +plain reminder that its contents can go stale and should be re-verified live before |
| 57 | +being cited as current fact, rather than trusted blindly on a later session. Then, as |
| 58 | +you write each section below that, attach the actual re-check command next to the |
| 59 | +specific fact it validates (e.g. "device-letter assignment drifts — re-derive via |
| 60 | +`findmnt /` rather than trusting a hardcoded path here") — that's more useful later |
| 61 | +than one generic reminder at the top, because it tells your future self exactly what |
| 62 | +to run, for exactly which claim, instead of "go re-scan everything" again. |
| 63 | + |
| 64 | +**This file itself doesn't expire after one use.** It normally only runs once, |
| 65 | +automatically, the first time these two files are missing. But if a full fresh audit |
| 66 | +is ever wanted later — after a major OS reinstall, a hardware swap, or just because |
| 67 | +the notes feel badly out of date rather than just one or two facts — it's fine to |
| 68 | +re-run these exact instructions again on purpose, not just rely on the fact-by-fact |
| 69 | +re-check hints already accumulated in the files. |
0 commit comments