kanban
v0.2.3File-backed kanban board — tickets, threaded comments, agent assignment, the kanban::on-change and kanban::on-comment event functions, and an injectable console board with agent profiles for planning and review.
Install
iii call compose::add worker=kanban@0.2.3Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.
skill doc
configuration
The configuration worker is a server-side registry of named entries. Every entry has an id (e.g. iii-stream, billing-service), a human-readable name and description, a JSON Schema describing the value shape, and a JSON value validated against that schema. Workers call configuration::register once at startup to declare their schema and configuration::set to publish values; consumers call configuration::get / configuration::list to read and observe configuration::on-updated to react to changes without polling.
The default fs adapter persists one YAML file per id under ./data/configuration and watches the directory for external edits, so manual edits to those files surface as configuration:updated events the same way SDK calls do. The bridge adapter delegates to a remote engine and calls configuration::on-updated locally for its events — the function surface is identical across adapters. The worker is enabled by default in engine/config.yaml.
When to Use
- A worker is migrating its block out of
engine/config.yamland needs a typed, observable surface other workers can read and validate against. - Two workers need to agree on the same configuration values without one polling the other or hardcoding a path on disk.
- An operator should be able to edit a single YAML file (or the remote control plane) and have the change propagate to every observer without a worker restart.
Boundaries
- Not a general-purpose key/value store — every entry must have a registered JSON Schema. Use
iii-statefor free-form values. - No partial-update surface;
setalways replaces the whole value. Build the new value client-side and ship it in one call. - The
bridgeadapter cannot delete entries on the remote engine; delete them directly on the source engine. - Schemas are not version-checked across re-registrations — re-registering with an incompatible schema simply replaces it. Coordinate schema migrations out-of-band.
Functions
configuration::register— declare an id with name, description, JSON Schema, and an optionalinitial_value; idempotent re-registration replaces the schema and metadata.configuration::set— replace the value for a registered id; validates against the registered schema and emitsconfiguration:updated.configuration::get— read one entry by id; expands${VAR:default}against live env unlessraw: true.configuration::list— enumerate every registered id with name, description, and schema; never returns the value.configuration::schema— read schema/name/description for one id without exposing the value.
register and set are the only mutators; the read-side functions are cache-backed and cheap. Reads expand ${VAR:default} placeholders against the live process env on every call, so env changes propagate without restarts — pass raw: true to configuration::get when you need the stored template form.
Reacting to changes
Observe configuration::on-updated when a function should run automatically on every register / set / delete — including external fs file edits and bridge-forwarded events from a remote engine. The engine calls it after each successful mutation and runs its observers' targets asynchronously, so a worker stays in sync with its configuration without polling.
Reach for it when:
- A worker needs to reload in-memory state when its configuration is rewritten by another component or by an operator editing the YAML directly.
- The same handler should run regardless of who edited the configuration (local SDK call, remote engine via the bridge adapter, or a file edit).
If you only need the new value inside the same function that wrote it, configuration::set already returns old_value / new_value — observe only when a different worker should react.
How to observe
- Register a handler:
iii.registerFunction('stream::on-config-change', handler). - Observe the source;
configuration::on-updatedtakes no args, so select with filters:
iii.observe(
{
function_id: 'configuration::on-updated',
filters: {
'input.id': { $eq: 'iii-stream' }, // optional. Omit to receive every id.
'input.event_type': { $eq: 'configuration:updated' }, // optional. configuration:registered|updated|deleted.
},
capture: ['output'], // the handler reads the event at payload.output
},
'stream::on-config-change',
)Mutations that call it: configuration::register (:registered on first call, :updated on re-registration), configuration::set (:updated), and external fs create/edit/delete events. Reads do not call it.
For the event shape, call engine::functions::info { function_id: "configuration::on-updated" }: its response_format is the event.