feat(config): support nested project config fallback

Resolve .reasonix/reasonix.toml only when the root project config is absent. Share selection across loading, local edits, installs and repair; retain project-scope restrictions and reject symlink escapes.

Fixes #6007
This commit is contained in:
Lancy committed 2026-10-19 11:36:17 +08:00
1 parent da9fbe7307
commit cfb483ae11
19 files changed
+410 -51

No files matched your search

+5
View File
@@ -66,6 +66,11 @@ reasonix setup --local # manage ./reasonix.toml
reasonix setup /path/to/config.toml
```
Local commands use `./reasonix.toml` when present, otherwise an existing
`.reasonix/reasonix.toml`. New project files are created at the root. This applies
to `setup --local`, `config compact-ratio --local`, and
`config reasoning-language --local`.
In an interactive terminal, `reasonix setup` is a staged provider manager. It
lists configured providers and lets you: