Verification and evidence
A requirement describes observable behavior. An implementation status in the capability profile records delivery. Evidence is maintained here per property and target. An absent or open record makes no verified claim.
Status and scope
| Kind | What a result covers |
|---|---|
| Model analysis | A named property of a stated model with its assumptions and bounds. |
| Implementation check | A named property of an identified implementation artifact and its preconditions. |
| Model-to-implementation check | Agreement on explored cases or traces under a documented correspondence. |
| Test | Observed behavior of the tested revision, configuration and cases. |
| Open | No reproducible result has been recorded for the stated target. |
An undecided result, a timeout or a search that did not find a counterexample must be recorded with its actual limits. If text and formal specifications disagree, record and resolve the discrepancy before treating either as evidence for the shared requirement.
Public record
Add each externally reproducible result next to its target in the index below and link from the covered requirement when practical. A record specifies the requirement and property, evidence kind, target version or source revision and configuration, a link to the exact public artifact and named check, the tool and version, reproduction command or guide, result, assumptions, bounds, and known gaps. A release or source revision is sufficient to pin the target when it identifies the code and artifact unambiguously.
Current TypeScript server
The maintained TypeScript server uses Effect in apps/server under
@getriebe/server.
Paths and commands in the historical records below refer to their pinned
revisions.
At TypeScript revision 921cb352d5e03ac3a1e38608845e09130c676b5c, the
default pnpm check passed 138 tests with Node 26.13.1, pnpm 12.23.0 and
an isolated PostgreSQL 18.7 database. This includes the shared HTTP contract
suite against the built Effect server. The server dispatch model and its
verify:dispatch script live in the maintained server package.
On TypeScript revision 0ed8fb52f7dcec4a6218cd88bfdc416bf0cab5ff,
the local verify:firing, verify:lemma, verify:veil, and
verify:dispatch scripts reproduced their results. Quint 0.35.0 sampled
500 traces of the fixed firing model, and the TypeScript driver replayed
1,200 attempts. Dafny 4.11.0 verified two items. Veil at the pinned
revision explored 99 states and accepted both projected TypeScript
traces. Lean checked onlyCurrentResult under the default proof audit.
The individual records below describe the bounds and assumptions.
Historical TypeScript evidence revision
The recorded implementation revision is c5fde08cc3f6cc6a6ab2175bbe6f601090db1317
in getriebe-ts. Paths and commands below are relative to that revision of the
implementation repository. The evidence is reproducible from a local checkout of
that revision. The TypeScript repository currently has no public release URL.
This pinned revision predates personal assignment and its transition-problem handling. The new rules are not covered by the pinned evidence below.
For personal assignment, implementation revision c89f3ac was checked with
Node 26.13.1, pnpm 12.23.0 and PostgreSQL 18.7 using pnpm check: all 106 tests
passed on SQLite and an isolated local PostgreSQL instance. The tested cases include
direct and role-constrained assignment, authorization, a parallel update to the
source field, preserved assignment on account or role changes, transition
problem deduplication and SQLite restart, a failed personal-assignment transition
on PostgreSQL, competing personal completions on PostgreSQL, and a service
outcome requiring operator attention. These checks do not cover all concurrency
and failure scenarios. To reproduce all PostgreSQL checks, provide separate
disposable databases via the GETRIEBE_TEST_POSTGRES_URL,
GETRIEBE_TEST_TASK_DATA_POSTGRES_URL,
GETRIEBE_TEST_PROCESS_START_POSTGRES_URL,
GETRIEBE_TEST_PERSONAL_ASSIGNMENT_POSTGRES_URL and
GETRIEBE_TEST_PERSONAL_RACE_POSTGRES_URL environment variables.
| Contract targets | Evidence and scope |
|---|---|
| NET-001 | Implementation contract, model analyses and trace checks. Unit tests separately exercise weighted arcs, explicit bindings, snapshots and allocation boundaries. |
| WF-001 to WF-006 | Tests in packages/workflow/test cover embedded execution and restart from a saved state, first-match XOR, default and missing-route behavior, matching AND joins, independent ends and supported loop examples. Model conformance beyond the small Petri firing scenarios remains open. |
| WF-007 and WF-008 | Tests in apps/server/test/worklist.test.ts and apps/server/test/service-tasks.test.ts exercise role claims and task completion, typed registered handlers, stale results, explicit retries and an unresolved service attempt across restart. External effect guarantees require separate evidence. |
| DATA-001 to DATA-004 | packages/process-values/process-values.test.ts and packages/expressions/expressions.test.ts exercise exact values and arithmetic boundaries, typed conditions and errors. apps/server/test/task-data.test.ts exercises stale results and explicit retries under SQLite and PostgreSQL. Complete arithmetic and data-isolation proofs remain open. |
| RES-001 to RES-003 | apps/server/test/worklist.test.ts, admin.test.ts and audit.test.ts exercise exclusive claiming, authorization, administrative release, historical roles, actor and result records, and stable cursor order. The evidence comes from the tested scenarios. |
| STORE-001 to STORE-003 | packages/persistence/test/contract.test.ts covers atomic writes, rollback, conflict, schema checks and reopened stores on SQLite and PostgreSQL. Server tests cover retained models, account records, version references and unresolved service attempts after an orderly restart. Crash durability and recovery beyond those cases remain open. |
| API-001 to API-004 | The tests in apps/server/test cover model history, validation, version-bound start, visibility, auth and capability handling for the tested routes. The HTTP session contract specifies browser integration. The full demo and conformance across all clients remain separate work. |
| CHECK-001 and CHECK-002 | Bounded behavior checker evidence. A proven property is relative to closed reachable-state exploration and the stated abstraction. |
Service dispatch evidence
Verified on TypeScript revision 9edb2ddfd18d6db10dcdd34b50af2bb4313d5616.
For WF-008 and STORE-003,
apps/server/verification/dispatch.qnt models one task, up to two attempts
and one orderly restart. The Lean proof checks onlyCurrentResult in every
reachable state of that model. Acceptance and workflow progression are one
model step. External effects and database behavior are outside that model.
Run pnpm --filter @getriebe/server verify:dispatch with Quint 0.35.0, using
its pinned Lean and Veil dependencies and the default proof audit (standard
Lean axioms).
The shared test a late result cannot advance the workflow while its replacement is running in apps/server-test/support/service-dispatch.ts
follows one model trace over HTTP against the Effect server on SQLite and
PostgreSQL. It checks that the original attempt remains
unknown and only the retry’s result is persisted and advances the workflow.
A controllable handler sets the order of the two returns.
Unknown commit outcome evidence
The shared STORE-001 integration test in
apps/server-test/support/commit-outcome.ts runs an actual User Task
completion over HTTP against the Effect server with PostgreSQL.
A TCP relay cuts the database connection either before forwarding COMMIT
or after PostgreSQL acknowledges it and before the application receives
the acknowledgement. Both cases return 503 commit-unknown after one
completion attempt. The subsequent API reads show either the entire old
state or the completed task and attempt, result, workflow progress and one
success audit event.
Both Effect cases passed on TypeScript revision 9edb2ddfd18d6db10dcdd34b50af2bb4313d5616
with Node 26.13.1 and PostgreSQL 18.7. After building
the TypeScript workspace, point GETRIEBE_TEST_POSTGRES_URL at a disposable
loopback database and run
pnpm exec vitest run apps/server-effect/test -t 'lost PostgreSQL commit response'
at that revision. Use apps/server/test for the maintained server.
These tests exercise the driver and the transaction boundary on a local
plaintext connection with controlled interruption points.
NET-001 evidence
| Kind | Target and result | Reproduce |
|---|---|---|
| Implementation check | At TypeScript revision 648c5adcdeec0d12ec28ca9f5c8602b2c4651ac5, Dafny reported two verified items for the bounded counter in packages/petri/src/token-allocation.ts and three for packages/petri/src/firing-tokens.ts, with zero errors. The latter contracts check a consecutive allocation sequence and the exact token ID set after a place update given its consumed and produced IDs. The claims rely on the LemmaScript translation and integer and collection assumptions. Direct translation of the full firing method stops at unsupported WeakMap and Marking construction. |
pnpm --filter @getriebe/petri verify:lemma with Dafny 4.11.0. The Petri package pins LemmaScript 0.6.16. The package README records the contracts, assumptions and translation probe. |
| Test | At the same revision, packages/petri/test/firing.test.ts checks exact IDs on a self-loop, weighted allocation up to the safe-integer limit, and firing at the live-token limit. The tests check preservation of the input marking on the exercised success and rejection paths. |
pnpm --filter @getriebe/petri test. |
| Model analysis and model-to-implementation check | At TypeScript revision 5496126a8eb97dc91fa52351e99644de0ede47da, Quint found no invariant violations on the three fixed Petri nets. The driver checked enablement, outcomes and exact markings on 1,200 attempts from 100 split/join traces, 120 from 20 self-loop traces, and 120 from 20 weighted-join traces. The explicit-binding traces cover exact replacement, rejection while enabled, and disabled attempts. Controlled changes to the built library were located by model, trace and step. |
pnpm --filter @getriebe/petri verify:firing with Quint 0.35.0, the Rust simulator and seed 42. The three cases sample 500, 50 and 50 traces respectively. The replay only checks the exported attempts. |
| Model analysis | At TypeScript revision c3076e515b9f8bc25665556f71b339a2e459fef9, Veil explored 99 reachable states over Fin 4 without a violation and checked seven inductive properties with SMT trust disabled and Lean reconstruction enabled. The model in packages/petri/verification/veil/Firing.lean records issued and retired IDs and assumes a fresh-ID guard for firing. |
Install Elan and put lake on PATH, then run pnpm --filter @getriebe/petri verify:veil. The package’s Lake project pins Lean 4.35.0, Veil v4.35.0 and its dependencies. |
| Model-to-implementation check | At the same revision, packages/petri/verification/check-veil.ts uses one immutable model name per observed ID across each of two TypeScript traces over a fixed two-place net. Veil accepted both traces, with seven and five attempts. The negative control reuses a drained ID while preserving set sizes. It is satisfiable with per-state renaming and unsatisfiable with shared identities. The projection checks the action sequence and exact observed token sets. It derives issued IDs from the next ID and retired IDs from the issued IDs absent from the live places. |
Same Veil command. The Petri package README documents the projection and model assumptions. |
CHECK-001 and CHECK-002 evidence
packages/model-check/test/behavior.test.ts exercises the checker against
imported BPMN models, including parallel End Events, a concrete XOR failure,
a potentially spurious XOR failure, looping and a search budget hit.
At the historical evidence revision above, apps/server/test/models.test.ts
checks that validation and deployment share the policy and that a rejected
model creates no new usable version. The maintained Effect server applies the
deployment policy in apps/server/src/http/models.ts.
The checker tracks token counts at sequence flows, assumes that activities can
complete and separates results for literal and data-dependent branches. Its default
limits are 1,000 states, 10,000 attempts and 64 live tokens per marking. An
exhausted budget alone yields an undecided result. Concrete-data behavior,
external effects and persistence are outside that abstraction.
Reproducing the test coverage
Run pnpm install --frozen-lockfile then pnpm check with Node.js 26.13.1 and
pnpm 12.23.0. The default run uses SQLite. To include PostgreSQL 18.7, use three
separate disposable databases and set GETRIEBE_TEST_POSTGRES_URL for the
adapter tests, GETRIEBE_TEST_PROCESS_START_POSTGRES_URL for serial start and
archival, and GETRIEBE_TEST_TASK_DATA_POSTGRES_URL for concurrent task data.
The recorded SQLite and PostgreSQL run passed all 86 tests. The implementation
README documents the local PostgreSQL container. The three
formal tools run as separate local checks so the standard test command stays
available without their toolchains.
Embedded Boundary Timer evidence
TypeScript revision 4323d3cb4f068464d01161b6f02428d0ec1cb1a1 covers
WF-009 and
BPMN-012
in the embedded workflow. The BPMN fixture validates with xmllint --schema
against the OMG normative BPMN 2.0.2 schemas.
Import tests cover attachment, duration and language, separate ends, an XOR
merge in a synchronized AND branch, an invalid exit from that branch, and
graph-loop placement. Workflow tests cover controlled activation and firing
times, restore, competing successors, several pending deadlines and stale
requests after revisiting a task.
marking-search/v2 represents a timed task with a waiting token consumed by
one of two alternative transitions. It omits elapsed time, concrete data,
storage and recovery. Within the default budget of 1,000 states, 10,000
attempts and 64 live tokens, a structurally accepted fixture gives a closed
search with deadlock freedom and clean completion in the abstraction. The
same fixture also closes with a one-token limit. A possible missing XOR route
following an abstract timeout is unknown and emits a deployment warning.
These results describe the explored marking graph. Concrete task handling,
server transactions and elapsed-time behavior require their own evidence.
Server deadline evidence
TypeScript revision 474a03a5c8f10976e8edf6d9994fac95a6e3009f passed
pnpm check with 156 tests on Node 26.13.1, SQLite and PostgreSQL 18.7.
Point GETRIEBE_TEST_POSTGRES_URL at a disposable database to include
PostgreSQL. The deadline suite covers both transaction orders, a claimed
task, role changes and new attempts, HTTP visibility, restart before and
after expiry, the original version after a newer deployment, and a backlog
that covers more than one query batch. Commit-outcome fault injection
returns an unconfirmed outcome after an actual commit or an actual rollback,
and tests readback and retry against both backends.
pnpm --filter @getriebe/server verify:deadline uses Quint 0.35.0.
Four explicit scenarios passed. The Rust simulator found no violation of
oneWinner, noEarlyInterrupt or atomicEffects in 1,000 traces of 24
steps with seed 42. The stale request was observed in 732 traces, readback
of a settled transaction in 34, and readback of a pending retry in 13.
The model uses one task with at most two activations and an abstract
before-due/due clock. Recovery models reported and unconfirmed outcomes
around an atomic store. The TypeScript tests exercise the corresponding
completion, interruption and recovery paths. The embedded graph-loop
test exercises stale activation identity as the task is revisited.
Deadline example integration
| Source | Checked revision |
|---|---|
| TypeScript engine and Effect server | 8cf52c1d12673ccf0e78b727ddfcf68428006fc4 |
| Modeler | 4129047428420a95424f83795514bde0fcce60f6 |
| HTTP client and React Worklist | 53dbe004607608e574a1dc3f0474a29042fb8109 |
The 48-hour and one-minute examples and their Modeler exports validate against the normative OMG BPMN XML schemas. Chromium exercised opening, exporting, reopening and deploying both examples against the Effect server. The Worklist showed the due times, then the normal task left the list after approval. For the one-minute example, moving the test clock to the deadline opened Senior review. A late action showed the regular task’s withdrawal and removed its controls. The TypeScript workspace passed 157 tests with SQLite and PostgreSQL, the UI workspace passed 35 tests, and the Modeler passed 21 local and five live-server Chromium cases.
The documentation release check compares the downloadable BPMN files to the selected TypeScript checkout and runs the tutorial helper against Effect and SQLite. It runs the regular approval, holds a claimed task while the server stops, advances the clock to the due time and restarts using the same SQLite file. The helper reads the stored withdrawal, accepts the senior review result, and confirms the process completes. It also type-checks and runs the embedded deadline example. The generated OpenAPI and package references use the same TypeScript checkout.
The WCP-19 diagram was checked in Chromium with both choices, keyboard activation and reset, and with JavaScript disabled. Its static diagram and table explain the same outcomes. The simulation illustrates token and task state changes. The server and Quint evidence cover their own execution and model assumptions.
Parallel review evidence
The parallel User Task profile
has embedded and HTTP evidence at TypeScript revision
299b64b702436c1920f7ed7c55cdc91625121fb5. The TypeScript workspace passed
172 tests on Node 26.13.1 with SQLite and PostgreSQL 18.7. The tests check
two and three review kinds, both decisions, stable inputs, role changes,
out-of-order votes and distinct IDs on resubmission. A restart before
the final vote retains open tasks and the saved vote. A restart after
publication retains the result and creates no further work.
The PostgreSQL overlap fixture makes both transactions read the same
workflow snapshot and checks the serialization retry. The SQLite fixture
overlaps requests at the serialized transaction boundary. Controlled
rollback and uncertainty cases check the durable task, exact attempt,
audit and process state on both adapters. A PostgreSQL transport relay
also drops an actual commit acknowledgement after the final vote.
The resulting 503 commit-unknown is resolved by reading the attempt
and instance. See apps/server/test/parallel-review-durability.test.ts
and run pnpm check with GETRIEBE_TEST_POSTGRES_URL set to a disposable
loopback database.
Model analysis
marking-search/v3 groups admissible lists of equal size. Under the
assumption that eligible users can act, each distinct mapped item offers
the same two Boolean choices. The checker preserves counts of approvals
and rejections and correlates them with a directly following
all(reviewVotes) guard. The order of members, task identities, staffing
and persistence are outside this abstraction. Other data-dependent
conditions are overapproximated. Round sizes above 32 or the live-token
limit leave the search open.
The review-and-revision model closes at 28 states and 39 transitions.
The example with the independent confirmation deadline closes at 33
states and 45 transitions. Both report deadlock freedom, clean completion
and XOR route coverage under the abstraction. Option to complete and
element executability are unknown because some witnesses depend on
abstract choices. With maxStates: 3, all five checks remain unknown.
Run pnpm --filter @getriebe/server verify:parallel-review with
Quint 0.35.0.
Three explicit scenarios passed, covering reverse-order completion and
restart, old round identities and readback. The TypeScript simulator
checked voteOnce, roundProgress, orderedPublication and
priorRoundFinished without finding a violation in 2,000 runs of up to
30 steps with seed 42. The model bounds the domain to two rounds and
permutations of two or three distinct items. It assumes an atomic store.
The model scenarios correspond to the HTTP restart, resubmission and
commit-readback cases. The simulation is sampled.
Combined example integration
| Source | Checked revision |
|---|---|
| TypeScript engine and Effect server | 330d0268342e9740339ab50ca7f700e3856f8317 |
| Modeler | 09a83eb4e2c893c20a25df23536aa22ebaf76b1f |
| HTTP client and React Worklist | ae2cc8d0a28cd25b5358cd01f06aa64bed4a1c3f |
The combined order model at the engine revision above and its unmodified
Modeler export pass the
OMG normative BPMN 2.0.2 schemas.
Changing the marker to sequential still validates against the BPMN schema.
Getriebe reports that variant as unsupported-multi-instance.
Chromium opened, exported, reimported and deployed the model. Two and three
reviewers saw distinct items in the Worklist, claimed there and submitted
votes through the authenticated API. The two-item case completed through
ordinary confirmation. The three-item case published the rejection,
resubmitted a changed order with new round IDs and completed through
Senior sign-off after a controlled clock advanced to the separate
confirmation deadline.
The WCP-14 simulation shows both branches and preserves input order when votes arrive out of order. The Chromium check covered mouse and keyboard input. With JavaScript disabled, the table still shows both outcomes.
Embedded Sub-Process evidence
WF-011,
DATA-006 and
BPMN-014
are exercised at TypeScript revision
23ce22cd3b5dcf06cf3b550c5da2ccb511fdd706. The revision passed
194 tests on fresh SQLite and PostgreSQL 18.7 with Node 26.13.1 and
pnpm 12.23.0. Reproduce with pnpm test:postgres and a disposable
loopback PostgreSQL database in GETRIEBE_TEST_POSTGRES_URL.
| Target | Observed evidence |
|---|---|
| Independent ends | packages/workflow/test/embedded-subprocess.test.ts and apps/server-test/embedded-subprocess.test.ts run both internal task orders. The enclosing task opens once after the second path. |
| Structure and behavior | packages/bpmn/embedded-subprocess.test.ts rejects cross-scope flows and unsupported forms, and reports an input write across a parallel scope. packages/model-check/test/embedded-subprocess.test.ts checks both end orders and locates an internal route that prevents completion. The search uses the default 1,000-state, 10,000-attempt and 64-token budgets. Concrete data, elapsed time and database behavior are outside the abstraction. |
| Durable nested execution | apps/server/test/embedded-subprocess-durability.test.ts exercises a partial review and an open internal timer across restart, timeout with a sibling path still active, concurrent completion, stale results after re-entry and restart after continuation. apps/server/test/completion-data-conflict.test.ts also checks two scopes writing the same parent field in separate attempts. |
| Quint model | pnpm --filter @getriebe/server verify:embedded-subprocess uses Quint 0.35.0. Two fixed schedules pass. Five invariants hold in 10,000 sampled traces of up to 20 steps. All seven observations were reached. The model fixes two entry rounds, two nested scopes and at most one restart. It uses an abstract timeout and atomic accepted transitions. |
Integrated order and WCP-11 examples
The integrated check pins engine 03561f50d8b5ac79232d6500b3e3d8a958097abd, Modeler
a004f0241ddc1711311998407c7b2e7b613082bd and Worklist ba52cf7ee00de44f7b076e77535afbc1d0dcc4a7. It uses an isolated Effect
server with SQLite and a controllable clock, plus the native bpmn-js
Modeler and Chromium. The export passes the normative
BPMN 2.0.2 schema.
The browser suite’s runs an exported order with parallel reviews and a separate deadline case exports, reopens and deploys the order model. It
verifies two unanimous reviews followed by ordinary confirmation. It
also verifies rejection, resubmission with a revised amount and a new
scope execution under the same process ID, a second unanimous round and
escalation to Senior sign-off. Votes stay local in both cases. Run the
Modeler integration suite with GETRIEBE_PARALLEL_EXAMPLE,
GETRIEBE_WORKLIST_ORIGIN and GETRIEBE_TEST_CLOCK_FILE as described in
the Modeler README.
The WCP-11 example
illustrates the two independent paths with an accessible diagram and
both completion orders. The site’s pnpm test checks the player
transitions. Chromium also exercised both orders at 1200 px and 390 px.
The server contract test above checks execution separately.
Embedded decision table evidence
WF-012 and BPMN-015 are exercised by the combined order example.
| Source | Checked revision |
|---|---|
| TypeScript Workflow, BPMN importer and Effect server | 290f2391d8170d0a0fbdf01d2eb6142de7ea3842 |
| Native decision editor and Chromium integration tests | f62d5f40377b06248c09c485af17be798dfee6e5 |
| React Worklist | ba52cf7ee00de44f7b076e77535afbc1d0dcc4a7 |
- The TypeScript suite passed 221 tests with Node 26.13.1, pnpm 12.23.0,
SQLite and PostgreSQL 18.7.
pnpm checkwithGETRIEBE_TEST_POSTGRES_URLset to an isolated loopback database exercises the minimal model, rejected tables and bindings, ordered outputs, exact comparison at 10,000 and immediately below it, and a missing-input failure before continuation. apps/server/test/decision-round-durability.test.tscovers the 9,500 and 10,000 rounds on both adapters. It restarts before and after re-evaluation, verifies the old and new model versions, checks for one saved decision per round and rejects repeat completion. Empty, duplicate and unknown review kinds leave all review worklists empty after the rejected start.- The Modeler test
deploys the reopened decision-table export and uses the edited 12000 thresholduses Chromium and the isolated Effect demo with in-memory SQLite. It reproduces a gap diagnostic, reopens the export with the new bounds, deploys it, and checks that 11,000 starts budget and purchasing review. SetGETRIEBE_DEV_PROXYto the isolated demo andGETRIEBE_DECISION_EXAMPLEtoapps/server/examples/order-approval-with-reviews-and-deadline.bpmnfrom the TypeScript checkout. Run the case withnpm run test:integration -- -g 'edited 12000 threshold'. - The Modeler/Worklist case
runs an exported order with parallel reviews and a separate deadlineopens the native table, exports and reopens the 10,000 model, and deploys it to the Effect server with in-memory SQLite and a controlled clock. Chromium exercises Worklist claims, rejection at 9,500, resubmission at 10,000 on the same instance and version, the second decision and its three tasks, and confirmation escalation. Use the Modeler repository’sGETRIEBE_PARALLEL_EXAMPLE,GETRIEBE_WORKLIST_ORIGIN, andGETRIEBE_TEST_CLOCK_FILEtest configuration. - The minimal model, combined example and both Chromium exports pass the normative XSD checks on the outer BPMN and the extracted DMN. The DMN roundtrip preserves row IDs, literal outputs and type declarations. BPMN 2.0.2 schemas, DMN 1.3 schemas.
marking-search/v4represents the Business Rule Task as a successful automatic transition. The combined model closes within the default limits of 1,000 discovered states, 10,000 firing attempts and 64 live tokens. The next step explores abstract review counts of one, two and three. The execution tests establish the concrete output lists and recovery behavior.
Script Task evidence
The combined order approval
evaluates all(reviewVotes) inside its embedded review round. The
JavaScript example shows the same
typed calculation with a different evaluator.
| Source | Checked revision |
|---|---|
| TypeScript Workflow, BPMN importer, Effect server and examples | bb0797487490d8b6ac0351772a667c000ea0fb7f |
| Modeler and Chromium integration | d88701e7a4a9a818d2f101dca15bcdd33ff4fa6e |
| React Worklist | ba52cf7ee00de44f7b076e77535afbc1d0dcc4a7 |
- The engine passed 252 tests in 52 files with Node 26.13.1, pnpm 12.23.0,
SQLite and PostgreSQL 18.7. Run
pnpm checkwithGETRIEBE_TEST_POSTGRES_URLset to a disposable loopback database. The script tests exercise both vote results, invalid and missing inputs, the declared result type, the initial version after restart, and one continued activity after commit. The rollback injection checks that the result and continuation roll back together. The JavaScript tests also cover syntax, exact numeric wire values, isolated contexts, a disabled evaluator, rejected and resolved Promise returns, exceptions, and timeouts in invocation, result copying and a scheduled microtask. - The Modeler roundtrip preserves the native BPMN format, source and task
data associations. A disabled JavaScript task remains editable and
exportable with a diagnostic. With an isolated Effect server started
using
GETRIEBE_JAVASCRIPT_SCRIPT_TASKS=true, setGETRIEBE_DEV_PROXYto that server andGETRIEBE_SCRIPT_EXAMPLEtoapps/server/examples/script-task-javascript.bpmnin the engine checkout. Runnpm run test:integration -- --grep 'runs both native Script Task exports'. Chromium exported and reopened both variants, deployed the resulting XML and ran unanimous and mixed votes using the returned version IDs. - The order walkthrough exercises a mixed vote, revision to 10,000, the three-person review round and the confirmation deadline. The script evaluation writes the result in the enclosing scope. All eight established live browser cases passed on the controlled-clock server with the Worklist lab. The documentation release check runs both order paths and type-checks and runs the Node embedding snippet. It checks the JavaScript BPMN for preflight with opt-in disabled, both Boolean results with opt-in enabled and a task-local problem for invalid output.
- Both example files, the combined order export and the two Script Task
exports pass the normative
OMG BPMN 2.0.2 XML schemas.
marking-search/v4models a Script Task as one successful automatic transition. Concrete results, failures and persistence are covered by execution tests within the configurations listed above.
Confirmation scope evidence
This run covers WF-014,
the scope deadline in the Worklist and the Cancel Region example.
The TypeScript revision is 00d144dd892c7fac336ddab43d477db2f9504b43.
The native Modeler revision is 4f8046e262b4f4a11df4a8f65f7d59209922b767.
The React Worklist revision is ba52cf7ee00de44f7b076e77535afbc1d0dcc4a7.
| Check | Recorded result |
|---|---|
| TypeScript workspace | pnpm check passed 275 tests with Node 26.13.1, SQLite and PostgreSQL 18.7. The runtime scenarios cover both completion orders, stale timer candidates, recovery, interrupted attempts and authorized task history. |
| Modeler | Playwright 1.65.1 with Chromium created and round-tripped the standard BPMN event types, durations, attachment and paths. The export passed the normative BPMN 2.0.2 XSD checks. |
| Integrated order | The runs an exported order with parallel reviews, a reminder and a scope deadline case reopened and deployed its export, ran early confirmation, waited for one reminder and escalated another instance with both timers due. The real Worklist displayed the deadline and the outer task. |
| Restart with the Modeler export | The same exported XML was deployed on SQLite and PostgreSQL in apps/server/test/confirmation-reminder.test.ts. The scope restored with both timers due, or with only the reminder due. The latter case kept the handler blocked while each scope exit became visible. |
| Sampled model | Quint 0.35.0 passed five deterministic tests and 10,000 sampled traces of up to 20 steps. The model treats transitions as durable actions and abstracts physical database scheduling and the external handler effect. |
| Pattern player | The documentation tests cover the waiting and running paths. Chromium ran the built diagram through regular confirmation and escalation with a running reminder. |
The checked browser export has SHA-256
cf783d1af9d83f39c5a8c962fa762688a7ef2b6bfb30cf316c8ad8cad3c22bf4.
To reproduce it, use the browser integration setup in the Modeler README,
set GETRIEBE_PARALLEL_EXAMPLE to the combined order example and
GETRIEBE_PARALLEL_EXPORT to a writable XML file. Run the integrated Playwright
case with a single worker. Set GETRIEBE_CONFIRMATION_EXPORT to that file,
set GETRIEBE_TEST_POSTGRES_URL to a disposable database, then run the tests
from the built TypeScript workspace:
pnpm exec vitest run apps/server/test/confirmation-reminder.test.tspnpm --filter @getriebe/server verify:confirmation-deadlineUse the five normative BPMN XSD files
with xmllint --nonet --noout --schema "$schema_dir/BPMN20.xsd" "$GETRIEBE_CONFIRMATION_EXPORT".
Call Activity evidence
This record covers WF-015 and
CAP-017 in the capability profile. The Effect server and example source revision is
0c1221104473ae5526fa17f554d990e0c151184e. The Modeler application revision is
1c5a8f23f805e9185f44986b181ce9d951ecc214, and the Compose acceptance test
revision is f72ec3c5e05b82a1e0fe9f57cd076e1c47ed6f60.
The Compose file is from integration example revision
c3520effab416d7686321dd5eb946e19b407319f.
| Check | Recorded result |
|---|---|
| TypeScript workspace | pnpm check passed 322 tests with Node 26.13.1, pnpm 12.23.0, SQLite and PostgreSQL 18.7. The Workflow and Effect cases cover target identity, typed matching, waiting, failed output, one return, shared targets, nested bindings, archived versions, restarts, and both orders of return and withdrawal. |
| Behavior Checker | marking-search/v6 explores the pinned target graphs as waiting scopes. The counterexample test identifies the blocked route in the bound model at a 50-state limit. Server reports use the configured limits. The default budgets are 1,000 states, 10,000 transitions and 64 live tokens. |
| Native editor | Playwright 1.65.1 with Chromium 159 created a Call Activity both with server selection and with manual entry, and reopened both exported documents. Each export was deployed and executed in the Effect server. |
| Compose acceptance | Modeler re-exported and deployed the three example documents. The order ran a two-task rejection at 9,500, resubmitted at 10,000 with a new execution and three tasks, and proceeded to confirmation, reminder, escalation and sign-off. Separate investment runs produced two and three tasks at the same thresholds. All calls used the original bound review version after a newer version was deployed. Redeploying the identical investment XML selected the newer version. |
| Compose compatibility | The integration example’s existing browser test deployed the base order model, restarted the server with a pending review and completed the order on the same stack. |
| Interchange | The three example documents and their Chromium re-exports passed the normative BPMN 2.0.2 XML Schema with xmllint --nonet. The initial caller/target pair and native editor exports passed the same schema. |
The Compose acceptance used locally built images and SQLite. The local image IDs were:
| Component | Image ID |
|---|---|
| Effect server | sha256:c89c1bee0d05dd53f7103e8575a289145c77ca0c4d1dfea75816aa3600eea035 |
| Modeler | sha256:b0b7e4e913dbed3a9e8725694cdfc102b3a3426e9fa29e53c03a61508dab0393 |
| Getriebe Admin | sha256:ce7cf74696158f82343a498264d17c712f4abca51ec8c95ed2525fa897531a66 |
| Example app | sha256:8119db1db354e5a8c743fe9d76cd1dd181e20c6604e229721286a9dcec6d0e94 |
To reproduce the Compose run, build the Effect-server image with
docker build -t getriebe-ts:call-local -f apps/server/Dockerfile . from
its repository root and the Modeler image with
docker build -t getriebe-modeler:call-local . from the Modeler root.
Use a compatible Getriebe Admin image and an example app image from the
Getriebe integration example.
In that checkout, set GETRIEBE_SERVER_IMAGE=getriebe-ts:call-local,
GETRIEBE_MODELER_IMAGE=getriebe-modeler:call-local,
GETRIEBE_ADMIN_IMAGE and GETRIEBE_EXAMPLE_IMAGE to the four references.
Start with a fresh demo volume using
docker compose -p getriebe-call-check up -d --wait.
In the Modeler checkout, set GETRIEBE_COMPOSE_MODELER_URL to the stack’s
Modeler URL, such as http://127.0.0.1:8080/modeler/. Set
GETRIEBE_CALL_EXAMPLES to the Effect server’s apps/server/examples
directory. Then run:
npm run test:integration -- test/call-activity.spec.ts --grep 'runs order and investment'With the five normative BPMN XSD files
in schema_dir and the exports from Playwright in export_dir, run:
xmllint --nonet --noout --schema "$schema_dir/BPMN20.xsd" "$export_dir/review-round.bpmn" "$export_dir/order-approval-with-shared-review.bpmn" "$export_dir/investment-approval.bpmn"For the separate online and offline editor case, set GETRIEBE_DEV_PROXY
to an isolated Effect-server origin and run
npm run test:integration -- test/call-activity.spec.ts --grep 'deploys and runs Call Activities'.
For the checker counterexample, build the TypeScript workspace and run
pnpm exec vitest run packages/model-check/test/call-activity.test.ts.
The checker abstracts data and time. SQLite and PostgreSQL restart and
withdrawal evidence comes from the API tests. The Compose run observes
the real clock and the demonstration reminder handler.
BPMN Error evidence
This record covers WF-016
and CAP-018 in the capability profile.
The TypeScript source revision is ac078ea4fac71d9b36496473bf56c74a2e575cb3.
The Modeler revision is eaa94f02f24f6bc9d62cd648eb20034cf4b8d608.
The Getriebe Admin revision is 012d9b97e043821bfd8f39c9bf89c30fe1d15db6.
| Check | Recorded result |
|---|---|
| Workflow and Effect server | pnpm check with Node 26.13.1, pnpm 12.23.0, SQLite and PostgreSQL 18.7 passed 332 tests. The direct Workflow and HTTP tests execute two separately deployed BPMN files with distinct XML Error IDs. They exercise typed regular return, exact code matching, one boundary continuation and consistently located profile diagnostics. |
| Durable execution | SQLite and PostgreSQL tests exercise the nearest handler, propagation through an embedded scope, interruption of the active call tree, both commit orders with a boundary deadline, late results, and restart of caught and unhandled outcomes. One unhandled Error gives the failed instance one open workflow problem. |
| Behavior Checker | marking-search/v7 checks which bound handler wins, the single Error transition and its scope boundary using token counts. The Error Ends and exact-code handlers are represented explicitly. A modeled unhandled Error is terminal for control-flow analysis. The tests cover an enclosing branch that stays active and show an open search at a one-state budget. Default limits are 1,000 states, 10,000 transitions and 64 live tokens. The abstraction omits data values, token identities, storage and real time. |
| Native Modeler | Playwright 1.65.1 with Chromium created an Error End Event and interrupting Error Boundary Events, edited Errors through the native properties panel, connected the recovery flows and deployed offline and online exports against an isolated Effect server. The server rejected a noninterrupting boundary at its BPMN element. The bundled check passed 33 tests with 11 integration cases skipped, and the targeted live integration and production build passed. |
| Getriebe Admin | Build, typecheck, lint and 10 Vitest tests passed. A separate Chromium 159.0.8154.6 run against the live SQLite Effect server showed the code, throw, catch and execution path. An uncaught run appeared once in the problem list and its link opened the failed instance. |
| XML interchange | Both compact BPMN files, both order-revision BPMN files and the offline Modeler target and caller exports passed xmllint --nonet against the normative BPMN 2.0.2 schema files. |
| Order revision walkthrough | pnpm example:order-revision used its own loopback server and SQLite database. Unchanged revision 1 produced approval and confirmation. A regular rejection opened Revise order. Changing the order from revision 1 to 2 before the final vote threw REVIEW_BASIS_CHANGED. The Error Boundary Event opened Resubmit order. Revision 2 and the new amount produced three fresh review tasks with a new execution ID on the originally bound review version, despite publishing a newer target version. The changed order then completed. |
To reproduce the runtime checks, use a disposable PostgreSQL database and
set GETRIEBE_TEST_POSTGRES_URL before pnpm check in the TypeScript
workspace. Run the order demo independently with pnpm example:order-revision.
In the Modeler workspace, run the targeted test against a local Effect server
with GETRIEBE_DEV_PROXY set to its loopback origin:
npm run test:integration -- --grep 'edits native BPMN Errors'BPMN Message evidence
This record covers WF-017,
WF-018, WF-019, API-005 and CAP-019 through CAP-021 in the
capability profile. The TypeScript source revision is
8535b5f0b3313e90728525e88086029dff8335df. The Modeler revision is
57cc5735c70199d5f2a833927c89424567744532.
| Check | Recorded result |
|---|---|
| Workflow and Effect server | pnpm check passed 342 tests in 65 files with Node 26.13.1, pnpm 12.23.0, SQLite and PostgreSQL 18.7. Tests cover validation against attached XSDs, direct typed mappings, explicit message versions, authorization, idempotent retry, early replies, correlation collisions and proven versus uncertain dispatch outcomes. |
| Durable resolution | Both databases exercise message and timer wins, message arrival after the deadline with a pending timer, withdrawal with a buffered reply, and restart around the decision. The persisted resolution and receipt identify the observed outcome. |
| Behavior Checker | marking-search/v7 visits both gateway successors within the test budget. It abstracts payload values, correlation, time, storage and delivery. The soundness report can leave option to complete unknown when the abstraction omits facts needed for a proof. |
| Native Modeler | With Node 24.22.1, Playwright 1.65.1 and Chromium, three targeted tests passed. They cover offline schema loading and round-trip, creation of a native versioned Message from XSD, and online preflight, deploy and retrieval of the BPMN and XSD. |
| XML interchange | The BPMN runtime fixtures, purchase-order model and Modeler export retrieved from the server passed xmllint --nonet against the normative BPMN 2.0.2 schema files. |
| Purchase-order walkthrough | pnpm example:purchase-order-messages used its own loopback server and SQLite database. The ERP retry returned the original receipt. PO-4711 was confirmed with a consumed receipt. The second run opened Follow up with supplier and recorded the eventual confirmation as late. A separate run in Chromium 159.0.8154.6 claimed and completed both approvals in the Worklist. The follow-up stayed visible after the late confirmation. |
For storage checks, set GETRIEBE_TEST_POSTGRES_URL to a disposable test
database before running pnpm check in the TypeScript workspace. Run the
walkthrough there with pnpm example:purchase-order-messages. The browser
steps are in the purchase-order guide.
In the Modeler workspace, set GETRIEBE_DEV_PROXY to an isolated Effect
server with its demo accounts enabled and run the targeted browser suite:
GETRIEBE_MESSAGE_MODELING_TEST=1 npm run test:integration -- test/messages.spec.ts --workers 1These runs use local demo adapters. The dispatch result records the known handoff state at the adapter boundary. External delivery guarantees depend on the integration’s own delivery and deduplication contract.
Message and timer recovery evidence
This record extends the BPMN Message evidence for
WF-019 at TypeScript revision
de6c01b6d8b427b01acdf939950999fab6ad867b. The earlier record covers ordinary
reply and timer wins and restart around the decision. The added cases
observe recovery when the outcome of the first reply transaction is unknown.
| Kind | Result and scope | Reproduce |
|---|---|---|
| Fixed schedules and sampling | Quint 0.35.0 passed five schedules and 1,000 Rust-backed samples of up to 12 transitions. They cover reply wins before and at the deadline, timer-first handling, replay, and restart after either a committed or rolled-back reply. | pnpm --filter @getriebe/server verify:message-timer. For sampling, run quint run apps/server/verification/message_timer.qnt --backend=rust --seed=0x20261130 --max-samples=1000 --max-steps=12. |
| Full finite exploration | TLC exhausted 15 distinct reachable states, with 37 generated and zero left queued. A weakened replay rule produces two reply continuations after a lost acknowledgement and restart. The model covers one exchange and one wait. It assumes atomic storage of the winner, receipt and continuation. | pnpm --filter @getriebe/server verify:message-timer:tlc with Java 21 and Quint 0.35.0. The server README records the counterexample command. |
| Effect regression | The shared test runs both unknown outcomes on SQLite and PostgreSQL with injected faults. After reopening the store, a committed reply keeps its original consumed receipt. After rollback, the timer can win and replay records the reply as late. The test checks the stored workflow and reads the resolution and tasks through HTTP. | Build the workspace and run pnpm exec vitest run apps/server/test/message-race.test.ts. Set GETRIEBE_TEST_POSTGRES_URL to a disposable database for the PostgreSQL runs. |
| PostgreSQL transaction boundary | Two additional Effect cases use a local plaintext TCP relay. The relay interrupts the reply transaction before forwarding COMMIT or after PostgreSQL acknowledges it. The cases exercise the native adapter and corroborate the injected outcomes at the database boundary. |
Use the same test command and a disposable loopback PostgreSQL database. The integrated pnpm check passed 417 tests with SQLite and PostgreSQL 18.7. |
A broader model with multiple wait activations or competing workers would provide a target for an inductive proof. The recorded runtime tests exercise ordered transactions and store recovery for the selected schedules.
HTTP / REST connector evidence
This record covers the Service Task connector contract.
The tested TypeScript source revision is 57a3b9f75d1bc6124b8dca722b40399cec4309a7.
The Modeler revision is 5b265d2d983baf93a35c0919fc27382b9e14d55e.
The integration revision c0244ecc619258d8e398d45d34c537f17c7e0526 combines the
connector with BPMN Service Operations for registered handlers. The
integration run repeated both live browser tests and both packaged-server
profiles using the original browser export.
| Check | Recorded result |
|---|---|
| Native Modeler | npm run check passed 38 browser tests with 13 integration cases skipped. The two targeted connector tests also passed against a live Effect server. They cover settings, compatible fields, undo and redo, export, reopening, deployment and an unavailable connection. The production build passed. |
| Packaged Effect server | Two local instances from the server image ran the byte-identical Modeler export, using the test and production connection files. Both completed one GET and one POST. They wrote test-W123 and production-W123, respectively. The two targets expected an API key and a Bearer header, using only mock credentials. |
| Service Task worker | pnpm check passed 382 tests in 66 files with SQLite and PostgreSQL 18.7. The connector tests exercise invalid bindings, an unavailable connection, mismatched mappings, rejected HTTP responses, interrupted requests, an invalid JSON result type and a reflected mock credential. Unknown POST results remain visible without a second request. A second connector and a registered handler both finish through the shared worker. |
| XML interchange | The example and the browser export validated against the BPMN 2.0 XML schema. The deployment returned the original export byte for byte in both environments. The four guide downloads match the TypeScript example files. |
The TypeScript HTTP client example and the Compose order-approval example call the Getriebe API. The purchase-order walkthrough uses a local message adapter, and the order revision, amount check and reminder examples use local handlers. The stock reservation demonstrates an outbound Service Task call, with a local inventory endpoint in each environment.
Follow the Connectors guide to repeat the
two inventory runs. To run the targeted browser test against a configured
local demo server, set GETRIEBE_DEV_PROXY to its origin and run:
GETRIEBE_CONNECTOR_LIVE=true GETRIEBE_CONNECTOR_EXPORT="$exported_bpmn" \ npm test -- test/http-connector.spec.tsIn the TypeScript workspace, build the server and run the focused tests with
the browser export. Set GETRIEBE_TEST_POSTGRES_URL to a disposable database
to exercise PostgreSQL alongside SQLite.
pnpm -r --filter @getriebe/server... buildGETRIEBE_TEST_CONNECTOR_BPMN="$exported_bpmn" \ pnpm exec vitest run apps/server/test/http-connector.test.tsModeled service fault evidence
| Check | Recorded result |
|---|---|
| TypeScript Workflow and Effect server | Source revision b1e69ada79e7e2f4aef8e462436db188c8747be7. Normative OMG BPMN schemas accept the exchange fixtures and browser export. On SQLite and PostgreSQL 18.7, pnpm check passed 404 tests. Durable tests cover exact direct and outer catches, unhandled faults, scope withdrawal, current input versions, superseded replies, retry versus a new activation, and recovery before and after acceptance. |
| Modeler | Source revision 0ccfcf1e63b2171ca12ec224d8dba6772c5d338a. The Chromium test creates an Operation, maps XSD fields, selects a declared Error, rejects overlapping HTTP rules, exports and reopens the model, and deploys it against a running Effect server. Its actual export runs through the HTTP fault suite on both databases. The standard Modeler check passed 39 browser tests. |
| Getriebe Admin | Source revision 594e5cd295726c73817e261ed1cabe3ebc8f44f5. The history test reads a Call Activity Error and a direct Service Task fault. It displays the service execution, attempt and selected Boundary Event. |
| Local example | pnpm example:delivery-reservation uses the same BPMN model and local inventory simulator for both orders. HTTP 201 stores test-north-morning. HTTP 409 with code = "slot_closed" opens Choose another delivery slot without writing the reservation result. Completing it with afternoon starts another execution and stores test-north-afternoon. |
The Behavior Checker explores success and each declared fault from the waiting Service Task. It treats external outcomes as abstract alternatives, preserves direct-catch precedence, and reports the unhandled terminal path. Attempt state, HTTP behavior, authorization, persistence and recovery are covered by the separate runtime tests.
The HTTP negative probes exercise an unrelated 409, a missing JSON field, a malformed body, a different status and a dropped POST connection. A handler returning an undeclared code leaves a technical process problem. Run the focused TypeScript evidence with:
pnpm -r --filter @getriebe/server... buildpnpm exec vitest run apps/server/test/service-operation.test.ts \ apps/server/test/service-fault-durability.test.ts apps/server/test/http-fault.test.ts \ packages/model-check/test/error-event.test.tspnpm example:delivery-reservationSet GETRIEBE_TEST_POSTGRES_URL to a disposable PostgreSQL database to
exercise both durable stores. For a live Modeler export, run its demo
server with a connection named warehouse and set GETRIEBE_DEV_PROXY
to that server’s origin:
GETRIEBE_HTTP_FAULT_LIVE=true GETRIEBE_TEST_HTTP_FAULT_BPMN="$exported_bpmn" \ npm test -- test/service-operation.spec.tsThen set GETRIEBE_TEST_HTTP_FAULT_BPMN to the same export path in the
TypeScript HTTP fault suite. Its own local service supplies both the
success and fault responses.
One-shot Boundary Timer evidence
This record covers WF-020,
BPMN-025,
and CAP-024. The TypeScript source revision is
38250ab5e1740cebdf3628b26aad1e367f824e75 and the Modeler revision is
a0fa81d95f9534391cc4041494db030d70761559.
| Path | Recorded result |
|---|---|
| Confirm before the reminder | The existing attempt completes the order. The pending reminder is removed and the handler has zero invocations. |
| Let the reminder fire | reminderHistory records the Boundary Event, pinned model version, task activation, scope, due time, and firing time. The same confirmation task and attempt remain usable. Its Worklist deadline stays at one minute. |
| Confirm with the handler running | The inner Terminate End Event withdraws the service attempt and the order completes immediately. A separate scope probe returns a late handler result with a typed output and confirms that it writes no data. |
| Let the outer deadline win | An in-flight reminder is withdrawn. On restart with both timers due, the handler has zero invocations and no reminder entry is recorded. Senior sign-off opens outside the withdrawn scope. |
The TypeScript check passed 377 tests in 65 files. The controlled-clock HTTP cases ran both packaged models under SQLite and PostgreSQL 18.7. The exported parallel-review model passed the same five cases under each database. Additional probes cover first committed transition, restart before and after firing, stale candidates, separate regular branch completion and a fresh activation on a Sequence Flow revisit. The Behavior Checker represents an optional, one-shot branch and verifies both regular draining of that branch and withdrawal at an inner Terminate End Event. Its abstraction omits time, escalation priority, storage and replay.
Chromium verifies the dashed double circle, Interrupt activity and the export and reopen roundtrip. The live server accepts that export and reports attachment, time-cycle and duplicate-timer findings at the affected events. The combined example runs through the React Worklist after Modeler export and deployment. The minimal fixture, both packaged models and the Modeler export pass the normative BPMN 2.0.2 schema.
Use a disposable PostgreSQL database for
GETRIEBE_TEST_POSTGRES_URL. Run these checks from the TypeScript
workspace after building the packages:
pnpm exec vitest run apps/server/test/confirmation-reminder.test.ts apps/server/test/timers.test.tspnpm exec vitest run packages/workflow/test/timers.test.ts packages/model-check/test/behavior.test.tsFor browser reproduction, start the controlled-clock Effect server in
apps/server/test-support/deadline-browser-server.ts. Point
GETRIEBE_TEST_CLOCK_FILE at a file containing UTC epoch milliseconds.
Serve the Worklist lab with GETRIEBE_API_ORIGIN set to that server.
From the Modeler workspace, set GETRIEBE_DEV_PROXY to the server origin,
GETRIEBE_WORKLIST_ORIGIN to the Worklist origin and
GETRIEBE_PARALLEL_EXAMPLE to the packaged parallel-review example.
Run:
npm run test:integration -- --grep 'runs an exported order with parallel reviews' --workers 1Set GETRIEBE_PARALLEL_EXPORT to save the Chromium export.
Use that file as GETRIEBE_CONFIRMATION_EXPORT when repeating the
parallel-review HTTP cases.
Sequential review evidence
The Multi-Instance User Task contract covers sequential opening, fixed roles and the existing parallel lookup. The modeling walkthrough uses the same BPMN file as the Worklist demonstration.
Source revisions are TypeScript 276595cddb664175f9a903a11e83c4593f9dd564
and Modeler ae2dfa02c67262d7bbf145e0695342003cf93d4b. Runtime checks
used Node 26.13.1 and PostgreSQL 18.7 alongside SQLite. The TypeScript
workspace passed 428 tests in 71 files. Chromium passed the live
Modeler roundtrip and the separate Worklist acceptance case.
| Layer | Verified behavior |
|---|---|
| BPMN import and Workflow library | The normative BPMN 2.0.2 schemas accept the order model, the separate deadline fixture and both Modeler exports. Import diagnoses invalid role assignments and preserves the default parallel mode. Workflow tests check role resolution, one open position, typed input capture across restore, and the final ordered result. |
| Effect server on SQLite and PostgreSQL 18 | A claimed position survives restart. Concurrent completion requests accept the vote once. A forced rollback leaves the vote, audit, and next position or final continuation unchanged together. A conflicting attempt must be renewed after inputs are restored. A modeled resubmission creates a new round with current inputs. Both deadline and completion commit orders retain completed attempts and leave later positions unopened when the deadline wins. |
| Behavior Checker | marking-search/v8 represents one waiting sequential member, vote counts, full publication and scope interruption that clears the round. The parallel tests cover all admissible sizes of a finite lookup domain. Fixed roles have an unbounded list domain. The checker explores at most 32 items subject to state, transition and live-token budgets, and reports open search bounds. It abstracts vote order, roles, task and attempt IDs, time, and storage. |
| Modeler and Worklist | Chromium checks native markers, fixed and lookup role roundtrip, and server diagnostics on the affected element. In the Worklist two purchasing accounts handle three positions with a rejection in the middle. The instance publishes [true, false, true] after the final vote and opens one revision task. Each member’s history retains its own vote. |
Reproduce the runtime and checker evidence from the TypeScript workspace
with a disposable PostgreSQL database in GETRIEBE_TEST_POSTGRES_URL.
pnpm checkpnpm exec vitest run apps/server/test/sequential-review-durability.test.ts packages/model-check/test/behavior.test.tsFor the Modeler test, set GETRIEBE_DEV_PROXY to a local demo Effect
server and run npm run test:integration -- test/multi-instance.spec.ts
in the Modeler workspace. For the Worklist case, start
pnpm example:sequential-order in the TypeScript workspace. Set
GETRIEBE_SEQUENTIAL_WORKLIST_ORIGIN and GETRIEBE_DEV_PROXY to the
printed origin and run the following in the Modeler workspace.
npm run test:integration -- test/server.spec.ts -g 'reviews three order positions' --workers 1