agentenv: REASONIX_STATE_HOME is cleared in every sandbox, as Library reads Reasonix's REASONIX.md from it
43d8a5633 made Library → Instructions read Reasonix's state folder from
$REASONIX_STATE_HOME without listing it in agentenv.Vars, so
TestFolderVarsAreListed has been red on main (run 38360659859, macOS and
ubuntu) and a test could meet a developer's real Reasonix state folder.
Run: go test ./internal/agent -run TestFolderVarsAreListed (failed before,
passes now), go test ./internal/agentenv ./internal/library, go vet, gofmt.
This commit is contained in:
@@ -73,6 +73,8 @@ var Vars = []string{
|
||||
"ALMA_DATA_DIR",
|
||||
// Reasonix Studio and its native CLI share this config home
|
||||
"REASONIX_HOME",
|
||||
// Reasonix's state folder, where it reads REASONIX.md
|
||||
"REASONIX_STATE_HOME",
|
||||
// Mister Morph's config file
|
||||
"MISTER_MORPH_CONFIG",
|
||||
// T3 Code's base folder (its settings in userdata/)
|
||||
|
||||
Reference in New Issue
Block a user