Skip to content

Propagate the user's real shell environment into agent sessions #320

Closed

Description

@currentbits

Three separate T3 Code top issues: direnv/flake.nix environments not propagated to agent sessions, Electron app cannot see variables from ~/.zshrc, GPG-signed commits fail inside the harness.

Agents spawned by Solenta should inherit the user's login-shell environment (direnv, nix, ssh-agent, GPG agent, PATH customizations) as if the user had opened a terminal in the worktree.

Activity

  1. added
    bug
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive addition (Conductor's resilience checklist): HTTPS fallback when SSH is blocked, Xcode-license staleness detection, Full-Disk-Access nudge, login-shell/version-manager respect, GH_HOST support. Unglamorous, and exactly what makes an orchestrator feel solid on real machines.

  3. added
    plan:doing
    and removed
    plan:todo
    on Oct 19, 2026
  4. currentbits commented on Oct 19, 2026

    @currentbits
    OwnerAuthor

    PR #1693: agents now inherit the full login-shell env (rc exports, SSH/GPG agent sockets, LANG, version managers) and the worktree's direnv env. A worktree inherits the main checkout's direnv allow when its .envrc is byte-identical. Still open: GPG pinentry needs a GUI pinentry, Seatbelt threads can't write ~/.gnupg, and a gitignored .envrc never reaches the worktree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions