Part 9 — Reference
9.1 Artifact schema reference#
Authoritative definitions are the JSON Schemas in kernel-schemas/. Each table lists the artifact's
top-level fields; nested structures are in the schema's $defs. See Part 2.
app#
ONEWEB 6.0 App Artifact (v0 draft) — control plane · file kernel-schemas/app.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | yes | |
workspaceRef |
string | The Workspace this app belongs to (workspace:<name>). |
|
userAdminRole |
string | The realm role whose holders may administer THIS app's users — assign roles, suspend, review (RT-6c). | |
identity |
object | Where this app's people come from (RT-7 S2; ONEWEB6-IAM2-ARCHITECTURE.html). | |
adminRoles |
object | Delegated administration below the user administrator (RT-7): the roles whose holders get a NARROWER admin surface. | |
description |
string | ||
owners |
array | Principals with appOwner role on this app (denormalized from workspace bindings for display; authorization still resolves through the works… | |
bindings |
array | App-scoped role bindings — same shape as workspace bindings, narrower scope. | |
publishes |
array | Contracts this app exposes to other apps. | |
consumes |
array | Contracts this app depends on, version-pinned. | |
shell |
object | App-wide chrome and shared UI — the frame every page renders inside. | |
classification |
object | Governance facts about the app itself, shown as chips on the Project Workspace header (ONEWEB6-WORKSPACE-UI.html:2075). | |
lifecycle |
object | ||
runtime |
object | Where this app's generated code and engines run — feeds the Deploy console. | |
sourceExport |
object | Customer source-code handover settings (wish-list item 12 / D4 tier 1). | |
legacy |
object |
artifact-envelope#
ONEWEB 6.0 Artifact Envelope (v0 draft) · file kernel-schemas/artifact-envelope.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
apiVersion |
string | yes | Schema version of the payload, e.g. |
kind |
string | yes | |
metadata |
object | yes | |
version |
object | Filled by the Kernel, read-only to clients. | |
provenance |
object | Who/what produced the latest change. | |
refs |
array | Outbound edges in the artifact graph, extracted/validated by the Kernel from the spec (denormalized here for cheap graph queries). | |
spec |
object | yes | The artifact payload; schema chosen by apiVersion/kind. |
bundle#
ONEWEB 6.0 Bundle Artifact (v0 draft) — a named, immutable set of artifacts released together · file kernel-schemas/bundle.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | |
notes |
string | ||
workspaceRef |
string | The Workspace this bundle belongs to (workspace:<name>). |
|
members |
array | Artifacts pinned into this release, each at a specific seq — not 'the latest version', a specific immutable one. |
componentlibrary#
ONEWEB 6.0 Component Library Artifact (v0 draft) · file kernel-schemas/componentlibrary.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | yes | |
description |
string | ||
namespace |
string | yes | Type prefix these components claim, e.g. |
components |
object | Local name → contract. |
connection#
ONEWEB 6.0 Connection Artifact (v0 draft) · file kernel-schemas/connection.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
kind |
string | yes | |
database |
object | ||
http |
object | ||
soap |
object | For kind=soap. | |
smtp |
object | For kind=smtp. | |
objectStore |
object | ||
amqp |
object | For kind=amqp. | |
kafka |
object | For kind=kafka. | |
sftp |
object | For kind=sftp. | |
custom |
object | Marketplace connector packs declare their own config schema; validated against the pack's manifest. | |
healthCheck |
object |
content#
ONEWEB 6.0 Content Artifact (v0 draft) · file kernel-schemas/content.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
kind |
string | yes | What this content is FOR — letter: a standalone document (offer/decline letter, PDF-rendered). |
format |
string | yes | How body (and subject, if present) should be interpreted after interpolation — html for a letter meant to become a PDF, text/markdown f… |
subject |
string | Email/notification subject line. | |
body |
string | yes | The template. |
variables |
array | The typed inputs this template expects — same shape as decision.schema.json's inputs/process.schema.json's variables, so a caller (a proces… |
contract#
ONEWEB 6.0 Contract Artifact (v0 draft) · file kernel-schemas/contract.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
interface |
object | yes | |
providerRefs |
array | Artifacts that implement this contract (Flow expose, BFF endpoints). | |
compatibility |
object | ||
policy |
object | Gateway-enforced runtime policy, generated into gateway config on deploy. | |
slo |
object | Published service expectations — the OLA/UC layer in the Work Portal (e.g. |
dashboard#
ONEWEB 6.0 Dashboard Artifact (v0 draft) · file kernel-schemas/dashboard.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
widgets |
array | yes |
decision#
ONEWEB 6.0 Decision Artifact (v0 draft) · file kernel-schemas/decision.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
inputs |
array | yes | |
outputs |
array | yes | |
logic |
object | yes | |
challenger |
object | CHAMPION / CHALLENGER. | |
monitoring |
object | Drift monitoring (decision_drift): how far this Decision's rule mix has moved between two recent time windows, as a PSI-style score. | |
requires |
array | Sub-decisions this decision invokes (DMN information requirements) — the edges of the DRD, and real graph refs (decisionRef ends in 'Ref',… | |
tests |
array | Embedded golden tests — run on save and in CI; also Veda's eval fixtures for rule edits. | |
flow |
object | OPTIONAL orchestration over this decision's sub-decisions — the prototype's '⛓ Flow' view. |
designsystem#
ONEWEB 6.0 Design System Artifact (v0 draft) · file kernel-schemas/designsystem.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | yes | |
description |
string | ||
cssPrefix |
string | Namespace for every emitted custom property. | |
basedOn |
string | Design System artifact this one extends. | |
palette |
object | Semantic colour ROLES, not raw colour names. | |
typography |
object | ||
spacing |
object | Spacing rhythm. | |
radii |
object | Corner radius scale, e.g. | |
elevation |
object | Shadow scale, e.g. | |
density |
object | Row heights and control sizing per density mode, mirroring the prototype's .compact. |
|
layout |
object | Page layout: the container, the rhythm between blocks, and how a section is chromed. | |
components |
object | Per-component variants — the part that makes this a design SYSTEM rather than a token list. | |
lifecycle |
object | ||
provenance |
object | Where this system came from. | |
renderMode |
string | How generated apps get their CSS. | |
assets |
object | Files copied verbatim into a generated app. | |
shellRender |
object | Class names the app shell should use in stylesheet mode, so nav and chrome match the vendor system too. |
entity#
ONEWEB 6.0 Entity Artifact (v0 draft) · file kernel-schemas/entity.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
table |
object | yes | |
fields |
array | yes | |
primaryKey |
array | Field names. | |
relations |
array | 5.0: m_entity_relation + m_entity_relate_field (multi-column join keys between parent/child modules). | |
indexes |
array | New in 6.0 (5.0 had no index management in the metamodel). | |
policies |
object | Row-level access policies (Data Studio / BFF enforcement). | |
migration |
object | Generated-migration bookkeeping (filled by the Kernel; 5.0 logged generated DDL in m_generate_script). |
flow#
ONEWEB 6.0 Flow Artifact (v0 draft) — microflow / integration flow · file kernel-schemas/flow.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
trigger |
object | How the flow starts. | |
variables |
array | 5.0: parameter table (scope PROCESS) + business objects. | |
steps |
array | yes | |
edges |
array | yes | 5.0: node_link_property. |
expose |
object | Publish this flow as an API endpoint. | |
runtime |
object | ||
layout |
object | Geometry only, as in process.schema.json. |
form#
ONEWEB 6.0 Form Artifact (v0 draft) · file kernel-schemas/form.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
renderMode |
string | How the unified Work Portal renders THIS form for a task-completion screen. | |
settings |
object | ||
tabs |
array | 5.0: m_entity_tab (seq, tab_code 'Main' = primary) + m_tab; visibility via m_tab_condition + m_load_tab. | |
blocks |
array | yes | A block = form section or datagrid bound to one entity (5.0: m_tab_module → m_module → m_table). |
access |
array | Field/block/tab-level ACL. | |
i18n |
object | Translations, keyed locale -> object id -> text. | |
scripts |
array | Form-level JS rules. |
glossary#
ONEWEB 6.0 Glossary Artifact (v0 draft) — the business vocabulary · file kernel-schemas/glossary.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
description |
string | What this vocabulary covers, e.g. | |
terms |
array | yes |
group#
ONEWEB 6.0 Group Artifact (v0 draft) · file kernel-schemas/group.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | Display name. |
kind |
string | 5.0 had only ms_work_party_type='User Role' (id 1). | |
description |
string | ||
minMembers |
integer | The fewest DISTINCT people this group must keep for its work to be possible — a joint approval that needs two different members (a credit c… | |
risk |
string | How much harm holding this role can do (RT-7). | |
providerRef |
string | Where membership actually lives — e.g. | |
legacyLeadName |
string | IMPORT ONLY — 5.0's work_party.work_party_lead, a free-text NAME ('Sale Manager'), not a user id. | |
leadUserRef |
string | Escalation target for SLA breaches and approvals, once resolved to a real identity (e.g. | |
seedMembers |
array | IMPORT ONLY — the membership snapshot found in 5.0 (pd.work_party_member.member_id). | |
assignment |
object | Defaults applied when work is routed to this group; a node's own assignment config overrides them. |
page#
ONEWEB 6.0 Page IR (v0 draft) · file kernel-schemas/page.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
settings |
object | yes | |
root |
component | yes | |
variables |
array | Declared page variables. | |
state |
object | Typed page-state business object. | |
actions |
array | Named page actions. | |
styles |
object | ||
scripts |
array | Page-level handlers. | |
i18n |
object | 5.0: us_application_trans / us_application_trans_map. | |
resources |
array | External JS/CSS attached to the page/app. |
policy#
ONEWEB 6.0 Policy Artifact (v0 draft) — gateway auth policy for a published Flow interface · file kernel-schemas/policy.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
auth |
object | yes |
process#
ONEWEB 6.0 Process Artifact (v0 draft) · file kernel-schemas/process.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | PRESENTATION ONLY — the process's human name (e.g. | |
settings |
object | ||
variables |
array | Process variables. | |
lanes |
array | Pools/lanes. | |
stages |
array | PRESENTATION ONLY — the business stages the Work Portal's case tracker groups steps into, in the order a case moves through them (e.g. | |
caseDisplay |
caseDisplay | ||
caseSummary |
caseSummary | ||
nodes |
array | yes | |
edges |
array | yes | Sequence flows. |
layout |
object | Pure geometry, keyed by node/lane id. |
security#
ONEWEB 6.0 Security Artifact (v0 draft) — Workbench governance: roles and capabilities · file kernel-schemas/security.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
roles |
array | yes |
workportalconfig#
ONEWEB 6.0 WorkPortalConfig Artifact (v0 draft) — the unified Work Portal's tenant menu · file kernel-schemas/workportalconfig.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
workspaceRef |
string | yes | The tenant this config belongs to (workspace:<name>). |
appsInScope |
array | Which Apps' tasks, dashboards and forms this tenant's unified portal surfaces. | |
sectionAccess |
object | Which realm role(s) may see each of the fixed ADMIN sections of the unified portal's left nav — Insight, Monitoring (Run), Administration (… | |
applications |
array | The tenant-configurable 'Applications' menu (requirement 5) — custom nav entries an org adds themselves, alongside whatever apps generate o… | |
bindings |
array | Who may edit THIS config — add/remove an app from appsInScope, change sectionAccess, or add an Applications entry. |
workspace#
ONEWEB 6.0 Workspace Artifact (v0 draft) — control plane · file kernel-schemas/workspace.schema.json
| Field | Type | Required | Description |
|---|---|---|---|
displayName |
string | yes | 5.0: m_entity_application.name / asp application name. |
residency |
object | Data-residency policy for everything in this workspace — surfaced in the Workbench governance cells and enforced at deploy. | |
identityProvider |
object | Where principals come from. | |
roles |
array | Role definitions available in this workspace. | |
bindings |
array | ReBAC role bindings — the authorization relationships. | |
separationOfDuties |
array | Verb pairs one principal must not simultaneously hold (the mock's SoD flag: 'Workspace admin can both edit and approve'). | |
environments |
array | Deploy targets and their gates — the Deploy console's promotion chain (Dev → UAT → Prod, Prod gated on Risk-officer approval). | |
defaultDesignSystemRef |
string | Design System artifact apps in this workspace use unless they override it (designsystem:*). | |
branding |
object | White-label branding of the WORKBENCH ITSELF — product chrome, not customer app styling (that is the Design System). | |
legacy |
object | Migration provenance from 5.0 AppSpace — kept so the AS2 compatibility façade can answer with the original ids. |
9.2 Tool reference#
Every change goes through these typed tools (see Part 2 §2.4). Arguments are
validated against each tool's inputSchema by tool-args.js before authorization and the handler.
Read-only tools are exempt from the sign-in rule by name (READ_ONLY_TOOLS).
326 tools in 28 families (derived when this page was built).
app_* (25)#
| Tool | Required arguments | Purpose |
|---|---|---|
app_add_database |
appId, workspaceId, environment |
Give an app a database of its own: create a Postgres database Connection (conn: |
app_add_first_admin |
appId, username |
Name a FIRST administrator of this app: a person of the app's realm, picked from app_identity_directory, whom Deploy's identity step gives the app's user administrator r… |
app_add_first_member |
appId, workParty, username |
Pick a FIRST MEMBER of one of this app's work parties: a person of the app's realm, picked from app_identity_directory, whom Deploy's identity step gives that work party… |
app_consumes_contract |
appId, contractId |
Record that an app DEPENDS on a contract, pinned to a specific version. |
app_database_plan |
appId, workspaceId, environment |
READ-ONLY. |
app_database_setup |
workspaceId, environment, appRef |
Set up an app's DATABASE now, without a release: the schema, a table for each of the app's entities that is missing, and Data Studio's reader login (and its writer, wher… |
app_export |
appId |
Export a WHOLE app as a file: the App (without its owners, role bindings, first admins and members, environment address, or publication state) and every artifact the app… |
app_identity_adopt_client |
appId, environment, client, clientId |
ADOPT a Keycloak client made outside ONEWEB as this app's login or admin client, in one environment's identity provider — only once the app's owner agrees. |
app_identity_directory |
appId, search |
Search the people of THIS app's realm — the directory its first administrator is picked from (the Workbench's app Access tab). |
app_identity_plan |
appId |
What Deploy's identity step (identity-apply.js) would create or change in Keycloak for this app, per environment of its workspace: the app's realm, its login client and… |
app_import |
envelope, workspaceId, newAppId |
Copy an exported WHOLE APP into a NEW app of a workspace, under the id the person chooses. |
app_move_nav_item |
appId, id, targetId, position |
Reorder a navigation item within its slot — before or after a sibling, or inside another item. |
app_publishes_contract |
appId, contractId |
Record that an app EXPOSES a contract. |
app_remove_first_admin |
appId, username |
Stop naming someone as one of this app's first administrators. |
app_remove_first_member |
appId, workParty, username |
Stop picking someone as a first member of one of this app's work parties. |
app_set_admin_role |
appId, capability |
Name the role whose holders get a NARROWER administration surface in this app's Work Portal (RT-7). |
app_set_base_url |
appId |
Set where this app is actually reachable — its Work Portal origin, e.g. |
app_set_database |
appId, connectionRef |
Declare which database Connection is this app's OWN database — the store Data Studio reads as this app's data. |
app_set_identity |
appId, realm |
Name the Keycloak REALM this app's people sign in through (RT-7 S2): its organisation's realm, shared by every app of that organisation. |
app_set_lifecycle |
appId |
Set an App's own lifecycle status and live version — what the Home app card shows. |
app_set_metadata |
appId |
Set an App's descriptive and governance metadata — the chips on the Project Workspace header. |
app_set_nav_item |
appId, id |
Add, update or remove a navigation item in an App's shell. |
app_set_shell |
appId, section, values |
Patch one section of an App's shell — header, footer, regions, feedback, navigation flags or theme tokens. |
app_set_user_admin_role |
appId |
Name the realm role whose holders may administer this app's users — assign roles, suspend, review (RT-6c). |
app_set_workspace |
appId |
Place an App inside a Workspace — the top of the containment hierarchy Workspace → App → Artifact. |
artifact_* (6)#
| Tool | Required arguments | Purpose |
|---|---|---|
artifact_archive |
artifactId |
Retire an artifact (any status -> archived). |
artifact_export |
artifactId |
Export ONE artifact as a file: its spec, its kind, its name and its app, in a versioned envelope (format oneweb-artifact). |
artifact_import |
envelope, appId |
Copy an exported ARTIFACT into an app as a NEW artifact (a fresh id; never an overwrite). |
artifact_promote_live |
artifactId |
Promote the published version to live (published -> live). |
artifact_publish |
artifactId |
Mark an artifact's current content as reviewed/ready (draft -> published). |
artifact_restore |
artifactId |
Reopen a closed artifact for edits (archived -> draft). |
bundle_* (10)#
| Tool | Required arguments | Purpose |
|---|---|---|
bundle_add_member |
bundleId, ref |
Pin an artifact into a Bundle at a specific seq (defaults to its current lastSeq). |
bundle_create |
name |
Create a Bundle artifact — a named, immutable set of artifacts released together (each member pinned to a specific seq). |
bundle_environment_promotions |
bundleId |
Read-only: a Bundle's promotion history — every environment it was promoted into, when, by whom, and the migrateOrDrain choice recorded per member (if one was required). |
bundle_execute_promotion |
bundleId, environment |
Execute a PREVIOUSLY-RECORDED promotion for real — deploys every Process member as a new engine definition version on the target environment's OWN engine, resolved from… |
bundle_migrate_instances |
bundleId, environment |
Migrate every running instance of each Process member RECORDED as "migrate" (bundle_promote, for the given environment) onto the definition currently deployed there. |
bundle_promote |
bundleId, environment |
Record a Bundle's promotion into a named environment. |
bundle_promotion_executions |
bundleId |
Read-only: a Bundle's EXECUTION history — every real bundle_execute_promotion run, per environment, with each Process member's deployed engine version (or the error that… |
bundle_release_gates |
bundleId, environment |
Read-only: every gate standing between a Bundle and one environment, each with a verdict of ok | warn | blocked and a reason. |
bundle_remove_member |
bundleId, ref |
Remove a member from a Bundle by ref. |
bundle_set_workspace |
bundleId |
Place a Bundle inside a Workspace, or move it to a different one — the containment edge bundle_promote/execute_promotion/migrate_instances/release_gates all default thei… |
connection_* (2)#
| Tool | Required arguments | Purpose |
|---|---|---|
connection_create |
appId, name, kind |
Create a Connection artifact — a named, environment-aware pointer to an external system. |
connection_set_config |
connectionId, config |
Replace a Connection's kind-specific config block (database/http/soap/objectStore/custom — whichever matches its own kind). |
content_* (5)#
| Tool | Required arguments | Purpose |
|---|---|---|
content_add_variable |
contentId, variable |
Declare a typed input variable a Content artifact's template may reference. |
content_create |
appId, name, kind, format, body |
Create a Content artifact — a parameterized template (letter/email/sms/notification body) rendered by interpolating {{expr}} placeholders against typed variables. |
content_remove_variable |
contentId, name |
Remove a declared variable from a Content artifact. |
content_render |
contentId, values |
Render a Content artifact's body (and subject) against real values — a preview, and the same mechanism a generated app's 'download offer letter' action would call. |
content_set_body |
contentId, body |
Replace a Content artifact's body (and optionally subject). |
contract_* (3)#
| Tool | Required arguments | Purpose |
|---|---|---|
contract_create |
name, kind |
Create a Contract artifact — a published, version-pinned interface one app exposes to others. |
contract_drift |
Read-only: every app→contract dependency whose pin no longer matches the provider's live version. | |
contract_set_provider |
contractId, refs |
Name the artifacts that IMPLEMENT this contract (a Flow's expose, a BFF endpoint). |
dashboard_* (6)#
| Tool | Required arguments | Purpose |
|---|---|---|
dashboard_add_series |
dashboardId, id, series |
Add one labeled series entry to a bar/funnel widget. |
dashboard_add_widget |
dashboardId, widget |
Add a widget to a Dashboard. |
dashboard_create |
appId, name |
Create a Dashboard artifact — a grid of analytics widgets, each bound to a real Process node, Decision output, or Entity aggregate. |
dashboard_remove_series |
dashboardId, id, label |
Remove a series entry from a bar/funnel widget by label. |
dashboard_remove_widget |
dashboardId, id |
Remove a widget from a Dashboard by id. |
dashboard_set_widget_source |
dashboardId, id, source |
Replace a kpi/line widget's source. |
data_* (13)#
| Tool | Required arguments | Purpose |
|---|---|---|
data_api_routes |
workspaceId, environment, entityRef |
One entity's generated REST API (gen-api.js): the five routes (list, get, create, change, delete), each with what it does, and the facts a caller needs — whether reads n… |
data_apply_migration |
workspaceId, environment, entityRef, toSeq |
Move ONE entity's table in an environment that needs no approval (Dev) to the entity's model: the migration the generator emits from the version the database records to… |
data_connections |
workspaceId, environment |
Every database Connection a workspace holds, for one environment — the list a Data Studio navigator shows: each one's app and schema, whether it is bound in the environm… |
data_describe_table |
workspaceId, environment, entityRef |
One entity's table in an environment: the model's fields beside the database's columns (type, required, sensitive, primary key, readable by Data Studio), the fields not… |
data_er_diagram |
workspaceId, environment |
The app's schema as an entity-relationship diagram (Mermaid erDiagram syntax, plus the entities/relations/notes it was built from) — derived from the Entity model, the s… |
data_list_tables |
workspaceId, environment |
The tables of an app's database in an environment: each entity's table with its row count (the planner's estimate, or an exact count when never analysed), size, sensitiv… |
data_migration_plan |
workspaceId, environment, entityRef |
What moving an environment's database to its entity's model would do — the version the DATABASE records (ow_schema_version), the version it would be at, each change with… |
data_query |
workspaceId, environment, sql |
Read an app's live data with ONE SELECT (or WITH … SELECT, or VALUES), in an environment. |
data_reveal |
workspaceId, environment, entityRef, key, field, reason |
Show ONE sensitive field of ONE row — a value data_rows and data_query never return — for a stated reason, in any environment where the app's database is bound. |
data_rows |
workspaceId, environment, entityRef |
Rows of one entity's table, filtered, sorted and paged by STRUCTURED arguments — every column name is checked against the entity and quoted, every value is a bind parame… |
data_search |
workspaceId, environment, connectionRefs, query |
Search SEVERAL schemas at once — one database Connection each, at most 10. |
data_test_connection |
workspaceId, environment, connectionRef |
Test a database Connection in an environment, the way a SQL client's Test connection does: reach its server, then sign in as each of Data Studio's logins the Connection… |
data_write_rows |
workspaceId, environment, entityRef, changes |
Change one entity's live rows — insert, update, delete — in an environment that needs no approval (Dev), as ONE transaction: every change lands or none does. |
decision_* (48)#
| Tool | Required arguments | Purpose |
|---|---|---|
decision_add_input |
decisionId, input |
Add an input to an existing Decision. |
decision_add_output |
decisionId, output |
Add an output to an existing Decision. |
decision_add_requirement |
decisionId, decisionRef |
Add a DMN information requirement — an edge of the DRD saying this Decision depends on another. |
decision_add_rule |
decisionId, id, when, then |
Add a rule to a table-kind Decision. |
decision_add_test |
decisionId, name, given, expect |
Add an embedded golden test to a Decision. |
decision_analyze |
decisionId |
Read-only: sweep a table-kind Decision's representative input space for two static defects — completeness (an input combination no enabled rule matches) and overlap (2+… |
decision_approval_status |
decisionId |
Read-only: whether a Decision's current version (or seq) is approved under four-eyes — by whom and when — or, if not, what an approval would cover: the changes since t… |
decision_approve |
decisionId |
Approve one version of a Decision under four-eyes: the approver must have written none of the changes since its last approval (from its creation, if it has none) — a pro… |
decision_bind_term |
decisionId, name, term |
Bind a Decision's input or output to a business term (a Glossary's term), or unbind it (term null). |
decision_clear_challenger |
decisionId |
End this Decision's champion/challenger experiment without promoting. |
decision_clear_flow |
decisionId |
Remove a Decision's orchestration flow entirely, leaving its own logic untouched. |
decision_compile_flow |
decisionId |
Compile a Decision's orchestration flow into a Flow artifact — the executable form. |
decision_create |
appId, name, inputs, outputs, logic |
Create a Decision artifact — a DMN-style rules service with typed inputs/outputs and one executable view (table, expression or tree). |
decision_drift |
decisionId |
Read-only: how far this Decision's rule mix has moved between two recent time windows — a PSI-style score comparing each rule's (and 'unmatched''s) share of evaluations… |
decision_evaluate |
decisionId, inputs |
Read-only: evaluate a Decision against a set of input values and return the resulting outputs. |
decision_experiments |
decisionId |
Read-only: the champion/challenger experiment CURRENTLY running on this Decision (decision_set_challenger), if any — how many cases each side has recorded since it start… |
decision_explain |
decisionId, inputs |
Read-only: evaluate a table-kind Decision and explain not just what matched but why every OTHER enabled rule did not — which input failed which cell, or that the rule wa… |
decision_export_dmn |
decisionId |
Read-only: export a Decision as standard DMN 1.3 XML, together with the sub-decisions it requires, so the resulting model is closed rather than dangling. |
decision_history |
decisionId |
Read-only: a Decision's change history, newest first — every version with who made it (and the agent, if one acted for them), the event's note, and WHAT it changed, diff… |
decision_hit_stats |
decisionId |
Read-only: how often each rule of a Decision actually fires, from the app's OWN recorded evaluations in one environment — evaluations, how many matched no rule, how many… |
decision_import_dmn |
appId, xml |
Import standard DMN 1.3 XML as one or more Decision artifacts, including the DRD edges between them. |
decision_promote_challenger |
decisionId |
Make the challenger the champion: its logic replaces this Decision's logic and the experiment ends, in one undoable write. |
decision_remove_input |
decisionId, name |
Remove an input from a Decision. |
decision_remove_output |
decisionId, name |
Remove an output from a Decision. |
decision_remove_requirement |
decisionId, decisionRef |
Remove a DMN information requirement from a Decision — deletes an edge of the DRD. |
decision_remove_rule |
decisionId, id |
Remove a rule from a table-kind Decision by id. |
decision_remove_test |
decisionId, name |
Remove an embedded golden test from a Decision by name. |
decision_replay |
decisionId, inputs |
Read-only: reconstruct a past Decision evaluation from what its audit row recorded (decision_seq, evaluated_at, inputs) and compare it with what the rules would decide t… |
decision_run_flow |
decisionId |
Run a Decision's orchestration flow against test inputs and return the outcome, the accumulated context, and the exact path taken (node and edge ids) — a design-time sim… |
decision_run_tests |
decisionId |
Read-only: run a Decision's embedded golden tests and return each verdict (name, pass, expected, actual, or the error it threw). |
decision_runtime_deploy |
workspaceId, environment, decisionRef |
Record that an environment's decision runtime should SERVE one Decision version — DESIRED STATE only, in Workspace Environment.decisionRuntime. |
decision_runtime_undeploy |
workspaceId, environment, decisionRef |
Remove one Decision from an environment's decision runtime — DESIRED STATE only, the same gate as decision_runtime_deploy. |
decision_set_challenger |
decisionId, challengerRef, mode |
Start (or adjust) a champion/challenger experiment on this Decision. |
decision_set_expression |
decisionId, source |
Switch a Decision to expression-kind logic, or replace its FEEL source. |
decision_set_flow |
decisionId, flow |
Set (or replace) a Decision's orchestration flow — start, decision steps, gateways and named outcomes. |
decision_set_hit_policy |
decisionId, hitPolicy |
Set a table-kind Decision's DMN hit policy (first, unique, any, priority, collect). |
decision_set_input |
decisionId, name |
Change an existing input in place — its label, type, allowedValues or name — keeping its column position and everything else on it. |
decision_set_monitoring |
decisionId, driftThreshold |
Set (or, with null, clear) a Decision's monitoring.driftThreshold — the PSI score above which decision_drift reports drifting: true. |
decision_set_output |
decisionId, name |
Change an existing output in place — its label, type, allowedValues, default or name — keeping its column position and everything else on it. |
decision_set_rule_dates |
decisionId, id |
Set or clear a rule's effective window on a table-kind Decision. |
decision_set_rule_enabled |
decisionId, id, enabled |
Enable or disable a rule on a table-kind Decision. |
decision_set_table |
decisionId |
Switch a Decision to table-kind logic, or replace a table's whole rule list (row order included). |
decision_set_test |
decisionId, name |
Edit an embedded golden test in place, by name — only what you name changes. |
decision_set_tree |
decisionId, root |
Switch a Decision to tree-kind logic, with a full decision-tree structure (see decision.schema.json's treeNode: a node is a branch — 'test' + 'onTrue' + 'onFalse' — or a… |
decision_simulate |
decisionId, cases |
Read-only: run a batch of historical cases through two versions of a Decision and report what would have changed. |
decision_tree_to_table |
decisionId |
Convert a tree-kind Decision into the first-match TABLE it is equivalent to: one rule per root-to-leaf path, in order (Yes before No), each carrying every answer on its… |
decision_update_rule |
decisionId, id |
Edit one rule of a table-kind Decision in place, by id — only the cells you name change. |
decision_update_tree_node |
decisionId, path, previous |
Change ONE node of a tree-kind Decision, refused if it changed since the caller read it — the tree's counterpart of decision_update_rule. |
deploy_* (7)#
| Tool | Required arguments | Purpose |
|---|---|---|
deploy_cancel |
bundleId, runId |
Stop a deploy run. |
deploy_history |
bundleId |
Read-only: a release's Deployment Center runs, newest first — each run's environment, target kind, trigger (workbench / cli / mcp / jenkins), plan digest, members, who s… |
deploy_logs |
bundleId, runId |
Read-only: a deploy run's log lines after after (a line seq; 0 for the start), oldest first, each with its step and stream (info / stdout / stderr / error). |
deploy_plan |
bundleId, environment |
Read-only: what deploying a release (a Bundle) to one environment WOULD do. |
deploy_rollback |
bundleId, runId |
Undo a succeeded deployment's APPS: put back, in the same environment, what served each of them before it — the other slot's build on a local target, the previous Helm r… |
deploy_start |
bundleId, environment, planDigest |
Deploy a release (Bundle) to an environment: QUEUES a run for a deployer (the Kernel facade starts one on the Postgres backend; npm run deployer by hand), which execut… |
deploy_status |
bundleId, runId |
Read-only: one deploy run — its status (queued / running / succeeded / failed / cancelled), each step's status and timing, the plan's summary, who started it and how, wh… |
ds_* (4)#
| Tool | Required arguments | Purpose |
|---|---|---|
ds_set_component_variant |
designSystemId, component, variant |
Create, update or remove a component variant on a Design System. |
ds_set_palette_role |
designSystemId, role |
Create, update or remove a semantic colour role on a Design System. |
ds_set_scale_step |
designSystemId, scale, name |
Create, update or remove one step of a Design System scale — spacing, radii or elevation. |
ds_set_type_step |
designSystemId, name |
Create, update or remove one step of the Design System type scale. |
entity_* (16)#
| Tool | Required arguments | Purpose |
|---|---|---|
entity_add_field |
entityId, field |
Add a column to an existing Entity. |
entity_add_index |
entityId, fields |
Add an index to an Entity. |
entity_add_relation |
entityId, name, targetRef, cardinality, join |
Add a foreign-key relation from this Entity to another. |
entity_create |
appId, name, fields |
Create an Entity artifact — the data model that generates per-dialect DDL, and later BFF endpoints and forms. |
entity_mark_sensitive |
entityId, fields |
Mark fields sensitive (personal or confidential data). |
entity_remove_field |
entityId, name |
Remove a column from an Entity. |
entity_remove_index |
entityId, name |
Remove an index from an Entity by name. |
entity_remove_relation |
entityId, name |
Remove a relation from an Entity by name. |
entity_remove_row_policy |
entityId, role |
Remove a role's row filter from an Entity. |
entity_set_field |
entityId, field |
Edit a column of an Entity IN PLACE: its type, length, digits, required, unique, default and comment (changes; null removes a property), and, separately and explicitly… |
entity_set_primary_key |
entityId, fields |
Set an Entity's primary key — the ordered list of field names. |
entity_set_public_reads |
entityId, public |
Serve this entity's reads WITHOUT a session, or stop doing so. |
entity_set_residency |
entityId |
Declare the regions this Entity's rows may be stored in (policies.residencyTags) — ALLOWED REGIONS, each a code of two or three upper-case letters compared with an envir… |
entity_set_row_policy |
entityId, role, filter |
Set the row filter for a role on an Entity — which rows that role may see and write — and optionally which COLUMNS it may change on them (writeColumns). |
entity_set_version_field |
entityId |
Turn on optimistic locking for an Entity by naming its row-version column. |
entity_unmark_sensitive |
entityId, fields |
Clear the sensitive mark on fields. |
env_* (8)#
| Tool | Required arguments | Purpose |
|---|---|---|
env_provision_engine_client |
workspaceId, environment |
Make the BPM engine's trusted caller available to apps in one environment: in the realm the environment's identity provider declares, the realm role bpm-engine-caller… |
env_runtime_plan |
workspaceId, environment |
Read-only: an environment's RUNTIME SETUP, item by item — network topology (views and services), identity provider, run history (observability), the engine's database (e… |
env_set_deploy_four_eyes |
workspaceId, environment, on |
Say whether a DEPLOY to an environment needs a second person ("Deploys need a second person"): someone who last changed none of the release's members. |
env_set_engine |
workspaceId, environment |
Say where an environment's BPM ENGINE is (Environment.engine): service — one of its services with a scheme — is where the engine's REST API answers, basePath the API… |
env_set_four_eyes |
workspaceId, environment, kinds |
Require four-eyes approval in an environment: every artifact of the named kinds that a deploy would ship there must be approved, at the version shipped, by someone who w… |
env_set_pipeline |
workspaceId, environment |
Choose which DevSecOps gates an environment's deploy pipeline includes (pipeline_gates lists them): gates is the whole list, each { id, mode } — mode block fails the… |
env_set_target |
workspaceId, environment, target |
Declare WHERE an environment runs: its Deployment Center target — local (Docker on a host), kubernetes, openshift or aws (EKS/ECS) — with the fields that kind needs: clu… |
env_test_target |
workspaceId, environment |
Test an environment's target: CAN a deploy reach it, before anyone tries one. |
failed_* (3)#
| Tool | Required arguments | Purpose |
|---|---|---|
failed_item_delete |
workspaceId, environment, flowId, itemId, reason |
PERMANENTLY remove a failed item — a queue dead letter is acknowledged without being republished, a failed file is deleted. |
failed_item_replay |
workspaceId, environment, flowId, itemId |
Run a failed item again: a queue dead letter is republished to its queue (then removed from the .dlq only once the broker confirmed the copy — it is never lost), a faile… |
failed_items |
workspaceId, environment |
Read-only: what the Hub-triggered flows of an environment could not process — the dead letters in each queue flow's |
flow_* (19)#
| Tool | Required arguments | Purpose |
|---|---|---|
flow_add_edge |
flowId, id, from, to |
Wire two steps of a Flow with a sequence edge (optional condition/label/default — router steps branch this way). |
flow_add_step |
flowId, step |
Add a step to a Flow. |
flow_add_variable |
flowId, name, type |
Declare a NEW variable on an existing Flow. |
flow_create |
appId, name, trigger |
Create a Flow artifact (unified microflow/integration) with its trigger. |
flow_create_engine_door |
flowId |
Create the BPM engine's door onto a flow whose policy the engine's service task cannot meet (oauth2 client credentials, mTLS): a new flow <flow>-engine in the target's… |
flow_insert_step |
flowId, step, onEdge |
Add a step IN THE MIDDLE of a Flow, on an existing route A→B: the route keeps its id, condition, label and default and now leads A→new step, and a new plain route new→B… |
flow_remove_edge |
flowId, edgeId |
Remove a route from a Flow. |
flow_remove_step |
flowId, stepId |
Remove a step from a Flow. |
flow_remove_variable |
flowId, name |
Remove a variable from a Flow. |
flow_replay |
workspaceId, environment, runId |
Replay a recorded flow run: a NEW run of the flow as deployed now, from its first step, with the run's recorded inputs — calling the flow's endpoint with the credential… |
flow_replay_plan |
workspaceId, environment, runId |
Read-only: what replaying a recorded run would need and do, without doing it — the flow version it would run (what is deployed now) and where, the inputs the recording c… |
flow_run |
workspaceId, environment, runId |
Read-only: ONE flow run with every step — its status, timing, attempts, error, and the variables it changed (masked: a variable declared sensitive reads ***), plus the r… |
flow_runs |
workspaceId, environment |
Read-only: the recent runs of flows in an environment — from BOTH runtimes (the Hub worker and the generated app), newest first: flow, runtime, trigger, status, HTTP sta… |
flow_set_edge |
flowId, edgeId |
Change an existing route of a Flow: its condition (compiled here the way gen-flow.js compiles it — the flow's variables are the only names it may read — so a typo is ref… |
flow_set_expose |
flowId, expose |
Publish a Flow as an API endpoint (path/method), optionally gated by a Policy artifact's gateway auth rules (policyRef — resolved against a real Policy). |
flow_set_runtime |
flowId, engine |
Set which worker runtime executes a Flow (java|node). |
flow_set_step |
flowId, stepId |
Change an existing step of a Flow in place: its name, io, resilience, and the config object of ITS OWN type (a rest step's rest, a notify step's notify, …). |
flow_set_trigger |
flowId, trigger |
Replace a Flow's trigger. |
flow_set_variable |
flowId, name |
Replace an EXISTING variable's own definition on a Flow (found by name) — isInput/isOutput/type, etc. |
form_* (24)#
| Tool | Required arguments | Purpose |
|---|---|---|
form_add_block |
formId, id, entityRef, cardinality |
Add a block (form section, or editable grid if cardinality=many) to a Form, bound to an Entity. |
form_add_button |
formId, blockId, id, label |
Add a button to a block (schema: block-level buttons[], not form-level). |
form_add_tab |
formId, id, label, blocks |
Add a tab (a named group of blocks, rendered as one step of a stepper by gen-form.js/gen-work-portal.js) to a Form. |
form_add_widget |
formId, blockId, id, field, kind |
Add a widget to a block. |
form_create |
appId, name, blocks |
Create a Form artifact — the presentation side of an entity screen, opened by a process user task (user.form.formRef) or another form's drill-through. |
form_move_widget |
formId, id, toIndex |
Move a widget to a new position, within its own block or into another block. |
form_remove_access |
formId, target |
Remove the ACL entry for a target id — the inverse of form_set_access, which can only add or replace. |
form_remove_block |
formId, id |
Remove a block from a Form. |
form_remove_button |
formId, id |
Remove a button from a Form, by id (searches every block's buttons[]). |
form_remove_tab |
formId, id |
Remove a tab from a Form, by id. |
form_remove_widget |
formId, id |
Remove a widget from a Form, by id (searches every block). |
form_set_access |
formId, target, mode |
Set (add or replace) an ACL entry on a widget/block/tab id anywhere on the form — mode edit|view|hidden, which roles it applies to, and an optional condition. |
form_set_block_layout |
formId, blockId, columns |
Set how many grid columns a block's widgets flow into (1-4; 1 is the single vertical stack a block has by default). |
form_set_branding |
formId |
Set a form's own visual identity — preset, brand/accent colour, logo, org name, corner radius, field density. |
form_set_button |
formId, id |
Edit an existing button in place — label/visible/action, alone or together. |
form_set_number_locale |
formId, numberLocale |
Set this form's REGION — how it writes numbers and dates. |
form_set_translations |
formId |
Add or replace translations for ONE locale. |
form_set_validation |
formId, blockId, widgetId, validate |
Replace a widget's validate[] rules wholesale (pass [] to clear). |
form_set_widget_config |
formId, blockId, widgetId, config |
Replace a widget's config wholesale (options/maxLength/rows/default/upload/signature/formula/number) — the shape needed to give a select/dynamicSelect/multiSelect/radio… |
form_set_widget_events |
formId, blockId, widgetId, events |
Replace a widget's events[] wholesale (pass [] to clear). |
form_set_widget_field |
formId, blockId, widgetId, field |
Rebind a widget to a different entity field in place — id, label, kind, span, validate[], events[] and anything keyed by the widget id all survive. |
form_set_widget_kind |
formId, blockId, widgetId, kind |
Change an existing widget's kind in place (e.g. |
form_set_widget_label |
formId, blockId, widgetId, label |
Set or clear a widget's label — the text the sheet shows for the field. |
form_set_widget_span |
formId, blockId, widgetId, span |
Set how many of its block's columns a widget occupies (1-4). |
glossary_* (6)#
| Tool | Required arguments | Purpose |
|---|---|---|
glossary_create |
appId, name |
Create a Glossary — a business vocabulary: terms with a label, a definition, a type, a unit, and a label for each of their values. |
glossary_import_terms |
glossaryId, csv |
Import terms into a Glossary from CSV text — for an existing data dictionary (gaps doc §9 Phase B, glossary follow-up d). |
glossary_remove_term |
glossaryId, termId |
Remove a term from a Glossary. |
glossary_set_description |
glossaryId, description |
Set (or, with null, clear) a Glossary's own description — what this vocabulary covers, e.g. |
glossary_set_term |
glossaryId, term |
Add a term to a Glossary, or replace one (by id): its label, definition, type, unit, values (each with a label) and synonyms. |
glossary_terms |
Read-only: the glossaries an app can use — its own, and with includeWorkspace those of every app in its workspace — each with its terms and, per term, every decision inp… |
hub_* (7)#
| Tool | Required arguments | Purpose |
|---|---|---|
hub_deploy |
workspaceId, environment, runtime, flowRef |
Deploy a Flow to an Integration Hub worker runtime in an environment — DESIRED STATE: it records the flow, pinned to a reviewed version and to the Policy/Connection vers… |
hub_deployments |
workspaceId |
Read-only: for each Integration Hub runtime (of one environment, or all), the flows it should run vs what the last apply made it — status never-applied | in-sync | pen… |
hub_diagnose |
workspaceId, environment, flowRef |
Read-only: one flow's health in an environment, in words — its Hub deployment status (in sync, pending, failed, reverted, blocked, drifted locks), its recent run history… |
hub_rollback |
workspaceId, environment, runtime |
Roll an Integration Hub worker runtime's DESIRED STATE back to an earlier successful apply — its exact flows, versions and locked Policies/Connections. |
hub_run |
workspaceId, environment, flowRef |
Run a flow fresh: calls it as deployed now, with the inputs you supply, using the credential its policy requires (its apiKey from the environment's vault, or a token for… |
hub_run_plan |
workspaceId, environment, flowRef |
Read-only: what running this flow fresh would need and do, without doing it — the version it would run (what is deployed now) and where, and the steps whose effect would… |
hub_undeploy |
workspaceId, environment, runtime, flowRef |
Remove a Flow from an Integration Hub worker runtime's desired state. |
kernel_* (11)#
| Tool | Required arguments | Purpose |
|---|---|---|
kernel_artifact_summary |
Every artifact in an app, each with the ONE event that last touched it — id, kind, name, lifecycle status, and lastChange {at, type, note, actor, ai}. |
|
kernel_audit_trail |
The governance audit trail — who changed what, when, and whether AI was involved. | |
kernel_delivery_metrics |
Read-only: DORA delivery metrics for an app, derived from the event log. | |
kernel_diff |
artifactId, fromSeq |
Human-readable diff of an artifact between two event seqs (omit toSeq for current). |
kernel_findings |
Read-only: every quality finding the Kernel can actually compute for an app, each with a severity, the artifact it is about, and what to do. | |
kernel_get_artifact |
artifactId |
Get an artifact's current spec (or at a historical event seq). |
kernel_get_artifact_meta |
artifactId |
An artifact's metadata — kind, name, lastSeq, and its lifecycle status (draft/published/live/archived) with the seq each was stamped at. |
kernel_impact |
artifactId |
Read-only: the blast radius of changing one artifact — every artifact that references it (directly or transitively), grouped by kind, how many of those are LIVE, and for… |
kernel_import_artifact |
kind, id, spec |
Create a NEW artifact from a full exported spec (kernel_get_artifact's own spec field, unmodified — the Export side of Export/Import), or re-import an EXISTING one if… |
kernel_list_artifacts |
List artifacts with their id, kind, name, appId (the owning app's short id; null for a workspace or a bundle), lifecycle status and last seq. | |
kernel_quality_gates |
Read-only: the app's release-gate set, computed server-side from the same scan as kernel_findings — one gate per source, each pass/warn/blocked, plus the gates whose c… |
page_* (14)#
| Tool | Required arguments | Purpose |
|---|---|---|
page_add_component |
pageId, parentId, component |
Add a component (from page-schema component form) under a parent component of a Page artifact. |
page_add_state_field |
pageId, name, type |
Add a field to a Page artifact's typed state schema. |
page_bind_component |
pageId, componentId, kind |
Bind a component to page state / a variable / an action output (parity 1.5). |
page_create |
appId, slug |
Create a new Page artifact with an empty root, ready for page_add_component. |
page_import_html |
appId, slug, html |
Create a Page artifact from HTML. |
page_move_component |
pageId, componentId, targetId, position |
Move a component within a Page's tree — before/after a sibling, or inside a container. |
page_remove_component |
pageId, componentId |
Remove a component and its whole subtree from a Page. |
page_set_action |
pageId, name |
Create, update or remove a named page action (parity 1.8). |
page_set_breakpoint |
pageId, name |
Declare or remove a named responsive breakpoint on a Page. |
page_set_component_event |
pageId, componentId, on |
Attach or remove a component event handler pointing at a named page action (parity 1.7). |
page_set_component_props |
pageId, componentId, props |
Set or clear properties on one component of a Page. |
page_set_component_styles |
pageId, componentId, styles |
Set or clear style properties on one component of a Page, for a given breakpoint. |
page_set_component_text |
pageId, componentId, text |
Set or clear one component's text content — the text field that is a sibling of props, not a prop. |
page_set_variable |
pageId, name |
Create, update or remove a page variable. |
pipeline_* (1)#
| Tool | Required arguments | Purpose |
|---|---|---|
pipeline_gates |
Read-only: the DevSecOps gates an environment's deploy pipeline may include — G0 Plan, G1 Commit, G2 Static analysis, G3 Supply chain, G4 Infrastructure, G5 Tests, G6 Dy… |
policy_* (3)#
| Tool | Required arguments | Purpose |
|---|---|---|
policy_create |
appId, name, auth |
Create a Policy artifact — a gateway auth policy (auth type, mutual TLS, token TTL, scopes) that a Flow's expose.policyRef can point to. |
policy_generate_key |
policyId, environment |
Mint a strong API key for an apiKey Policy in one environment and write it straight to the vault (kv/oneweb/ |
policy_set_auth |
policyId, auth |
Replace a Policy's auth block. |
process_* (42)#
| Tool | Required arguments | Purpose |
|---|---|---|
process_add_boundary_event |
processId, nodeId, id, kind, to |
Add a timer or error boundary event to an existing userTask/serviceTask/notificationTask/subProcess node. |
process_add_edge |
processId, id, from, to |
Add a sequence flow between two nodes of a Process artifact (optional condition/label/default). |
process_add_end_event |
processId, id, name |
Add an end event to a Process artifact. |
process_add_gateway |
processId, id, name |
Add a gateway node to a Process artifact. |
process_add_java_task |
processId, id, name |
Add a Java task — 5.0's javaTask, which invokes a Java class/method on the engine. |
process_add_lane |
processId, id, name |
Add a lane to a Process artifact. |
process_add_notification_task |
processId, id, name, channel |
Add a notificationTask node to a Process — sends a message over channel, using a Content artifact (templateRef) as the body. |
process_add_schedule_start_event |
processId, id, name, cron |
Add a SCHEDULE start event — a start that fires on a cron schedule rather than on demand. |
process_add_script_task |
processId, id, name |
Add a script task to a Process artifact — 5.0's javaTask, which process.schema.json has always mapped to scriptTask. |
process_add_service_task |
processId, id, name |
Add a serviceTask node to a Process — a call to a Flow artifact (flowRef) or a call whose logic corresponds to a Decision (decisionRef, impact-analysis metadata only; st… |
process_add_start_event |
processId, id, name |
Add a start event to a Process artifact. |
process_add_sub_process |
processId, id, name |
Add a subProcess node to a Process — a call-activity-style reference to another Process artifact (processRef), executed ASYNCHRONOUSLY by the engine (the parent resumes… |
process_add_user_task |
processId, id, name, workPartyRef |
Add a user task to a Process artifact (assignment, form binding, optional SLA, optional priority). |
process_add_variable |
processId, name, type |
Add a process variable AFTER creation — process_create's own variables only accepts the list at creation time, with no way to extend it once nodes/edges reference the… |
process_create |
appId, name |
Create a Process artifact with its start and end events. |
process_flow_call |
processId, nodeId |
READ-ONLY. |
process_remove_boundary_event |
processId, nodeId, id |
Remove a boundary event from its host node, found by its id. |
process_remove_edge |
processId, edgeId |
Remove an edge from a Process artifact, found by edge id. |
process_remove_lane |
processId, laneId |
Remove a lane from a Process. |
process_remove_node |
processId, nodeId |
Remove a node from a Process artifact by id. |
process_set_assignment |
processId, nodeId, method |
Set/replace the FULL assignment block on a userTask node — method, workPartyRef, rule-based conditional assignment, and multi-instance. |
process_set_boundary_event |
processId, nodeId, id |
Replace an EXISTING boundary event's own fields (name/timer/error/to), found by its id and host node. |
process_set_case_display |
processId, caseDisplay |
Set how the Work Portal names a case of this Process — PRESENTATION ONLY, never deployed. |
process_set_case_summary |
processId, caseSummary |
Set the Work Portal task screen's case summary card for this Process — PRESENTATION ONLY, never deployed. |
process_set_display_name |
processId, displayName |
Set a Process's human name — PRESENTATION ONLY, never deployed: what the Work Portal and the Workbench show instead of the id (e.g. |
process_set_edge |
processId, edgeId |
Replace an EXISTING edge's own routing fields (label/condition/isDefault), found by edge id. |
process_set_form |
processId, nodeId |
Set/replace the form binding on a userTask node (formRef/pin) — process_add_user_task's own sibling for updating a node already added, the same relationship process_set_… |
process_set_gateway_kind |
processId, nodeId, kind |
Change an existing gateway node's kind (exclusive/parallel/inclusive) in place — the node's id, name, lane and edges are untouched. |
process_set_java |
processId, nodeId, className, methodName |
Point a javaTask at a class and method. |
process_set_lane |
processId, laneId |
Replace an EXISTING lane's name/workPartyRef, found by lane id. |
process_set_node_position |
processId, nodeId, x, y |
Set one node's canvas position (layout.nodes[id]) on a Process artifact — pure geometry, per the schema's own note that semantics must never live here; the compiler and… |
process_set_node_stage |
processId, nodeId, stage |
Put one step in a business stage — PRESENTATION ONLY (the Work Portal tracker; never deployed). |
process_set_notification |
processId, nodeId |
Set/replace the notification config on a notificationTask node (channel/templateRef/connectionRef/flowRef) — process_add_notification_task's own sibling for updating a n… |
process_set_priority |
processId, nodeId, priority |
Set/replace the priority on a process node — process_add_user_task's own sibling for updating a node already added, same relationship process_set_sla has to slaTarget. |
process_set_script |
processId, nodeId, lang, script |
Set a scriptTask's language and body. |
process_set_script |
processId, nodeId, script |
Set a scriptTask's language and body. |
process_set_service |
processId, nodeId |
Set/replace the service config on a serviceTask node (flowRef/pin/decisionRef/inputs/outputs). |
process_set_settings |
processId |
Set one or more of the process-level settings (visibility/executable/workPortalVisible). |
process_set_sla |
processId, nodeId, target |
Set/replace the SLA on a process node (target/warnAt/escalateTo). |
process_set_stages |
processId, stages |
Replace a Process's ordered business stages — PRESENTATION ONLY: the Work Portal's case tracker groups steps into these, and neither the deploy compiler nor the engine r… |
process_set_sub_process |
processId, nodeId |
Set/replace the sub-process config on an existing subProcess node (processRef/pin) — process_add_sub_process's own sibling for updating a node already added, the same re… |
process_set_variable |
processId, name, type |
Replace an EXISTING process variable's own definition (found by name) — type/isInput/isOutput/isList. |
secret_* (2)#
| Tool | Required arguments | Purpose |
|---|---|---|
secret_set |
artifactId, environment, key, value |
Write a credential someone else issued — a Connection's login, a partner's API key, a server's host key — to the vault (kv/oneweb/ |
secret_status |
artifactId |
Read-only: which secrets an artifact needs, per environment of its workspace, and whether each is set in the vault (kv/oneweb/ |
security_* (5)#
| Tool | Required arguments | Purpose |
|---|---|---|
security_add_role |
securityId, role |
Add a role to a Security artifact. |
security_create |
appId, name |
Create a Security artifact — Workbench governance roles, each with a set of capabilities over artifacts (edit/publish/promote/approveProd/operate/contracts/audit). |
security_grant_capability |
securityId, roleName, capability |
Grant one capability to an existing role. |
security_remove_role |
securityId, name |
Remove a role from a Security artifact by name. |
security_revoke_capability |
securityId, roleName, capability |
Revoke one capability from an existing role. |
storage_* (7)#
| Tool | Required arguments | Purpose |
|---|---|---|
storage_buckets |
workspaceId, environment, appRef |
The buckets an app uses — its objectStore Connections — and, per environment, whether each is bound there and has Data Studio's read-only key. |
storage_delete |
workspaceId, environment, connectionRef, key, reason |
Delete ONE file from a bucket, for a stated reason. |
storage_list |
workspaceId, environment, connectionRef |
One folder of a bucket in an environment: its sub-folders and files (key, size, modified), paged. |
storage_search |
workspaceId, environment, connectionRef, query |
Find files by NAME in a bucket — every depth, not one folder — whose name contains the text (case-insensitive). |
storage_signed_link |
workspaceId, environment, connectionRef, key |
A time-boxed link to read ONE file (60 s to 1 h; default 15 min) — checked to exist first, so a typo is a refusal, not a dead link. |
storage_upload_done |
workspaceId, environment, connectionRef, key |
Confirm an upload landed: reads the object back (size, type, etag) with Data Studio's read-only key and records what is really there. |
storage_upload_link |
workspaceId, environment, connectionRef, filename, size |
A short-lived link (5 min) to upload ONE new file into a bucket, straight to the store as the app's own Forms do. |
veda_* (4)#
| Tool | Required arguments | Purpose |
|---|---|---|
veda_begin_composition |
title |
Open a composition and return its uuid. |
veda_end_composition |
compositionId |
Close an open composition, recording which artifacts it touched. |
veda_redo_composition |
compositionId |
Redo a composition previously undone by veda_undo_composition, across all touched artifacts. |
veda_undo_composition |
compositionId |
Undo every change tagged with a compositionId, across all touched artifacts. |
workspace_* (25)#
| Tool | Required arguments | Purpose |
|---|---|---|
workspace_access_history |
workspaceId |
Every grant and revocation in this workspace, oldest first — who was given which role, at what scope, by whom, and when. |
workspace_access_summary |
workspaceId |
Everyone bound in this workspace with their grants (each marked active or expired), the verbs they hold right now and where each comes from, and their separation-of-duti… |
workspace_access_whatif |
workspaceId, change |
What a grant, a revoke or a role change WOULD do, without doing it: each affected principal's verbs gained and lost, separation-of-duties findings introduced and resolve… |
workspace_add_binding |
workspaceId, principalKind, principalId, role |
Grant a principal a role, optionally scoped to one app or artifact and optionally time-limited. |
workspace_add_environment |
workspaceId, name |
Add a deploy environment (e.g. |
workspace_add_role |
workspaceId, name, grants |
Define a role in this workspace — a named set of verbs. |
workspace_add_runtime |
workspaceId, name, runtime, view |
Declare an Integration Hub worker runtime in an environment — a Camel/Quarkus worker that flows can be deployed to with hub_deploy. |
workspace_add_sod_rule |
workspaceId, conflicting |
Declare a separation-of-duties conflict: verbs one principal must not simultaneously hold. |
workspace_bind_connection |
workspaceId, name, connectionRef, service |
Bind a Connection to one of an environment's services — which endpoint the Connection resolves to in THAT environment (Dev, UAT and Prod each bind it separately). |
workspace_create |
Create a Workspace artifact — the Deploy console's environment chain lives on it (see workspace_add_environment). | |
workspace_create_builder |
workspaceId, username, email, role |
Invite someone with no Workbench account yet: create their account in the build realm (no password — they set one from an emailed link) and grant them a role here, in on… |
workspace_directory |
workspaceId |
The people and groups who can sign in to the Workbench (the build realm), each marked with whether they hold anything in this workspace. |
workspace_remove_binding |
workspaceId, principalId, role |
Revoke a grant. |
workspace_remove_environment |
workspaceId, name |
Remove an environment from a Workspace's promotion chain by name. |
workspace_remove_role |
workspaceId, name |
Delete a role definition. |
workspace_remove_runtime |
workspaceId, name, runtime |
Remove a Hub worker runtime from an environment. |
workspace_remove_sod_rule |
workspaceId, conflicting |
Delete a separation-of-duties rule, identified by its verb pair (order does not matter). |
workspace_set_environment |
workspaceId, name |
Replace an EXISTING environment's own fields (requiresApprovalFrom/region/engineConnectionRef), found by name — workspace_add_environment's own sibling for updating an e… |
workspace_set_environment_network |
workspaceId, name, networkViews, services |
Declare an environment's network topology: the views a runtime can see it from (e.g. |
workspace_set_residency |
workspaceId |
Declare the workspace's data-residency policy — the region everything in it must stay in. |
workspace_set_role_grants |
workspaceId, name, grants |
Replace the verbs a role grants. |
workspace_set_runtime |
workspaceId, name, runtime |
Set (or, with service omitted, clear) where an existing Hub worker runtime ANSWERS — one of the environment's services, which must declare a scheme. |
workspace_sod_findings |
workspaceId |
Separation-of-duties conflicts across every principal bound in this workspace — who simultaneously holds a conflicting pair of verbs. |
workspace_unbind_connection |
workspaceId, name, connectionRef |
Remove a Connection's binding from an environment. |
workspace_who_can |
workspaceId, verb |
Who can perform a verb in this workspace — answered by the same resolver the Kernel gate uses, principal by principal. |
9.3 Expression language and FEEL#
Expressions (compile-expr.js) |
FEEL (compile-feel.js) |
|
|---|---|---|
| Used for | Page and flow conditions, form expressions, row filters, workspace binding conditions | Decision tables and decision expressions |
| Parser | One parser → AST → per-target emitters (JS, SQL, Camel Simple) | A separate grammar (DMN mandates FEEL) → AST → evaluator |
| Allowed roots | Depends on the caller: PAGE_EXPR_ROOTS for pages only; a flow's declared variables for flow conditions; fields for forms; columns, claims.* and dep.* for row filters; environment and context for workspace bindings |
The decision's declared inputs |
| Camel Simple limits | The emitter refuses in, ternary and the functions size, has, startsWith, endsWith and round. (A project gotcha says Camel Simple has no unary not; the emitter itself does emit !.) The tool layer checks conditions with the JS emitter, so one using these is accepted when written and refused when the Hub compiles it. See dev-5. |
— |
Field mappings (fieldMap) are plain dot paths, not expressions.
Rule of thumb: never add a second parser. The condition builder and the decision rule templates emit
only a fixed shape and are proved against the real parser by execution
(test-flow-conditions.js, test-condition-templates.js).
9.4 Event types#
The event store accepts only the types its database CHECK constraint lists; the code's list and the
constraint are independent and test-store-pg.js asserts the live constraint. Lifecycle
(publish/promote/archive/restore) is not an event. Notable events recorded outside an artifact's own
history: change_approved (workspace, four-eyes), hub_applied, deployment_started /
deployment_finished, secret_written (names and versions only), identity_applied,
flow_replayed, failed_item_handled. Read the constraint in kernel-poc/sql/ for the full list.
9.5 npm scripts (kernel-poc)#
158 scripts. The suite is the test script.
| Script | Runs |
|---|---|
npm run app:db:setup |
node src/setup-app-database.js |
npm run decision-runtime |
node src/decision-runtime/start.js |
npm run demo |
node src/demo.js |
npm run deploy:loan-origination-v3 |
node src/deploy-loan-origination-v3.js |
npm run deploy:loan-origination-v4 |
node src/deploy-loan-origination-v4.js |
npm run deploy:work-portal-demo |
node src/deploy-work-portal-demo.js |
npm run deployer |
node src/deployer.js |
npm run deprovision:user |
node src/deprovision-user.js |
npm run eval |
node src/eval.js |
npm run eval:build |
node src/eval.js --build |
npm run eval:self-check |
node src/eval.js --self-check |
npm run gates |
node src/run-gates.js |
npm run gen:app |
node src/generate-app.js |
npm run generate:app-env |
node src/generate-app-env.js |
npm run generate:camel |
node src/generate-camel.js |
npm run generate:hub-env |
node src/generate-hub-env.js |
npm run hub:apply |
node src/hub-apply.js |
npm run identity:apply |
node src/identity-apply-cli.js |
npm run import:5.0 |
node src/import-5.0.js |
npm run import:5.0:dry |
node src/import-5.0.js --dry |
npm run import:5.0:page |
node src/import-5.0-page.js |
npm run import:5.0:page:dry |
node src/import-5.0-page.js --dry |
npm run import:cx |
node src/import-cx-tokens.js |
npm run import:html |
node src/import-html.js |
npm run key:rotate |
node src/key-rotate.js |
npm run pg:import |
node src/migrate-jsonl-to-pg.js |
npm run pg:migrate |
docker exec -i oneweb-appdb psql -U postgres -d postgres -v ON_ERROR_STOP=1 < sql/001_kernel_event_store.sql &… |
npm run provision:app-admin |
node src/provision-app-admin-client.js |
npm run provision:app-client-roles |
node src/provision-app-client-roles.js |
npm run provision:backchannel-logout |
node src/provision-backchannel-logout.js |
npm run provision:build-directory |
node src/provision-build-directory.js |
npm run provision:build-realm |
node src/provision-build-realm.js |
npm run provision:build-realm-factors |
node src/provision-build-realm-factors.js |
npm run provision:hub-scopes |
node src/provision-hub-policy-scopes.js |
npm run provision:identity-client |
node src/provision-identity-client.js |
npm run provision:loan-origination-identity |
node src/provision-loan-origination-identity.js |
npm run provision:step-up |
node src/provision-app-step-up.js |
npm run provision:workbench-client |
node src/provision-workbench-client.js |
npm run provision:workbench-identity |
node src/provision-workbench-identity.js |
npm run restore |
node src/restore-6.0.js |
npm run restore:time |
node src/time-restore-steps.js |
npm run seed:app-shell |
node src/seed-app-shell.js |
npm run seed:component-library |
node src/seed-component-library.js |
npm run seed:container-demo |
node src/seed-container-demo.js |
npm run seed:cx-demo |
node src/seed-cx-demo.js |
npm run seed:cx-library |
node src/seed-cx-library.js |
npm run seed:cx-tranche2 |
node src/seed-cx-tranche2.js |
npm run seed:cx-tranche3 |
node src/seed-cx-tranche3.js |
npm run seed:dashboard |
node src/seed-dashboard.js |
npm run seed:db-flow-smoke |
node src/seed-db-flow-smoke.js |
npm run seed:decision |
node src/seed-decision.js |
npm run seed:decision-tree-example |
node src/seed-decision-tree-example.js |
npm run seed:design-system |
node src/seed-design-system.js |
npm run seed:ds-presets |
node src/seed-ds-presets.js |
npm run seed:engine-smoke |
node src/seed-engine-smoke.js |
npm run seed:error-boundary-smoke |
node src/seed-error-boundary-smoke.js |
npm run seed:flow |
node src/seed-flow.js |
npm run seed:inclusive-gateway-smoke |
node src/seed-inclusive-gateway-smoke.js |
npm run seed:loan-origination |
node src/seed-loan-origination.js |
npm run seed:loan-origination-v3 |
node src/seed-loan-origination-v3.js |
npm run seed:loan-origination-v4 |
node src/seed-loan-origination-v4.js |
npm run seed:migrate-timer-smoke |
node src/seed-migrate-timer-smoke.js |
npm run seed:objectstore-flow-smoke |
node src/seed-objectstore-flow-smoke.js |
npm run seed:parallel-gateway-smoke |
node src/seed-parallel-gateway-smoke.js |
npm run seed:security |
node src/seed-security.js |
npm run seed:sub-process-smoke |
node src/seed-sub-process-smoke.js |
npm run seed:support-desk |
node src/seed-support-desk-entities.js |
npm run seed:support-desk-data |
node src/seed-support-desk-data.js |
npm run seed:task-output-gateway-smoke |
node src/seed-task-output-gateway-smoke.js |
npm run seed:timer-boundary-smoke |
node src/seed-timer-boundary-smoke.js |
npm run seed:work-portal-demo |
node src/seed-work-portal-demo.js |
npm run seed:work-portal-nav |
node src/seed-work-portal-nav.js |
npm run seed:workspace-access |
node src/seed-workspace-access.js |
npm run start:work-portal-demo-review |
node src/start-work-portal-demo-review.js |
npm run test |
node src/test-suite-coverage.js && node src/validate-samples.js && node src/test-store-pg.js && node src/test-… |
npm run test:analyze |
node src/test-analyze-decision.js |
npm run test:camel |
node src/test-gen-camel.js |
npm run test:compile |
node src/test-compile-ds.js |
npm run test:coverage |
node src/test-suite-coverage.js |
npm run test:decision |
node src/test-decision-tools.js |
npm run test:decision-runtime |
node src/test-decision-runtime.js |
npm run test:dialects |
node src/dialect-live.js |
npm run test:ds |
node src/test-design-system.js |
npm run test:edit-in-place |
node src/test-edit-in-place.js |
npm run test:expr |
node src/test-compile-expr.js |
npm run test:feel |
node src/test-compile-feel.js |
npm run test:flow |
node src/test-gen-flow.js |
npm run test:gen |
node src/test-gen-nextjs.js |
npm run test:graph |
node src/test-graph.js |
npm run test:hub-apply |
node src/test-hub-apply.js |
npm run test:hub-config |
node src/test-hub-config.js |
npm run test:hub-diagnose |
node src/test-hub-diagnose.js |
npm run test:hub-tools |
node src/test-hub-tools.js |
npm run test:lint-classes |
node src/test-vendor-lint.js |
npm run test:mcp |
node src/test-client.js |
npm run test:mcp:authz |
node src/test-mcp-authz.js |
npm run test:mcp:pg |
node src/test-mcp-pg.js |
npm run test:ow-parity |
node src/test-ow-parity.js |
npm run test:parity |
node src/test-template-parity.js |
npm run test:pg |
node src/test-store-pg.js |
npm run test:prune |
node src/test-prune-generated.js |
npm run test:restore |
node src/test-restore-clean.js |
npm run test:shell |
node src/test-shell.js |
npm run test:slots |
node src/test-slots.js |
npm run test:styles |
node src/test-styles.js |
npm run test:tool-args |
node src/test-tool-args.js |
npm run test:ui-contract |
node src/test-ui-contract.js |
npm run validate |
node src/validate-samples.js |
npm run vault:audit |
node src/vault-audit.js |
npm run vault:import |
node src/vault-import.js |
npm run vault:up |
node src/vault-bootstrap.js |
npm run verify:app-admin-scope |
node src/verify-app-admin-scope.js |
npm run verify:app-audit-review |
node src/verify-app-audit-review.js |
npm run verify:app-client-roles |
node src/verify-app-client-roles.js |
npm run verify:app-onboarding |
node src/verify-app-onboarding.js |
npm run verify:app-people |
node src/verify-app-people.js |
npm run verify:app-role-change |
node src/verify-app-role-change.js |
npm run verify:app-suspension |
node src/verify-app-suspension.js |
npm run verify:app-users |
node src/verify-app-users.js |
npm run verify:authz |
node src/verify-authz.js |
npm run verify:backchannel-logout |
node src/verify-backchannel-logout.js |
npm run verify:build-directory |
node src/verify-build-directory.js |
npm run verify:camel |
node src/verify-camel-parity.js |
npm run verify:cli |
node src/verify-cli.js |
npm run verify:decision-studio |
node src/verify-decision-studio.js |
npm run verify:deploy-local |
node src/verify-deploy-local.js |
npm run verify:deprovisioning |
node src/verify-deprovisioning.js |
npm run verify:dt-bindings |
node src/verify-dt-bindings.js |
npm run verify:dt-governance-console |
node src/verify-dt-governance-console.js |
npm run verify:error-boundary |
node src/verify-error-boundary.js |
npm run verify:failed-items |
node src/verify-failed-items.js |
npm run verify:file-basket |
node src/verify-file-basket.js |
npm run verify:file-trigger |
node src/verify-file-trigger.js |
npm run verify:hub-config |
node src/verify-hub-config.js --env Dev |
npm run verify:inclusive-gateway |
node src/verify-inclusive-gateway.js |
npm run verify:loan-application-flow |
node src/verify-loan-application-flow.js |
npm run verify:loan-origination-ddl |
node src/verify-loan-origination-ddl.js |
npm run verify:loan-origination-v4 |
node src/verify-loan-origination-v4.js |
npm run verify:migrate-timers |
node src/verify-migrate-timers.js |
npm run verify:nodes |
node src/verify-process-nodes.js |
npm run verify:parallel-gateway |
node src/verify-parallel-gateway.js |
npm run verify:plane-separation |
node src/verify-plane-separation.js |
npm run verify:process-deploy |
node src/verify-process-deploy.js |
npm run verify:queue-trigger |
node src/verify-queue-trigger.js |
npm run verify:rest-timeout |
node src/verify-rest-timeout.js |
npm run verify:signatures |
node src/verify-signatures.js |
npm run verify:smtp |
node src/verify-smtp.js |
npm run verify:soap |
node src/verify-soap.js |
npm run verify:step-up |
node src/verify-app-step-up.js |
npm run verify:step-up-app |
node src/verify-app-step-up-app.js |
npm run verify:sub-process |
node src/verify-sub-process.js |
npm run verify:task-output-gateway |
node src/verify-task-output-gateway.js |
npm run verify:task-scope |
node src/verify-work-portal-task-scope.js |
npm run verify:timer-boundary |
node src/verify-timer-boundary.js |
npm run verify:timer-job-lifecycle |
node src/verify-timer-job-lifecycle.js |
npm run verify:tis620 |
node src/verify-tis620.js |
npm run verify:uploads |
node src/verify-uploads.js |
npm run verify:workbench-login |
node src/verify-workbench-login.js |
9.6 Environment variables (kernel-poc)#
156 names found. Only the names and where they are read are listed; meaning is in the cited file.
| Variable | Read in |
|---|---|
APPDB_HOST |
src/db-config.js |
APPDB_NAME |
src/db-config.js |
APPDB_PASSWORD |
src/db-config.js |
APPDB_PORT |
src/db-config.js |
APPDB_REPORTS_URL |
src/add-postcode-lookup.js |
APPDB_USER |
src/db-config.js |
BPM_PGDATABASE |
src/gen-process-deploy.js |
BPM_PGHOST |
src/gen-process-deploy.js |
BPM_PGPASSWORD |
src/gen-process-deploy.js |
BPM_PGPORT |
src/gen-process-deploy.js |
BPM_PGUSER |
src/gen-process-deploy.js |
BPM_URL |
src/http-server.js, src/start-work-portal-demo-review.js, src/tools/bundle.js (+15 more) |
BUREAU_URL |
src/verify-loan-application-flow.js, src/verify-loan-origination.js, src/verify-stress-test.js |
CHROME_PATH |
src/los/ui-harness.js |
CI |
src/esbuild-path.js, src/test-restore-clean.js |
DATABASE_POOL_MAX |
src/gen-api.js, src/gen-flow.js |
DATABASE_URL |
src/gen-api.js, src/gen-flow.js, src/gen-work-portal.js (+3 more) |
DB2CODEPAGE |
src/dialect-live.js |
DECISION_RUNTIME_BUNDLE |
src/decision-runtime/start.js |
DECISION_RUNTIME_HOST |
src/decision-runtime/start.js |
DECISION_RUNTIME_KEY |
src/decision-runtime/start.js, src/gen-flow.js, src/test-app-decision-runtime-env.js (+1 more) |
DECISION_RUNTIME_PORT |
src/decision-runtime/start.js |
DECISION_RUNTIME_URL |
src/gen-flow.js, src/test-app-decision-runtime-env.js, src/test-gen-flow.js |
DOCKER_BIN |
src/deploy-k8s.js |
ENGINE_HISTORY_DB_URL |
src/gen-work-portal.js, src/los/e2e-scenarios.js, src/test-work-follows-roles.js |
ENGINE_HISTORY_POOL_MAX |
src/gen-work-portal.js |
FLOW_ORIGIN |
src/verify-smtp.js |
GITHUB_ACTOR |
src/run-gates.js |
GITHUB_REPOSITORY |
src/run-gates.js |
HELM_BIN |
src/deploy-k8s.js |
HUB_SIDECAR_KEY |
src/gen-hub-sidecar.js, src/test-gen-camel.js |
KERNEL_BACKEND |
src/add-circuit-breaker-demo.js, src/add-credit-check-engine.js, src/add-intake-navigate-button.js (+89 more) |
KERNEL_BEARER_AUDIENCE |
src/kernel-auth.js, src/test-kernel-bearer.js |
KERNEL_BEARER_CLIENTS |
src/kernel-auth.js, src/test-kernel-bearer.js |
KERNEL_BIND |
src/http-server.js |
KERNEL_CORS |
src/http-server.js |
KERNEL_DATA |
src/db-config.js, src/test-kernel-data-path.js |
KERNEL_ENFORCE_BINDINGS |
src/kernel-gate.js, src/test-decision-runtime-tools.js, src/test-failed-item-tools.js (+3 more) |
KERNEL_ENGINE_ENV |
src/deploy-loan-origination.js, src/deploy-personal-loan.js, src/engine-auth.js (+4 more) |
KERNEL_ENGINE_WORKSPACE |
src/engine-auth.js |
KERNEL_ENVIRONMENT |
src/kernel-authz.js |
KERNEL_PUBLIC_URL |
src/kernel-auth.js, src/provision-workbench-client.js, src/verify-authz.js (+2 more) |
KERNEL_REQUIRE_AUTH |
src/kernel-gate.js |
KERNEL_TENANT |
src/db-config.js |
KERNEL_URL |
src/verify-process-nodes-engine.js |
KERNEL_WORKSPACE |
src/kernel-authz.js, src/test-authz.js |
KEYCLOAK_ADMIN_PASSWORD |
src/deprovision-user.js, src/identity-client.js, src/los/08-identity.js (+35 more) |
KEYCLOAK_ADMIN_USER |
src/deprovision-user.js, src/identity-client.js, src/los/08-identity.js (+35 more) |
KEYCLOAK_REALM |
src/keycloak-admin.js, src/los/08-identity.js, src/los/09-app-identity.js (+31 more) |
KEYCLOAK_URL |
src/build-directory.js, src/deprovision-user.js, src/keycloak-admin.js (+36 more) |
KUBECTL_BIN |
src/deploy-k8s.js |
LOS_E2E_TASK_TIMEOUT_MS |
src/los/e2e-scenarios.js |
LOS_MOCK_PORT |
src/los/mock-ttb-services.js |
LOS_MOCK_URL |
src/los/case-runner.js, src/los/e2e-scenarios.js |
LOS_ONLY |
src/los/05-flows.js, src/los/06-forms.js |
LOS_TEST_PASSWORD |
src/los/e2e-scenarios.js |
LOS_TOKEN_LOGIN |
src/los/e2e-scenarios.js |
MAILPIT_API |
src/verify-smtp.js |
MAILPIT_URL |
src/verify-build-directory.js |
MINIO_ENDPOINT |
src/gen-work-portal.js, src/verify-signatures.js, src/verify-uploads.js |
MOCK_API_KEY |
src/mock-credit-bureau-server.js |
NAME |
src/app-env.js |
NODE_ENV |
src/gen-api.js, src/gen-flow.js, src/gen-work-portal.js (+1 more) |
NOT_THE_APPS |
src/test-app-env.js |
OTEL_EXPORTER_OTLP_ENDPOINT |
src/test-gen-flow.js |
OW_ACCOUNT_URL |
src/gen-work-portal.js, src/test-gen-work-portal.js |
OW_ADMIN_CLIENT_ID |
src/gen-work-portal.js, src/test-gen-admin-portal.js, src/verify-app-users.js (+1 more) |
OW_ADMIN_CLIENT_SECRET |
src/gen-work-portal.js, src/test-gen-admin-portal.js, src/verify-app-admin-scope.js (+2 more) |
OW_APP |
src/verify-app-client-roles.js |
OW_APP_DIR |
src/verify-app-people.js, src/verify-app-role-change.js, src/verify-app-suspension.js |
OW_APP_REALM |
src/deprovision-user.js, src/provision-backchannel-logout.js, src/provision-workbench-identity.js (+2 more) |
OW_APP_SMTP_FROM |
src/app-realm-policy.js |
OW_APP_SMTP_FROM_NAME |
src/app-realm-policy.js |
OW_APP_SMTP_HOST |
src/app-realm-policy.js |
OW_APP_SMTP_PORT |
src/app-realm-policy.js |
OW_APP_STRICT_URL |
src/verify-app-client-roles.js |
OW_APP_URL |
src/deploy-loan-origination.js, src/deploy-personal-loan.js, src/deploy-ttb.js (+32 more) |
OW_BACKCHANNEL_HOST |
src/provision-backchannel-logout.js |
OW_BPM_URL |
src/gen-work-portal.js, src/test-env-runtime.js, src/test-gen-admin-portal.js (+1 more) |
OW_BUILD_REALM |
src/deprovision-user.js, src/identity-apply.js, src/provision-backchannel-logout.js (+8 more) |
OW_BUILD_SMTP_FROM |
src/provision-build-directory.js |
OW_BUILD_SMTP_HOST |
src/provision-build-directory.js |
OW_BUILD_SMTP_PORT |
src/provision-build-directory.js |
OW_BUILD_VERIFY_CLIENT |
src/verify-plane-separation.js |
OW_CANDIDATE_QUERY |
src/verify-app-onboarding.js |
OW_DECISION_AUDIT_PAYLOAD |
src/gen-flow.js, src/test-decision-hits.js |
OW_DEPROV_USER |
src/verify-deprovisioning.js |
OW_ENGINE_CLIENT_ID |
src/gen-work-portal.js, src/test-app-env.js, src/test-engine-auth.js |
OW_ENGINE_CLIENT_SECRET |
src/gen-work-portal.js, src/test-app-env.js, src/test-engine-auth.js |
OW_ENGINE_TOKEN_ISSUER |
src/engine-auth.js, src/test-app-env.js, src/test-engine-auth.js (+1 more) |
OW_ESBUILD |
src/esbuild-path.js |
OW_JWKS_URL |
src/gen-api.js, src/test-gen-admin-portal.js, src/test-gen-flow.js |
OW_JWT_AUDIENCE |
src/gen-api.js, src/test-deploy-k8s.js, src/test-gen-admin-portal.js |
OW_JWT_ISSUER |
src/engine-auth.js, src/gen-api.js, src/gen-auth.js (+6 more) |
OW_KERNEL_BACKCHANNEL_URL |
src/provision-backchannel-logout.js |
OW_KERNEL_URL |
src/verify-dt-bindings.js, src/verify-dt-governance-console.js, src/verify-plane-separation.js |
OW_KEYCLOAK_URL |
src/token-source.js, src/verify-app-audit-review.js, src/verify-app-client-roles.js (+21 more) |
OW_LOAN_URL |
src/provision-backchannel-logout.js |
OW_MINIO_CONTAINER |
src/test-data-files.js |
OW_MINIO_ENDPOINT |
src/test-data-files.js |
OW_NEW_USER |
src/verify-app-onboarding.js |
OW_OIDC_CLIENT_ID |
src/gen-admin-portal.js, src/gen-api.js, src/gen-auth.js (+6 more) |
OW_OIDC_CLIENT_SECRET |
src/gen-auth.js, src/gen-work-portal.js |
OW_OIDC_DISCOVERY_URL |
src/gen-api.js, src/gen-auth.js, src/gen-work-portal.js |
OW_OIDC_SCOPE |
src/gen-auth.js |
OW_OTHER_CLIENT |
src/verify-app-client-roles.js |
OW_PLATFORM_REALM |
src/identity-apply.js, src/provision-identity-client.js, src/tools/app.js |
OW_PROBE_PRINCIPAL |
src/verify-dt-governance-console.js |
OW_PROBE_ROLE |
src/verify-dt-governance-console.js |
OW_ROLE_CLIENT_ID |
src/gen-admin-portal.js, src/gen-api.js, src/verify-app-client-roles.js (+1 more) |
OW_ROLE_CLIENT_UUID |
src/gen-work-portal.js, src/test-gen-admin-portal.js, src/verify-app-onboarding.js (+2 more) |
OW_ROLE_STRICT_CLIENT |
src/gen-api.js |
OW_RUN_PAYLOAD |
src/test-gen-flow.js |
OW_SEED_WORKSPACE |
src/seed-workspace-access.js, src/verify-dt-bindings.js, src/verify-dt-governance-console.js |
OW_SUPPORT_URL |
src/provision-backchannel-logout.js |
OW_USER_ADMIN_ROLE |
src/verify-app-people.js, src/verify-app-role-change.js, src/verify-app-suspension.js |
OW_VAULT_ADDR |
src/provision-org-realm.js, src/provision-test-ad.js, src/secret-broker.js |
OW_VERIFY_CLIENT |
src/verify-app-audit-review.js, src/verify-app-client-roles.js, src/verify-app-onboarding.js (+7 more) |
OW_VERIFY_ISSUER |
src/token-source.js |
OW_WB_ADMIN_PASSWORD |
src/verify-app-people.js, src/verify-app-role-change.js, src/verify-app-users.js |
OW_WB_ADMIN_USER |
src/verify-app-audit-review.js, src/verify-app-onboarding.js, src/verify-app-people.js (+3 more) |
OW_WB_PASSWORD |
src/provision-workbench-identity.js, src/verify-app-audit-review.js, src/verify-app-client-roles.js (+12 more) |
OW_WB_SECOND_USER |
src/verify-app-suspension.js |
OW_WB_USER |
src/verify-app-audit-review.js, src/verify-app-client-roles.js, src/verify-app-onboarding.js (+7 more) |
OW_WORKBENCH_CLIENT_ID |
src/kernel-auth.js, src/provision-workbench-client.js |
OW_WORKBENCH_ISSUER |
src/kernel-auth.js, src/test-kernel-bearer.js, src/verify-authz.js (+2 more) |
PATH |
src/test-hub-apply.js |
PGDATABASE |
src/db-config.js |
PGHOST |
src/db-config.js |
PGPASSWORD |
src/db-config.js |
PGPORT |
src/db-config.js |
PGUSER |
src/db-config.js |
POLICY_CREDIT_BUREAU_API_KEY |
src/test-gen-flow.js |
POLICY_CREDIT_CHECK_ENGINE_API_KEY |
src/test-gen-flow.js |
POLICY_DOOR_API_KEY |
src/test-app-env.js |
POLICY_DOOR_API_KEY_PREVIOUS |
src/test-app-env.js |
POLICY_PL_CREDIT_CHECK_API_KEY |
src/test-gen-process-deploy.js |
PORT |
src/http-server.js, src/kernel-auth.js, src/serve-marker.js |
PROXY_PORT |
src/los/mock-proxy.js |
PROXY_TARGET |
src/los/mock-proxy.js |
RABBITMQ_MGMT_URL |
src/rabbitmq-admin.js |
RT_ENGINE_URL |
src/test-env-runtime.js |
SNAP_VERSION |
src/deploy-personal-loan-app.js |
STRESS_APPLICATION_ID |
src/verify-stress-test.js |
SUPPORT_DESK_SCHEMA |
src/seed-support-desk-data.js |
TZ |
src/test-gen-work-portal.js |
UI_CDP_PORT |
src/los/case-browser.js, src/los/ui-harness.js |
UPLOAD_BUCKET |
src/verify-signatures.js, src/verify-uploads.js |
UPLOAD_ORIGIN |
src/verify-uploads.js |
USER |
src/hub-apply.js, src/identity-apply-cli.js |
USERNAME |
src/hub-apply.js, src/identity-apply-cli.js, src/run-gates.js |
VAULT_MINIO_LOAN_DOCS |
src/verify-signatures.js, src/verify-uploads.js |
VEDA_AGENT |
src/mcp-server.js |
VEDA_MODEL |
src/http-server.js, src/mcp-server.js, src/tools/shared.js (+1 more) |
VERIFY_REST_PORT |
src/verify-rest-timeout.js |
VERIFY_TIMER_PORT |
src/verify-timer-job-lifecycle.js |
9.7 UI contract ids#
The generated Work Portal emits data-ow-action / data-ow-region ids only through
kernel-poc/src/ui-contract.js; each app also gets a ui-contract.json of what it really emits.
test-ui-contract.js pins the list: a removal or rename needs a CONTRACT_VERSION bump and breaks
the browser test suite, so tell its owners. Labels and classes are presentation, not contract.
9.8 Refusal catalogue#
Refusals are part of the product. Common ones and what to do:
| Refusal | Meaning | Fix |
|---|---|---|
EDITED_SINCE_IMPORT |
A seed and the stored artifact both changed | node src/seed-adopt.js <id> (--dry first) |
not-approved |
A deploy ships a Decision with no valid four-eyes approval | Another person approves the current sequence |
pinned-not-current |
Release pins an older version than head | Release current, or re-pin |
database-not-ready / no-engine / engine-unresolved |
Environment runtime setup incomplete | Fill the Runtime setup block |
no-flow-address |
A called flow's app has no binding in the Environment | Add the app address |
output-never-set |
A flow output no step sets | Add a Map step that sets it |
| 401 on a credit-check call | App's key older than the vault | generate:app-env, restart; rotate with key:rotate |
| 503 from an API | A row policy could not be enforced (fail closed) | Fix the policy; do not widen it |
| Residency refusal | Environment region not allowed by policy/tags | Declare a region, or change the policy/tags (each is a decision) |