Compare commits

..
3 Commits
Author SHA1 Message Date
tgrosinger fccb75298e Atuin: Install hooks for Claude Code and Pi 2026-08-19 14:37:28 -07:00
tgrosinger 3208abe464 Claude: Allow tn and Atrium access 2026-08-19 14:37:05 -07:00
tgrosinger 08c7ca752a Claude: Reordering config file 2026-08-19 14:36:49 -07:00
34 changed files with 24 additions and 39 deletions
+8
View File
@@ -0,0 +1,8 @@
#/bin/bash
podman run --rm -i \
-v ${HOME}/Music:/downloads:z \
--userns keep-id:uid=1000,gid=1000 \
--entrypoint scdl \
yt-dlp:latest $@
@@ -3,5 +3,5 @@
podman run --rm \ podman run --rm \
-v ${HOME}/Videos/youtube:/downloads:z \ -v ${HOME}/Videos/youtube:/downloads:z \
--userns keep-id:uid=1000,gid=1000 \ --userns keep-id:uid=1000,gid=1000 \
yt-dlp:latest -S 'res:1080' --extractor-args "youtube:player-client=web_embedded" $@ yt-dlp:latest -S 'res:1080' $@
+2 -8
View File
@@ -64,11 +64,7 @@ fi
alias tmux="tmux -2" alias tmux="tmux -2"
alias grep="grep --color=auto" alias grep="grep --color=auto"
if command -v brew >/dev/null 2>&1; then
eval "$(brew shellenv)"
elif [[ -x /home/linuxbrew/.linuxbrew/bin/brew ]]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
# Fix gpg signing # Fix gpg signing
# https://github.com/keybase/keybase-issues/issues/2798 # https://github.com/keybase/keybase-issues/issues/2798
@@ -82,8 +78,8 @@ export TERM="xterm-256color"
export EDITOR=$(which nvim) export EDITOR=$(which nvim)
# Adding applications to path # Adding applications to path
if [[ -d ${HOME}/.local/bin ]] && [[ ":${PATH}:" != *":${HOME}/.local/bin:"* ]]; then if [[ -d ${HOME}/.dotfiles/bin/linux ]]; then
export PATH=${HOME}/.local/bin:${PATH} export PATH=$PATH:${HOME}/.dotfiles/bin/linux
fi fi
if [[ -d ${HOME}/bin ]]; then if [[ -d ${HOME}/bin ]]; then
export PATH=$PATH:${HOME}/bin export PATH=$PATH:${HOME}/bin
@@ -92,9 +88,7 @@ fi
# Enable atuin # Enable atuin
# https://docs.atuin.sh # https://docs.atuin.sh
if command -v atuin >/dev/null 2>&1; then
eval "$(atuin init bash)" eval "$(atuin init bash)"
fi
# fzf # fzf
#eval "$(fzf --bash)" #eval "$(fzf --bash)"
+1 -1
View File
@@ -35,6 +35,7 @@
}, },
"model": "opus[1m]", "model": "opus[1m]",
"disableClaudeAiConnectors": true, "disableClaudeAiConnectors": true,
"remoteControlAtStartup": false,
"hooks": { "hooks": {
"PostToolUse": [ "PostToolUse": [
{ {
@@ -157,7 +158,6 @@
"autoDreamEnabled": true, "autoDreamEnabled": true,
"theme": "light", "theme": "light",
"editorMode": "vim", "editorMode": "vim",
"remoteControlAtStartup": false,
"agentPushNotifEnabled": true, "agentPushNotifEnabled": true,
"skipAutoPermissionPrompt": true "skipAutoPermissionPrompt": true
} }
@@ -141,12 +141,6 @@ EOF
An effort task is the same call with `--projects '[[atribot]]'`, no actor tag, and `--prop git_branch=…` when the work is not on main. An effort task is the same call with `--projects '[[atribot]]'`, no actor tag, and `--prop git_branch=…` when the work is not on main.
Efforts and tickets are worked from the frontier, not a calendar, so none carries a scheduled date. The plugin stamps `date_scheduled: <today>` on every task it creates, and `tn` cannot suppress or clear it — empty `--scheduled` values are dropped by both `create` and `update`. Strip it right after each create:
```sh
obsidian property:remove name=date_scheduled path='TaskNotes/Dev/atribot/Network isolation/Split obsync into its own container.md'
```
Create in dependency order so a blocker's title exists before the ticket naming it. Flag reference: `tasknotes-cli`. Create in dependency order so a blocker's title exists before the ticket naming it. Flag reference: `tasknotes-cli`.
A second `--blocked-by` does not add a second blocker — the flag is read once, so every blocker goes in one comma-separated value as above. Commas inside `[[...]]` are literal, so titles containing commas are safe. A second `--blocked-by` does not add a second blocker — the flag is read once, so every blocker goes in one comma-separated value as above. Commas inside `[[...]]` are literal, so titles containing commas are safe.
@@ -280,8 +274,6 @@ tn list --filter 'projects:contains:"[[Network isolation]]" AND dependencies.isB
- **`tn update`** for everything TaskNotes models — status, priority, dates, estimate, tags, contexts, projects, `blockedBy` — and all queries. It goes through the update service, which maintains `date_modified` and recurring-instance bookkeeping. - **`tn update`** for everything TaskNotes models — status, priority, dates, estimate, tags, contexts, projects, `blockedBy` — and all queries. It goes through the update service, which maintains `date_modified` and recurring-instance bookkeeping.
- **`obsidian`** for what `tn update` has no flag for: custom properties after creation (`agent_session`, `git_branch`, `git_worktree`) and body text. `obsidian property:set` writes YAML directly and skips the update service. - **`obsidian`** for what `tn update` has no flag for: custom properties after creation (`agent_session`, `git_branch`, `git_worktree`) and body text. `obsidian property:set` writes YAML directly and skips the update service.
In a sandboxed session, invoke `obsidian` only as a simple or `&&`-chained command. The command is the Obsidian AppImage, and the sandbox denies its FUSE mount when the call sits inside a shell loop — every iteration fails with `fuse: device not found`. Write a batch over many notes as chained single calls, not a loop.
Mid-flight dependency edits are rare, since blockers are written at creation. When one is needed: Mid-flight dependency edits are rare, since blockers are written at creation. When one is needed:
```sh ```sh

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 420 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+5 -4
View File
@@ -1,6 +1,6 @@
# Mise shims so non-interactive shells (scripts, editor spawns) find tools. # Mise shims so non-interactive shells (scripts, editor spawns) find tools.
# Interactive sessions get exact versions from `mise activate` below. # Interactive sessions get exact versions from `mise activate` below.
fish_add_path --global ~/.local/bin ~/.local/share/mise/shims ~/go/bin fish_add_path ~/.local/share/mise/shims
if status is-interactive if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
@@ -9,9 +9,7 @@ if status is-interactive
# https://fishshell.com/docs/current/cmds/fish_greeting.html # https://fishshell.com/docs/current/cmds/fish_greeting.html
set -g fish_greeting set -g fish_greeting
if command -q brew if test -f /home/linuxbrew/.linuxbrew/bin/brew
brew shellenv | source
else if test -x /home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/bin/brew shellenv | source /home/linuxbrew/.linuxbrew/bin/brew shellenv | source
end end
if command -q atuin if command -q atuin
@@ -37,6 +35,9 @@ if status is-interactive
# https://fishshell.com/docs/current/cmds/abbr.html # https://fishshell.com/docs/current/cmds/abbr.html
abbr --add --position command pc process-compose abbr --add --position command pc process-compose
# Set Path
fish_add_path -p /home/tgrosinger/.dotfiles/bin/linux
# Per-directory toolchains and global tools. # Per-directory toolchains and global tools.
# https://mise.jdx.dev/getting-started.html # https://mise.jdx.dev/getting-started.html
if type -q mise if type -q mise
+1
View File
@@ -1,3 +1,4 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR __fish_initialized:4300 SETUVAR __fish_initialized:4300
SETUVAR fish_user_paths:/home/tgrosinger/\x2elocal/bin\x1e/home/tgrosinger/\x2elocal/share/mise/shims\x1e/home/tgrosinger/go/bin\x1e/home/tgrosinger/\x2edotfiles/bin/linux
+4 -4
View File
@@ -36,10 +36,10 @@
sync = "!git fetch -p && git rebase origin/$(git default-branch)" sync = "!git fetch -p && git rebase origin/$(git default-branch)"
[core] [core]
editor = nvim editor = /home/linuxbrew/.linuxbrew/bin/nvim
pager = delta pager = delta
attributesfile = ~/.gitattributes attributesfile = /home/tgrosinger/.gitattributes
excludesfile = ~/.gitignore_global excludesfile = /home/tgrosinger/.gitignore_global
[help] [help]
autocorrect = prompt autocorrect = prompt
@@ -58,7 +58,7 @@
renames = true renames = true
[include] [include]
path = ~/.config/delta/themes/catppuccin.gitconfig path = /home/tgrosinger/.config/delta/themes/catppuccin.gitconfig
[delta] [delta]
# Does not behave well for comments # Does not behave well for comments
-11
View File
@@ -1,11 +0,0 @@
.github/instructions
.plans
.scratch
.magpie
**/.claude/settings.local.json
**/.claude/.cc-writes/
CLAUDE.local.md
.worktree-setup.sh