# Dotfiles Dorkfiles repo. Preserve unrelated dirty work. Check `git status --short` before edits. Prefer repo paths (`pi/agent/...`) over `$HOME` paths. Use `mise` tasks; host bootstrap assumes Git + mise, then mise supplies Java. Root `mise.toml` tools are dorkfiles bootstrap deps only; other apps come from system/package manager. Root mise task shell is `scripts/mise_shell.java`, not Nushell/Bash. `mise run ci` also needs host Podman; its Fedora container installs Git/mise, then mise supplies Java. Never print decrypted secrets. Do not delete noisy research/cache/untracked files unless explicitly asked. ## Secrets `.secrets` is plaintext. It lists repo-relative paths to encrypt. Encryption comes from local Git filter `dotfiles-aes` via `.git/info/attributes`. `bootstripper` generates that file from `.secrets`. For non-interactive crypto bootstrap, env is `DOTFILES_AES_PASSPHRASE`; do not ask for or expose it unless user explicitly initiates setup. For a new secret: ```sh $EDITOR .secrets java bootstripper.java check git check-attr -a -- path/to/secret ``` Required attrs: ```text filter: dotfiles-aes text: unset diff: unset ``` Do not `git add -A` new secret-looking files before this. For private keys, verify staged content is not plaintext: ```sh git cat-file -p :path/to/key | LC_ALL=C grep -q 'BEGIN .*PRIVATE KEY' && exit 1 ``` Important secret paths include `ssh/*.key`, `gh/hosts.yml`, `pi/agent/auth.json`, `nushell/secrets.nu`, app private settings. ## Symlink manifests Files like `desktop.symlinks`, `fedora.symlinks`, `termux.symlinks`, `NB-00718.symlinks` are source/target pairs: ```text repo/path ~/target/path ``` Blank lines separate pairs. Keep pairs ordered and complete. Hostname chooses `.symlinks`. Managed symlinks must never point outside HOME; no `/usr`, `/etc`, or system target links. Treat outside-HOME symlinks as errors; do not relink/delete them. ## Commands Safe checks: ```sh mise run check ``` Heavy integration: ```sh mise run ci ``` HOME/system mutating; only run after explicit user request: ```sh mise run link mise run clean ``` Crypto/hooks: ```sh java bootstripper.java check java bootstripper.java pre-commit java bootstripper.java install-hooks java bootstripper.java init-crypto ``` ## Global Mise config - User config source: `mise-config/` links to `~/.config/mise`. ## Global Pi config - Settings: `pi/agent/settings.json` - Models: `pi/agent/models.json` - Extensions: `pi/agent/extensions/` - Modes: `pi/agent/modes/` - Personal skills: `pi/agent/skills//SKILL.md` or `pi/agent/skills/.md` - `pi/agent/auth.json` is secret; avoid reading/editing unless explicitly asked. ## Subprojects - Neovim: read `neovim/AGENTS.md` before changes; tests via `cd neovim && just test`. - Nugu: load `nugu` skill before palette/theme work. - Pi-specific changes: load `pi` skill/docs before editing extensions/settings/skills.