Discovering changes
You will install things by hand sometimes. 42space notices, and offers to make them reproducible.
42space scan # also runs in the background, at most every 6 hours
42space review # accept, ignore or skip each finding
42space review --yes # accept every finding that has an automatic fix
What the scans find
- global npm packages, uv tools and VS Code extensions that aren't tracked
- tools unpacked by hand into goinfre (node, go and nvim are recognised by version) and Pythons installed with uv
- git repos in goinfre and new secret files in synced repos
- symlinks and PATH entries hard-coded to goinfre
- new
exportlines in your rc files
Nothing is ever replayed from history. Accepting a finding turns it into a
recipe (42space add …) or a managed variable (42space env set …). Findings
without a safe automatic fix come with a hint instead.
In review, press a to accept, d for done by hand, i to ignore forever,
s or Enter to skip, q to quit. It ends with a summary of your decisions.
Command journal
A small shell hook records install-like commands (curl and wget
downloads, tar x, npm i -g, make install, export …) with their exit
code and directory.
- Private. Stored in
~/.local/state/42spacewith mode 600. Tokens, passwords,Authorization:headers and credentials in URLs are redacted when recorded. - Skippable. Commands typed with a leading space are not recorded.
- Free. No processes are started in zsh.
Scans use it as evidence: when you unpack a tarball into goinfre, the recorded
download becomes a ready-to-accept 42space add name@version --url ….
42space journal # last 30 entries (-n to change)
42space journal clear
Turn it off with shell_hook = false under [observe] in
config.toml.