Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
function TaskContext.http
HTTP client for issuing requests to remote services.
property TaskContext.args
Resolved arguments for this task invocation. Read individual values as
ctx.args.<arg_name>. Values are produced by merging, in order of decreasing precedence: explicit CLI flags, config.axl overrides, and the task’s declared arg defaults.
property TaskContext.aspect
Aspect platform integrations — authentication and other hosted services provided by the Aspect Workflows backend.
property TaskContext.bazel
Drive Bazel from a task: run
build, test, query, info, parse .bazelrc, and consume Build Event Stream output.
property TaskContext.std
The standard library. Gives access to common utilities such as filesystem, process execution, environment variables, and IO streams.
property TaskContext.task
Identity of the currently running task — its name, group(s), short human-readable key, and globally unique id.
property TaskContext.template
Render template files by substituting placeholders with values.
property TaskContext.traits
Configured trait instances visible to this task. Index by a trait type to read its fields, e.g.
ctx.traits[GitHub].token. Only trait types this task opted into via task(traits = [...]) are present.
property TaskContext.wasm
Execute WebAssembly modules within a task.
EXPERIMENTAL: this surface may change or be removed without notice.

