You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/launch-openshell-gator/SKILL.md
+73-16Lines changed: 73 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,91 +99,145 @@ openshell --gateway docker-dev sandbox list
99
99
100
100
Look for names like `gator-pr-<number>-supervised`. If one exists, inspect its log before deleting or relaunching.
101
101
102
+
## Input Normalization
103
+
104
+
Never paste raw operator text into shell arguments such as `--name`, `--from`, issue numbers, or PR numbers. Normalize values before constructing launch commands.
For local image contexts passed to `--from`, use an agent-created path such as `mktemp -d`; do not pass raw user-supplied paths without validating that they are expected local Dockerfile contexts.
121
+
102
122
## Standard Launches
103
123
104
124
### Launch A PR Watcher
105
125
106
126
Use a stable, scoped name and a prompt that names exactly what gator should do.
"Review and monitor PR #<pr> through the gator-gate workflow. Scope this invocation only to PR #<pr>."
140
+
"Review and monitor PR #${pr_number} through the gator-gate workflow. Scope this invocation only to PR #${pr_number}."
116
141
```
117
142
118
143
The launcher builds the gator sandbox image when needed, stages the immutable payload, imports provider profiles, configures provider credentials and refresh, creates the sandbox, and writes a background log under `scripts/agents/gator/logs/`.
"Review and monitor PR #<pr> with linked issue #<issue> through the gator-gate workflow. Scope this invocation only to PR #<pr> and issue #<issue>."
178
+
"Review and monitor PR #${pr_number} with linked issue #${issue_number} through the gator-gate workflow. Scope this invocation only to PR #${pr_number} and issue #${issue_number}."
142
179
```
143
180
144
181
### Launch With Explicit Maintainer Authorization
145
182
146
183
Only include authorization in the prompt when the operator explicitly gave it.
"Review and monitor PR #<pr> through the gator-gate workflow. Scope this invocation only to PR #<pr>. The operator explicitly authorizes applying the test:e2e label and posting /ok to test for the current head SHA if gator determines that is required."
197
+
"Review and monitor PR #${pr_number} through the gator-gate workflow. Scope this invocation only to PR #${pr_number}. The operator explicitly authorizes applying the test:e2e label and posting /ok to test for the current head SHA if gator determines that is required."
156
198
```
157
199
158
200
## Model Or Image Experiments
159
201
160
202
Use environment overrides. Do not edit `agent.yaml` for temporary experiments.
"Review and monitor PR #<pr> through the gator-gate workflow. Scope this invocation only to PR #<pr>. This launch is intentionally testing Codex model gpt-5.6-sol via the CLI launcher."
217
+
"Review and monitor PR #${pr_number} through the gator-gate workflow. Scope this invocation only to PR #${pr_number}. This launch is intentionally testing Codex model gpt-5.6-sol via the CLI launcher."
171
218
```
172
219
173
-
If the installed Codex CLI is too old for a model, create a temporary copy of `scripts/agents/gator/` under `/var/folders/52/ygrbs0zn7pxgfcppwggvgklm0000gp/T/opencode` or another approved temp directory, adjust only that temporary Dockerfile, and launch with `--from <temp-context>`. Keep the repo Dockerfile unchanged unless the version bump is the intended code change.
220
+
If the installed Codex CLI is too old for a model, create a temporary copy of `scripts/agents/gator/`, adjust only that temporary Dockerfile, and launch with that generated context. Keep the repo Dockerfile unchanged unless the version bump is the intended code change.
"Review and monitor PR #<pr> through the gator-gate workflow. Scope this invocation only to PR #<pr>."
240
+
"Review and monitor PR #${pr_number} through the gator-gate workflow. Scope this invocation only to PR #${pr_number}."
187
241
```
188
242
189
243
## Monitoring
@@ -231,11 +285,14 @@ Restart when the payload must change, the sandbox is wedged without a sentinel,
231
285
Before deleting, check that the sandbox is truly stale or that the operator asked for a restart. If a bounded review cycle is actively running and still producing useful output, prefer leaving it alone.
0 commit comments