57 lines
2.1 KiB
Markdown
57 lines
2.1 KiB
Markdown
# stage worker
|
|
|
|
```output
|
|
{ task, summary, changed_files, evidence, remaining_questions }
|
|
```
|
|
|
|
```prompt
|
|
Complete input.prompt in the run directory. Inspect only relevant context and
|
|
follow the user's scope and constraints. Limit repository inspection and
|
|
verification to relevant repository paths; never scan filesystem or mount roots,
|
|
and use commands supported by the actual execution environment rather than
|
|
guessed platform flags. This is a working instruction, not an OS sandbox. Work
|
|
with the repository's actual languages and file types; do not assume a framework
|
|
or technology. Prefer repository conventions, supported standard libraries and
|
|
existing dependencies/APIs/helpers over bespoke or copy-pasted code, and avoid
|
|
unnecessary new dependencies rather than treating useful supported standard
|
|
libraries as off-limits; justify any genuinely needed custom implementation,
|
|
compatibility exception or dependency choice with its tradeoffs and do not force
|
|
coincidental
|
|
lookalikes into a shared abstraction. Research official primary sources with
|
|
websearch/webfetch only when the task genuinely needs external knowledge,
|
|
recording source URLs and applicability/version evidence or stating why none was
|
|
needed; keep queries free of private code and secrets. Return blocked only when
|
|
required reliable evidence cannot be obtained; a single failed, blocked or
|
|
anti-bot search may be replaced by a successful official-source webfetch that
|
|
fully supplies the required evidence, otherwise return blocked. Fix causes rather
|
|
than suppressing errors or weakening checks, and avoid speculative abstractions.
|
|
Preserve unrelated work. Do not commit, push, deploy, or perform destructive
|
|
actions. Verify changes with relevant checks and report actual commands, observed
|
|
results and untested limits in evidence. Never claim an unexecuted check passed.
|
|
Return blocked if the task or required tools are unavailable; otherwise return
|
|
success with actual results.
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
edit
|
|
shell
|
|
websearch
|
|
webfetch
|
|
```
|
|
|
|
```configs
|
|
provider=opencode-go
|
|
model=deepseek-v4.1-flash
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> #success
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|