# NousResearch/hermes-agent · Fix double-bind TypeError in sandbox env_type argument

## Open now

- Nothing open on GitHub.

A bug where sandbox environment builder functions received 'env_type' as both a positional and keyword argument, causing a TypeError crash, particularly in the Singularity terminal backend. Multiple fixes address binding env_type by keyword in sandbox partials.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #105414: \[Bug\]: Singularity terminal backend crashes with \`_build_sandbox_env() got multiple values for argument 'env_type'\`

## Prior & competing PRs

- **#105419: fix(terminal): bind sandbox env_type by keyword**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`
- **#105527: fix(terminal): bind sandbox env partials by env_type keyword (TypeError double-bind)**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#105419`, `#105414`
- **#106674: fix(tools): sandbox builders no longer double-bind env_type**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#105419`
- **#109100: fix(tools): bind env_type by keyword in sandbox partials to prevent TypeError (fixes #105414)**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#113250`

## Fix status

- No merged fix on record.
