READER EDITION / ISSUE 002 / Revised 2026-11-20
Creative Agentic Computing
CodeFarmer / Issue 002
PROMPT WORKSHOP / SWITCHYARD / READ

The brief gives
each courier a world.

Each tick is one simulation step. Couriers share the same board, so a decision by one can change the next courier’s available moves. The prompt sets their order and tells the program which squares are blocked.

Prompt clause
couriers in ID order

This makes priority predictable. Courier 1 gets the first opportunity each tick. Implement that choice in the update order; route length keeps its existing calculation.

Prompt clause
treat walls and other couriers as obstacles

A route must account for the shared world. The courier needs a next step it can enter, so planning must account for occupied squares.

Prompt clause
Validate every imported field, protected square, courier ID, collision and delivery total

The saved depot is an untrusted claim about a world. Validation needs to finish before the active state is replaced; a parseable JSON object can still describe an impossible depot.

Make it better: a practical revision prompt →