Before you publish
A config is checked before anything is written: when you publish through the API, a config
with an error gets a 422 listing the faults (where, message, remedy), and nothing is
written or started. This page says what is refused, and why.
What Core says at load time
Each defect has a severity, and the severity decides what the person sees.
| severity | effect | example |
|---|---|---|
| error | the station refuses to start | a submit call whose tool names no operation; two skills on the same kind |
| withhold | this skill is not exposed; the rest works | a skill whose invoke names a capability that does not exist |
| note | written for the author; nothing changes | a playbook with no activation (it opens only by start_playbook); a line: on a call whose args send no $selection |
A few refusals worth knowing:
| written | refused because |
|---|---|
an update: {price: …} guard without the submit passing $item.price | the customer would see a price the tenant never receives |
a condition (require, when) badly written, or reading an undeclared field | a require that reads nothing would refuse every item |
a condition that compares $item.fields.<name> with a literal of another type than the field ($item.fields.zone == 149 on a text field) | it could never hold: the guard would refuse, or let through, every item; see Conditions |
a skill's submit call reading $item.fields.<name> of a field no item of the skill carries (not in present, a form, a line field, nor what Core writes: name, price, image_url, code, slug, id) | an item does not keep the tenant's row: the value would be sent empty, ok: true |
a role: cadence field that is not a text, two on one skill, or with no billed field beside it | a cadence says how often the billed price is charged: without a price, it says nothing; see present |
$item.id in an idempotency field | see The submit |
a $submitted[…] citing a call no playbook task runs, or an undeclared output | it would be empty, and the tenant would receive a blank with ok: true; see The submit |
a submit call that sends no key for an argument its operation requires (required, or an anyOf of required none of whose branches is sent; for the elements of a list, a key of line:), or that reads a plain required argument from a field every form leaves optional | the call would be held at every submit; see What the operation requires |
several calls in one submit, one of them a handover or a self | a handover or a self is on its own all that becomes of the line |
a kind whose lines leave by no call (not its skill's, not a $selection[kind=…], not a playbook's) | chosen, they could never be sent; see The submit |
a playbook's call reading a bare $selection, $item… or $params…, sending no line, or two playbook calls taking the same kind | it would send any lines, or a line twice; see Playbooks |
$selection[task=…] on a skill's call | tasks are a playbook's: outside the playbook it would send nothing |
a line: that reads a source other than $line.ref, $line.quantity, $line.price, $line.fields.<field>; line: {}; a string other than "$line.ref"; a line on a handover or self call | the line would not be the one the tenant expects; a handover or a self sends no lines; see The submit |
a $line.fields.<field> that neither the present.fields of a skill of the call's lines nor a line field of their kinds declares | the key would be left out of every line, and the tenant never told |
a line field named like a present field, a field of the kind's form, or what Core writes (name, price, image_url, code, slug, id); a choices that does not name an options field of the skill's present; a field with choices of a type other than id or text, or with an enum | two values would fall under one name; a choice would be read nowhere; see Line fields |
the options type anywhere but in present.fields; option_label on a field that is not options | a list of choices is not answered: a line field takes one of them through choices |
an output with role: billed that is not a price, two on one call, or on a call that sends no lines or no $action.key | nothing would say which total to compare, nor with what; see The tenant's total |
line: "$line.ref" over the lines of a kind that has quantities (no select: {quantity: {max: 1}}) | a bare reference has nowhere to put the quantity: three chosen, one sent, with ok: true |
extra_lines on a call that is not a request, or that does not take its lines from one $selection… source; a quantity other than 1 with line: "$line.ref" | the added lines would have no place; see The submit |
an extra_lines line whose quantity or when reads a $submit.<field> absent from the form the call runs under, or whose quantity reads a field that is not type: quantity | it would read nothing at every submit; a negative answer would let the order leave without its line |
an extra_lines line whose check does not name an operation of the station with access: read | nothing could prove the line exists: every submit of the call would be held |
a required task whose skill produces no kind | the journey would announce "ready" on an empty selection |
a task that is not exactly one of skill, one_of; an unknown key (fallback among them); choose: clm; a one_of with fewer than two methods, or with no method without when; two methods that take the same kind | nobody could tell what the task does, nor which method a line is; see Playbooks |
a task's or a method's when that reads anything but $selection.kinds, looks for a kind the station does not have, or a kind of its own task | the condition could not be checked, would never hold, or would close the task for ever |
| a skill in two tasks of a playbook | a line would not say which task it belongs to |
an after naming a missing task or a task with no kind, or that loops | the task would never open |
a required task after an optional one | the optional task would be required in practice |
present, select, submit or depends_on on a skill without kinds | its rows are not items: nothing would read these keys |
a depends_on naming a skill without kinds, the skill itself or a missing task; dependencies that loop; two skills tied both on the skill and on a task | the dependency would never hold a line, or two answers would aim at the same change; see Skills |
several kinds with one lacking when; a kind's when that reads anything but a field of present.fields ($fields.<name>) | nothing would say which kind a row is; an undeclared row key is never read |
invoke with both method and native, or neither; method: search_products | method names an operation of the station's APIs; Convoy's capabilities are written native |
native: search or bundle without over, over with method, or an over that does not name a declared read of the station requiring no argument; a search that does not send the question alone (args: {query: "$params.<name>"}, a text the model sets); a bundle whose produced kind (yields) belongs to no skill reading the same list; a native search without kinds; native: set | the list is read with no argument, at each question; set is not built yet; see Skills |
a bundle without steps; steps or title on another invoke; args on a bundle; an old {mark} ({profile}, {concerns}…) or a $ that is not $params.<name> in a step's query or the title; a $ or a {mark} in a step's label or description; a $params.x.y; a step reading an undeclared parameter, one nothing sets, or one not of type: text; a parameter the model sets that no step reads | a bundle fills its own steps, its list is read with no argument, and a step reads a parameter only as $params.<name>; see Skills |
an undeclared $params.x, a parameter nothing reads, an invoke.args argument the capability does not take | a parameter nothing sets or nothing reads would mislead the reader; the API would ignore an unknown argument and answer as though it had not been sent |
a parameter or a call output without type, or of a type outside the table; a default of another type than its parameter; a task's binding to an output of another type | a value is never converted: an amount read as text does not become a price; see Skills |
a select.quantity rule whose min is above max, one of whose numbers is not a positive whole number, that admits no quantity, or that refuses 1 on a kind whose lines carry a filled form | no line could be chosen; see select.quantity |
a config parameter without default read by invoke.args or by a guard, or that no task binds; a task that binds a parameter a guard reads; a task's params that do not bind $submitted[<task>.<call>].<output> of another task of the playbook, never skipped, whose every method makes the call | the call would leave with a blank value; see Playbooks |
a set_by naming read, result or identity, or person without llm; a default without config in set_by; a parameter set_by: [llm] that invoke.args does not read, or named room or session | a source not built yet would promise a value nobody sets; the model would have nowhere to give the parameter; see set_by |
a model parameter of another type than the argument that receives it; an argument of a check its operation does not take, or whose value does not fit it | the API would ignore, refuse or coerce it |
an argument an invoke's operation requires that invoke.args does not send | the model gives only the skill's parameters: every call would be refused; see params |
required: false anywhere but on a set_by: [llm] parameter without default; a guard or a submit call reading a required: false parameter | the model may leave it out: the guard or the call would read nothing |
an operation the station reaches (an invoke, the over list, a check, an update, a submit call or its extra_lines, a validate) that no profile is granted | everything is closed by default: it would be refused to everyone; the message names the path that reaches it; see Profiles |
a grant that is not <api>.<operationId> of a declared operation, an exposed: false operation, a provider's send or check, a grant written twice; an operationId declared by two APIs; a profile neither the anonymous visitor nor an identity a provider proves can hold | the grant would open nothing, or the profile would serve no one |
a profile's when reading anything but $identity.type, .authenticated, .verified (with in), .provider: $identity.declared, roles, teams, org, limits…; $identity.type == 'agent'; a reference without $ | data typed in a room does not say who calls; attributes and sub-identities are not built yet: the reason is given |
a permission naming an undeclared profile, or a profile not granted what the choice calls (the invoke, the select's checks and update) | the guard would refuse everyone, or never let that profile choose; see Who chooses |
an unknown render.component | a typo would silently draw something else |
component: report without render.report | nothing says which field is the answer: the person would read prose instead of the report |
render.report with a component other than report | nothing would read it |
two skills or two playbooks with the same name | the second would replace the first, without a word |
| a playbook and a skill with the same name | <name>.<call> would not say which of the two it names: one name per station |
a submit_guard.validate that names no operation | no submit could ever go through |
a submitted_by whose who is not owner | the actor it names (an agent, an approver, a role) does not exist yet: the reason is given |
a texts key missing from Convoy's catalogue, or a blank sentence | it would replace no sentence; see The station's sentences |
a texts sentence that drops a placeholder of Convoy's sentence ({task}, {before}…), or adds one it does not have; a placeholder that is not a name in braces ({task:>9}, {task!r}) | the person would no longer know which step to wait for; an extra placeholder would never be filled in |
catalog, search_text_fields, mcp.collection_name_override | Convoy keeps no catalogue: an item resolves from what an invoke showed in the room. Remove these keys; the tool that migrates an older config is not yet available to you |
| a key Core does not know, at any depth | it would suggest it has an effect; the API answers 422 with unknown_keys |
What publishing checks as well
At every publish (create, update, redeploy, rollback, adding a server), before writing anything, Convoy also checks what the config promises at the tenant:
- Added lines are proved at the tenant. The
checkof eachextra_linesline is called. If its answer does not contain theref, or cannot be read: 422 with those faults, and nothing is written. - Searches over a list are proved. For each
native: searchorbundle, theoverlist is read once, and the station must have an embedding model. No model, a list that fails, is not one or is empty, more than 500 rows, or a list none of whose rows has a number under the skill'sbilledfield (nothing could be offered): 422 with those faults, and nothing is written. A price is checked only where a skill declares one: rows without a readable price among rows that have one are never offered, and are flagged (a note: how many, and the field); the station starts and serves the others.
At startup, the station recompiles its config and shows every error and every note. Read the notes.
Checking a config without publishing it is not yet available to you. A refused create writes nothing: today that is the safe way to try. To compare a config with the one that runs, see Through the API.