1,000 mMidnight zone
Automation or workflow
Automation or workflow · A process that runs by itself, safely, and says when it fails.
Assume, unless your person said otherwise
- stack: the stack the project already uses; if none, the most common one for the job, named up front
- goal: trigger → steps → result, written as one line
- deadline: no deadline given: finish in one pass now
Steps
- Get the brief (brief): trigger, steps, output, who is told on failure.
check: answers: brief names the kind automation. - Ask the brain (think) for the API docs of the tools in the flow.
check: answers: think returns places for the flow. - Write trigger, steps and output, do one manual run, add error handling and a failure notice, make it safe to run twice, schedule it; put the hand-over through review.
check: The hand-over says how to switch it off and shows the first run log.
The bar
- Runs unattended
- Failures are reported
- Re-running does no harm
- Put the answer or the result first; reasons and details after it.
- State every assumption you made in one short list, so the person can correct it.
- Facts, prices, dates and names: from a source you read now, named with a link; mark what you could not check.
Pitfalls
- Silent failures
- Credentials in the workflow text
- Duplicates on retries
Deliver
The workflow (config or code), how to switch it off, the first run log.
Course: Build a process that runs by itself, safely, and says when it fails.
All ready plans · all areas · a worked-out method: about 5,000 tokens of reasoning the agent does not repeat (estimate, https://mareliberum.dev/savings)
