Skip to content

Commit 2a508c5

Browse files
authored
Merge pull request #2756 from fullsend-ai/docs/update-env-config-guides
docs(guides): migrate runner_env examples to env.runner
2 parents 1afea03 + e9113c9 commit 2a508c5

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

docs/guides/user/building-custom-agents.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,12 @@ validation_loop:
143143

144144
post_script: customized/scripts/post-my-agent.sh
145145

146-
runner_env:
147-
MY_VAR: "${MY_VAR}"
148-
ISSUE_KEY: "${ISSUE_KEY}"
149-
GH_TOKEN: "${GH_TOKEN}" # auto-minted in CI when --mint-url is provided
150-
FULLSEND_OUTPUT_SCHEMA: ${FULLSEND_DIR}/customized/schemas/my-agent-result.schema.json
146+
env:
147+
runner:
148+
MY_VAR: "${MY_VAR}"
149+
ISSUE_KEY: "${ISSUE_KEY}"
150+
GH_TOKEN: "${GH_TOKEN}" # auto-minted in CI when --mint-url is provided
151+
FULLSEND_OUTPUT_SCHEMA: ${FULLSEND_DIR}/customized/schemas/my-agent-result.schema.json
151152

152153
timeout_minutes: 20
153154

@@ -462,7 +463,7 @@ jobs:
462463

463464
5. **`ANTHROPIC_VERTEX_PROJECT_ID` and `CLOUD_ML_REGION`** — must be in the workflow `env` block so the `gcp-vertex.env` file (copied into the sandbox with `expand: true`) resolves correctly.
464465

465-
6. **All `runner_env` variables** must appear in the workflow `env` block. If your harness references `MY_VAR: "${MY_VAR}"`, the workflow must set `MY_VAR`.
466+
6. **All `env.runner` variables** must appear in the workflow `env` block. If your harness references `MY_VAR: "${MY_VAR}"`, the workflow must set `MY_VAR`.
466467

467468
## Step 8: Trigger the agent
468469

docs/guides/user/customizing-agents.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ validation_loop:
4040
script: scripts/validate-output-schema.sh
4141
max_iterations: 2
4242

43-
runner_env:
44-
PUSH_TOKEN: "${PUSH_TOKEN}" # auto-minted in CI when --mint-url is provided
45-
REPO_FULL_NAME: "${REPO_FULL_NAME}"
46-
REPO_DIR: "${GITHUB_WORKSPACE}/target-repo"
43+
env:
44+
runner:
45+
PUSH_TOKEN: "${PUSH_TOKEN}" # auto-minted in CI when --mint-url is provided
46+
REPO_FULL_NAME: "${REPO_FULL_NAME}"
47+
REPO_DIR: "${GITHUB_WORKSPACE}/target-repo"
4748
```
4849
4950
**Optional fields** (all have secure defaults and can be omitted):
@@ -358,10 +359,11 @@ validation_loop:
358359
script: scripts/custom-validate.sh # Changed script
359360
max_iterations: 5 # Changed from: 2
360361
361-
runner_env:
362-
PUSH_TOKEN: "${PUSH_TOKEN}"
363-
REPO_FULL_NAME: "${REPO_FULL_NAME}"
364-
REPO_DIR: "${GITHUB_WORKSPACE}/target-repo"
362+
env:
363+
runner:
364+
PUSH_TOKEN: "${PUSH_TOKEN}"
365+
REPO_FULL_NAME: "${REPO_FULL_NAME}"
366+
REPO_DIR: "${GITHUB_WORKSPACE}/target-repo"
365367
```
366368

367369
Then create your custom skill at `.fullsend/customized/skills/my-custom-linting/SKILL.md`.

0 commit comments

Comments
 (0)