Skip to content

TOLE_TRUST env documented but never read — env-only setups silently keep prompting #165

Closed

Description

@ajianaz

What

Activation testing of the recommended env setup (2026-10-05) found that
TOLE_TRUST is not implemented: the --trust help text says "flag
wins over the TOLE_TRUST env" and the #160 commit notes claimed
"TOLE_TRUST env honored", but no code path reads the variable —
dispatch expands only cli.trust. With TOLE_TRUST=internal
exported and no flag, every fleet-tool call still prompts.

Same documented-but-unimplemented class as the #138 ambiguity refusal
(fixed earlier today in #164).

Why

The env is the recommended friction-free setup (shell-profile export);
silently doing nothing is exactly the failure mode the loud-failure
philosophy exists to prevent.

Acceptance

  • With no --trust flag, TOLE_TRUST (comma/whitespace separated)
    drives the presets; an explicit --trust flag still wins wholesale.
  • Unknown presets in the env fail loudly (same as the flag).
  • Unit tests cover env-only, multi-preset split, flag-wins, end-to-end
    expansion, and typo-error paths.

Activity

  1. ajianaz commented on Oct 5, 2026

    @ajianaz
    ContributorAuthor

    Fixed by PR #166 (TOLE_TRUST now read when no --trust flag is passed; flag still wins).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions