strix/tests
Octopus 9fb101282f
fix: --config flag now fully overrides ~/.strix/cli-config.json (#457)
* fix: --config flag now fully overrides ~/.strix/cli-config.json (fixes #377)

Previously, env vars applied from the default config at module import time
were not cleared when --config was later processed, causing settings from
~/.strix/cli-config.json to leak into runs that specified a custom config.

Track which vars were applied by the initial default-config load in
Config._applied_from_default. In apply_config_override, clear those vars
before applying the custom config so only the custom file's settings take effect.

* Add config override regression test

* Make config override test setup explicit

---------

Co-authored-by: octo-patch <octo-patch@github.com>
Co-authored-by: bearsyankees <bearsyankees@gmail.com>
2026-04-22 16:37:22 -04:00
..
agents refactor(tests): reorganize unit tests module structure 2025-12-04 00:02:14 +04:00
config fix: --config flag now fully overrides ~/.strix/cli-config.json (#457) 2026-04-22 16:37:22 -04:00
interface feat: Better source-aware testing (#391) 2026-03-31 11:53:49 -07:00
llm feat: Better source-aware testing (#391) 2026-03-31 11:53:49 -07:00
runtime refactor(tests): reorganize unit tests module structure 2025-12-04 00:02:14 +04:00
skills feat: add skills for specific tools (#366) 2026-03-19 16:47:29 -07:00
telemetry fix: ensure LLM stats tracking is accurate by including completed subagents (#441) 2026-04-13 00:09:13 -04:00
tools fix: ensure LLM stats tracking is accurate by including completed subagents (#441) 2026-04-13 00:09:13 -04:00
__init__.py test: add initial unit tests for argument_parser module 2025-12-04 00:02:14 +04:00
conftest.py refactor(tests): reorganize unit tests module structure 2025-12-04 00:02:14 +04:00