Skip to content

Set up prime-agent in dotfiles for the home role - #88

Merged
technicalpickles merged 1 commit into
mainfrom
prime-setup
Oct 23, 2026
Merged

technicalpickles merged 1 commit into
mainfrom
prime-setup

Conversation

@technicalpickles

Copy link
Copy Markdown
Owner

Summary

safe prime-agent didn't work on a fresh home machine. Two things were in the way: the sandbox can't create ~/.prime (session lease died with EPERM), and the fnox default for OPENROUTER_API_KEY has nothing to read on home.

  • prime.sh (run from install.sh) creates ~/.prime/agent and links the vault-held writing-voice skill into it. The prime-agent tool hook makes the dir too, so safe works before install.sh has run.
  • role-home.sb gets the same vault skill read grant role-work.sb already has. Seatbelt checks the resolved path, so the symlink alone isn't enough.
  • Home logs in with /login instead of fnox. The fnox key default now only applies to other roles (I assumed work uses it, shout if not).
  • Skills from skills.sh needed nothing: prime-agent already reads ~/.agents/skills.
  • ADR 0065 covers the why.

Test plan

  • ./prime.sh creates the dir and link (ran it).
  • safe prime-agent config loads bb-cli. writing-voice only shows up under safe once this is merged, since ~/.config/agent-safehouse points at the main checkout.
  • Not run yet: /login, then a one-shot safe prime-agent -p ....

🤖 Generated with Claude Code

safe prime-agent failed on a fresh home machine: the sandbox can't create
~/.prime (EPERM on the session lease), and the fnox default for
OPENROUTER_API_KEY has no config to read on home.

- prime.sh (run from install.sh) creates ~/.prime/agent and links vault skills
- the prime-agent hook also creates the dir, so safe works before install.sh
- role-home.sb grants the vault skill read, like role-work.sb
- the fnox key default applies to non-home roles only; home uses /login
- ADR 0065 records it

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@technicalpickles
technicalpickles merged commit 9dc0a9e into main Oct 23, 2026
1 check passed
@technicalpickles
technicalpickles deleted the prime-setup branch October 23, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant