feature
Flow authoring agent
The flow authoring agent edits Definition Code (API word: flow) — events, emits with labels, drawing, and multi-file packages.
Ask it when you want Collectable setups marked in history. It works against your live unsaved draft and proposes file patches.
Tools (typical)
Tool | Where | Notes |
|---|---|---|
| server | Persisted state |
| client | Live unsaved draft |
| client | Patches merge over draft |
| client (human) |
|
| client | |
| removed from agent surface | Do not rely on it |
Prompting patterns
Good
“Emit
or_breakwith labelOR break ↑when close crosses the opening range high; oncePer session.”“Split classify helpers into
./classify.js; keepmetaandonBarin the entry.”“Add a subtitle with range % and sample n (two datapoints max).”
Bad
“Publish a study table of forward returns” — study agent.
“Skip labels, event id is enough” — labels are required.
“Import lodash from npm” — relative ESM only.
Constraints
kind: "flow"for Collect eventsEvery
ctx.emitneedslabeloncePerfor dedupemeta()only in the entry fileLint over the draft before proposing patches
