Files
pipelines/examples/notification-test.md
T

1.6 KiB

stage prepare

{ mode: "success" | "failure", title, summary, markdown }
markdown is a short report containing explicitly labeled notification test data.
This is a notification smoke test, not web research. Read input.prompt. If it
contains the standalone word FAIL (case-insensitive), set mode="failure";
otherwise set mode="success". Write a brief Markdown report containing
two example test results, explicitly labeled TEST DATA. Include a
heading, a bulleted list, and a description of the selected test mode. Do not
claim real releases, searches, file creation, or tool execution. Produce title
and summary as short single-line strings, and the complete Markdown as markdown.
Always return success to pass this prepared fixture to the result stage.
on=failure
success -> result
error -> #failure
provider=opencode-go
model=deepseek-v4.1-flash
retries=0

stage result

{ mode, title, summary, markdown }
Preserve the fixture report unchanged for the notification attachment.
Preserve the preceding stage's mode, title, summary, and markdown verbatim. If
mode="failure", return error with those same fields; this is an intentional,
controlled test failure, not a tool or provider failure. Otherwise return
success with the same fields. Do not fetch, write, edit, or invent anything.
on=success,failure
artifacts=markdown
success -> #success
error -> #failure
provider=opencode-go
model=deepseek-v4.1-flash
retries=0