# Dotfiles Dorkfiles repo. Preserve unrelated dirty work. Check `git status --short` before edits. Prefer repo paths (`pi/agent/...`) over `$HOME` paths. Use `mise` tasks; task shell is Nushell via `mise.toml`. 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`. ## Commands Safe checks: ```sh mise run check mise run pre-commit ``` Heavy integration: ```sh mise run test mise run test fedora ``` HOME/system mutating; only run after explicit user request: ```sh mise run link mise run unlink mise run setup java bootstripper.java clean ``` Crypto/hooks: ```sh java bootstripper.java check java bootstripper.java pre-commit java bootstripper.java install-hooks java bootstripper.java init-crypto ``` ## 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.