Skip to content

A prompt for automation that can report its own failure - #39

Merged
melbinjp merged 1 commit into
mainfrom
prompt/automate-a-workflow
Aug 21, 2026
Merged

A prompt for automation that can report its own failure#39
melbinjp merged 1 commit into
mainfrom
prompt/automate-a-workflow

Conversation

@melbinjp

Copy link
Copy Markdown
Owner

The last of the four categories asked for in google-labs-code/jules-awesome-list#43, open since 2025-07-21. With it, every category that list asked for and never merged is answered here: documentation, database, error handling, architecture summary, translated docs, automation.

Written from scratch. That repository carries no licence, so its wording belongs to its author and only the demand is free to answer.

The request was for automating a workflow with a shell script, and the naive shape of that is what _prompts/task_automate_a_workflow.md argues with. The failure worth designing against is not a script that breaks, it is one that succeeds without doing anything, and that is invisible by construction: the command exits 0, the output looks complete, and nothing says there was more.

verify | tail -1 && commit runs the commit when verify failed, because a pipeline takes the exit status of its last command.

So the prompt has the agent find the workflow in the history rather than take it on description, verify each step by its effect rather than its exit code, make it safe to run twice and safe to interrupt, and then break it on purpose and report what it did.

25 prompts, 25 guide entries, workflow agrees, _config.yml parses.

Upstream #43 asked for prompts across automation, error handling,
documentation and architecture summary. Open since 2025-07-21. This is
the fourth and last of them, and every category that list asked for is
now answered here.

Written from scratch; that repository carries no licence and only the
demand is free to answer.

Its thesis is this machine's own scar tissue: the failure that matters
is not a script that breaks but one that succeeds without doing
anything. A gate on the left of a pipe, a tool that exits 0 while
failing, a truncated listing concluded from, a completion marker
matching a previous run.

Signed-off-by: Melbin J Paulose <melbinjpaulose@gmail.com>
@melbinjp
melbinjp merged commit 89445e3 into main Aug 21, 2026
3 checks passed
@melbinjp
melbinjp deleted the prompt/automate-a-workflow branch August 21, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant