Part 1 — Introduction
1.1 What ONEWEB 6.0 is#
ONEWEB 6.0 is a governed, AI-native application platform. A builder does not write the application; they design it as a set of structured, versioned artifacts — data models, forms, pages, business processes, decision tables, integrations, a glossary — and ONEWEB generates the running application (a Next.js app, its database schema, its APIs, a case-handling Work Portal, an admin portal) and deploys it to an environment.
Three ideas define it:
- One source of truth. Every designer edits the same typed specification (the IR, see Part 2) stored in one place, the Kernel. Designers never read each other's tables.
- Generate, never hand-edit. Output in
generated/is regenerated from the specification. Changing the design and regenerating is the only way to change the app. - Governed by default. Every change is an event in an auditable history, can be undone, and passes through permissions, approvals (four-eyes), residency rules and, optionally, DevSecOps gates before it reaches an environment. AI changes (from Veda, the assistant) go through the same path as human ones: reviewable, undoable, attributed.
The path every change takes is the same whoever makes it:
Authorization against the workspace's role bindings is applied only when KERNEL_ENFORCE_BINDINGS is true; it
defaults to false.
How 6.0 differs from 5.0#
| ONEWEB 5.0 | ONEWEB 6.0 | |
|---|---|---|
| Integration between designers | Shared database schemas (bpm) |
One artifact graph served by the Kernel |
| Runtime packaging | WildFly / WAR / JNDI | Containers, environment-driven config |
| History | Per-designer | Event-sourced, undo/redo, AI provenance |
| Page output | Angular | Framework-neutral IR; Next.js generator |
| AI | None | Veda proposes compositions; same tools, same audit |
| Integrations | Microflows in the app server | Flows compiled for two runtimes (in-app, or the Camel-based Hub) |
The 5.0 stack still exists in platform-dev/ as a reference (Postgres :5432). It holds no Kernel state and no
generated app's data. The BPM engine is the one 5.0 component 6.0 builds around, and its bpm schema lives in that
5.0 database.
1.2 Who it is for#
| Role | Does | Reads |
|---|---|---|
| Builder | Designs apps in the Workbench; generates and deploys to Dev | Parts 1, 2, 4, 5 |
| Operator | Deploys, promotes, watches runs, handles failed items | Parts 1, 3, 5, 7 |
| Developer / extender | Adds tools, step types, designers, generators | Parts 2, 3, 8 |
| Admin / security | Identity, secrets, workspace permissions, pipeline gates | Parts 3, 6 |
Typical journeys, shown concretely in use-cases.md.
1.3 Glossary#
| Term | Meaning |
|---|---|
| Artifact | One typed, versioned specification (an Entity, a Form, a Process…). The unit of design, history and deployment. |
| IR | Intermediate representation: the JSON that describes an artifact, defined by a JSON Schema in kernel-schemas/. |
| Kernel | The service that stores artifacts as events, enforces tool rules and permissions, and answers every designer. |
| Composition | A group of changes applied as one step, so one Undo reverts all of them. |
| Workbench | The browser shell (workbench/apps/shell) hosting the designers. |
| Designer | A Workbench module that edits one family of artifacts (Data model, Forms, Process, Decision, Integration…). |
| Veda | The AI assistant; works only through the Kernel's typed tools. |
| App | A deployable unit grouping its artifacts, shell, identity and database. |
| Workspace | The administrative boundary: members, roles, Environments, residency. |
| Environment | A deployment target within a workspace (Dev, Test, Prod): addresses, bindings, target, approvals. |
| Entity | A data table definition: fields, relations, indexes, row policies. |
| Form | A screen definition bound to an Entity or process task. |
| Process | A BPMN-style business process run by the BPM engine; steps, lanes, work parties. |
| Decision | A FEEL decision table or expression, with tests, hit statistics and approvals. |
| Glossary | Business terms, units and allowed values that Decisions and fields bind to. |
| Flow | An integration: a trigger plus ordered steps (REST, database, file, decision, notify…). |
| Connection | A named external system (database, REST, SFTP, object store, broker…) with no secret values inside. |
| Policy | Authentication requirement on an exposed flow (apiKey, oauth2, none…). |
| Hub | The Camel/Quarkus worker that runs Flows outside the generated app. |
| Work Portal | The generated case-handling UI for process tasks. |
| Four-eyes | A rule that someone other than the author must approve a change or deploy. |
1.4 Quick tour#
From an empty store to a running app, using only visible Workbench controls (the same path the
automated journey-builder test follows):
- Sign in to the Workbench (:3000) with a builder account from the Keycloak realm.
- Create a workspace (starter access gives the six default roles and makes you its admin).
- + New app on Home; it is created inside the open workspace.
- Data model: add an Entity, its fields and a primary key.
- Forms: create a Form on the Entity; drag fields onto blocks.
- Process: draw the case flow, assign work parties, attach the Form to a task.
- Decision: add a decision table for routing or scoring; bind it to a Glossary term.
- Integration: add a Connection and a Flow for an external call.
- App addresses and runtime setup per Environment (services, database, identity).
- Generate the app; review what was and was not generated.
- Deploy: the Deployment Center shows the plan, blockers and digest; start the run.
- Use it: open the Work Portal, start a case, complete a task. Watch runs in Operations.
Screenshots of the designers are in Part 4. Steps 2 to 8 were checked in the real Workbench on 2026-11-05 in a throwaway app: + New app on Home creates an app; on the app's project page the Artifacts tab has + New, which creates an Entity ("Data model"), Form, Decision, Process, Flow, Connection and the other kinds. Steps 9 and 10 were also checked by the builder-journey test: generating and building the app, and Dev's runtime setup, work. Deploying to Dev first failed at the build step for an app with a Decision step (an environment variable nothing derived; a defect, fixed, see Part 7 §7.2). After the fix the whole journey passed, including steps 11 and 12: an end user signed in to the Work Portal, started a case and completed its task. Those runs were by the automated test, not by a person clicking through.