// THE VERB REGISTRY (umtool redesign, lane palette L8a): every verb // `umtool` dispatches, one row each -- a sub-verb (`timeline insert`, // `takes pick`, `posts add`) its own row -- machine-readable, so the ⌘K // palette builds a FORM from a row, POST /api/cli runs only what a row // allows, and `umtool help` and docs/cli.md are generated (lib/cli/docs.mjs) // from here and from the prose beside it (lib/cli/groups.mjs). // // { verb, summary, target, ui, reason?, args, shape?, queue?, timeoutMin? } // // verb the words that name it, as typed: "timeline insert" // summary one line, what it does (the palette's hint) // target "draft" it writes the working draft: the project's manifest (and the files beside it // a write keeps in step), each write an undo point // "project" it reads a project, or writes what is not its draft (takes, renders, records) // "corpus" it is not about one project // ui "form" the palette offers it as a form; POST /api/cli runs it // "none" it has no form, and `reason` says why (required) // args what the form asks, in argv order (below) // shape where the verb's words and positionals go when they interleave: // "timeline insert" -- a `` is that positional arg. Absent: the verb's // words, then every positional in order. Positionals the shape leaves out follow it. // queue true: it renders (or holds the heavy slot) -- POST /api/cli adds it to the durable // queue (lib/queue/store.mjs), never the app's one-job runner // timeoutMin a job's (or a queued step's) time limit, minutes (default 15 for a job, the queue's 12 h) // confirm { what, when?, unless? }: it does something with no undo point (deletes, evicts, kills): // the form asks a second press ("Yes, ") and POST /api/cli wants `confirm: true`; // `when` the arg names that make it so (any given), `unless` those that make it a dry run // blocks the workspace strip's block kinds whose menu offers it (lane block-menus L8b): BLOCK_KINDS below, // the manifest's entry types plus the intro. A row with no `blocks` is never in a block menu. // fromBlock { : "