Write a plan
Five steps from a wish to a plan that may run.
- Say the wish. One sentence, in your own words. Every step works toward it, and whoever does a step is told it.
- List the steps, in order. Give each a short name and say what to do. A step that is too big is a plan of its own, and a step can be another plan.
- Say who does each step. An agent, an algorithm (a command), a person, or another plan.
- Say what proves each step, before the work. A command that must pass, something that must be in the folder, something another agent must find true, or a question a person answers.
- Check it. Paste it in Check a plan. A plan with no problems may run.
A skeleton
json
{
"$schema": "vpf/1",
"wish": "What you want, in your words",
"steps": [
{
"id": "first",
"do": "What to do first.",
"by": "agent",
"proof": { "by": "agent", "check": "What must be true of the work." }
}
]
}Save it with a name that ends in .vpf.json. Editors that read JSON Schema can check it as you type: point them at the schema.
Good habits
- Make every proof something that can fail. “The report is good” cannot fail; “every number matches report/sales.csv” can.
- Prove with what stood before. A file the work must leave, a command that already exists, a person who asked.
- Keep a person at the end of what matters. A step that sends, pays or publishes is better after a person's yes.
- Give an agent only the tools it needs. A writer needs
readandwrite, notinternet.
TIP
You do not have to write the file by hand. Ask an agent for a plan, then read it in words before it runs.