adam-paterson / adam-paterson/dotfiles

Add non-secret shell floor for terminals agents and non-interactive zsh

Aberta
#4 0 comentários 0 reações 0 responsáveis Ver no GitHub
ready-for-agent
Linguagem predominante
Shell
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## Parent

Parent: #1

## What to build

Add the non-secret shell floor that makes terminals, agents, and non-interactive zsh commands see the same portable environment without loading secrets or interactive shell behavior.

This slice should add a shared POSIX-compatible environment core and a tiny universal zsh startup path. The result should make aqua binaries and mise shims discoverable for `zsh -c` commands while staying silent, idempotent, and non-secret.

## Acceptance criteria

- [ ] A managed shared environment core sets XDG defaults, the aqua global config location, and the portable PATH floor.
- [ ] PATH mutation is idempotent and avoids duplicate entries across repeated shell startup.
- [ ] Aqua's bin path is available before mise shims/activation assumptions.
- [ ] Universal zsh startup sources only the shared environment core when readable.
- [ ] Universal zsh startup does not run Homebrew, full mise activation, 1Password, prompt setup, completions, aliases, or any interactive/prompting command.
- [ ] The current ambient 1Password secret-loading pattern is removed from universal shell startup.
- [ ] macOS Homebrew PATH behavior is gated to the appropriate host/OS/profile behavior.
- [ ] A fresh non-interactive zsh invocation can discover the expected portable tool paths without output, prompts, or secret loading.
- [ ] No managed shell file contains plaintext secrets, service-account tokens, private keys, or resolved 1Password values.

## Blocked by

- #3

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Read the managed shell startup files to trace how non-interactive zsh and terminal sessions are initialized, including PATH setup, XDG defaults, aqua/mise activation points, Homebrew handling, and current 1Password loading. Find where a shared environment core can be introduced and where the universal zsh path should source it while keeping startup silent and idempotent. Validate by running a clean non-interactive `zsh -c` check to confirm tool discovery without output, then verify managed shell files contain no resolved secrets or service tokens.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell, zsh
Domínio
cli, tooling
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
47/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.