Skip to content

Commit c76d2a0

Browse files
committed
docs(config): document agent home bootstrap override
1 parent 54bbecc commit c76d2a0

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

docs/configuration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@ through the typed command envelope.
2828

2929
## Environment variables (gateway binary)
3030

31+
`RUSTSCRIPT_AGENT_HOME` is a Task 1 bootstrap input read by the library
32+
config/auth path resolver. It is not consumed by the current gateway binary
33+
and does not add a gateway CLI startup setting. When set, it must be a
34+
non-empty absolute path without parent-directory components and takes
35+
precedence over `$HOME` (or `$USERPROFILE`). When unset, the resolver uses
36+
`$HOME/.rustscript-agent` (or `$USERPROFILE/.rustscript-agent`). The selected
37+
home derives these paths:
38+
39+
- `<home>/config.yaml`
40+
- `<home>/auth.yaml`
41+
- `<home>/auth.yaml.lock`
42+
- `<home>/state.db`
43+
44+
The Task 1 path resolver does not derive a `skills/` path. Job `skills` values
45+
are stored as job data and do not select files below this home. The gateway's
46+
existing `RUSTSCRIPT_AGENT_STATE_DB` remains its separate state-database
47+
selector.
48+
3149
Every `RUSTSCRIPT_AGENT_*` variable has a deprecated prototype alias
3250
`PD_EDGE_AGENT_*`. When the primary variable is unset, the legacy name is
3351
read and a deprecation warning is printed to stderr; the primary name always

0 commit comments

Comments
 (0)