@nowcrew/daemon 0.6.93-beta.6 → 0.6.93-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -86,8 +86,13 @@ export async function prepareEnvironmentExecutionSnapshot(input) {
|
|
|
86
86
|
directory,
|
|
87
87
|
prompt: `## Per-directory environment configuration\nThis execution uses environment revision ${parsed.data.revision}. `
|
|
88
88
|
+ `Directory layers are independent: Agent root is inherited by training and each repo; sibling repos do not inherit each other. `
|
|
89
|
-
+ `
|
|
90
|
-
+
|
|
89
|
+
+ `The runtime starts in the task directory \`$CREW_TASK_DIR\`, which uses Agent-root variables. `
|
|
90
|
+
+ `Training variables are available only when the harness \`--cwd\` points to \`$QA_RUNTIME_ROOT\` (the training directory); `
|
|
91
|
+
+ `do not pass \`$PWD\` unless it is that directory. For a training command, use: `
|
|
92
|
+
+ `\`node ${JSON.stringify(join(directory, "run.mjs"))} --cwd \"$QA_RUNTIME_ROOT\" -- <command> [arguments...]\`. `
|
|
93
|
+
+ `For a repository command, pass that repository's absolute root to \`--cwd\`. `
|
|
94
|
+
+ `Keep task outputs under \`$CREW_TASK_DIR\` and pass absolute values such as \`$CREW_TASK_DIR/outputs\` to --report-root, --output-dir, and --runtime-dir; `
|
|
95
|
+
+ `do not let changing the harness cwd relocate task outputs. `
|
|
91
96
|
+ `Changing directory alone does not reload process variables. Do not source mutable .env files or print environment values.`,
|
|
92
97
|
};
|
|
93
98
|
}
|