OutWit.Controller.AI.Smt.Scripts
1.0.1
dotnet add package OutWit.Controller.AI.Smt.Scripts --version 1.0.1
NuGet\Install-Package OutWit.Controller.AI.Smt.Scripts -Version 1.0.1
<PackageReference Include="OutWit.Controller.AI.Smt.Scripts" Version="1.0.1" />
<PackageVersion Include="OutWit.Controller.AI.Smt.Scripts" Version="1.0.1" />
<PackageReference Include="OutWit.Controller.AI.Smt.Scripts" />
paket add OutWit.Controller.AI.Smt.Scripts --version 1.0.1
#r "nuget: OutWit.Controller.AI.Smt.Scripts, 1.0.1"
#:package OutWit.Controller.AI.Smt.Scripts@1.0.1
#addin nuget:?package=OutWit.Controller.AI.Smt.Scripts&version=1.0.1
#tool nuget:?package=OutWit.Controller.AI.Smt.Scripts&version=1.0.1
OutWit Controllers
Open-source SDK and reference implementations of OmnibusCloud controllers. Shipped as consumable NuGet packages — most via nuget.org, the Simulation pair via the OmnibusCloud organization feed. Each controller demonstrates a distinct slice of OmnibusCloud's distributed-compute capabilities — basic types, distributed iteration, control flow, linear algebra, distributed rendering, distributed numerical simulation — and serves as a working template for authors writing their own controllers.
Published controllers
All packages live under the OutWit.Controller.* namespace. Rows carrying a
NuGet badge are stable, supported releases on nuget.org; the two Simulation
rows ship on the OmnibusCloud organization feed instead — see the note under
the table.
| Package | Latest | Tier | Purpose |
|---|---|---|---|
OutWit.Controller.Variables |
1 | Primitive types (Int / Bool / String / DateTime / Color / ...) + collections + ranges + tuples. | |
OutWit.Controller.Special |
1 | Control-flow activities — If, Loop, ForEach, parallel variants, Timer, Trace, diagnostics. |
|
OutWit.Controller.Grid |
1 | Distributed execution: Grid.ForEach (fan-out over a collection) + Grid.Delegate (run one activity on the single best node). |
|
OutWit.Controller.Matrices |
2 | Dense + sparse matrix / vector operations with Gustavson multiplication. Ships benchmark .smat data via GitHub Release. |
|
OutWit.Controller.Render.Dcc |
1 | Host-only neutral DCC scene validation and .blend build bootstrap, upstream of Render. |
|
OutWit.Controller.Render |
2 | Distributed rendering via Blender CLI + FFmpeg, delivering external scene dependencies (libraries, caches, volumes, …) to render nodes. Ships per-platform Blender / FFmpeg / benchmark scenes via GitHub Release. | |
OutWit.Controller.Simulation.Schwarz (Simulation/) |
v1.0.1 — nuget.org + OmnibusCloud org feed | 1 | Distributed stationary solves — steady heat / Poisson-class fields on structured Cartesian or axisymmetric (r-z) grids — via overlapping Schwarz domain decomposition. LAN-profile. |
OutWit.Controller.Simulation.Parareal (Simulation/) |
v1.0.3 — nuget.org + OmnibusCloud org feed | 1 | Distributed transient solves — heat / diffusion over a time horizon — via parareal parallel-in-time integration. Crowd/WAN-profile. |
OutWit.Controller.Visualization.ParaView (Visualization/) |
2 | Headless scientific visualization: validates OmnibusCloud ParaView packages (state + content-addressed data) as untrusted input, splits them into per-timestep tasks with per-task attachment subsets, renders through a controller-owned pvpython runner on the software-rendering baseline. Per-platform ParaView runtimes ship via GitHub Release (runtime-proof milestone). | |
OutWit.Controller.CalculiX (CalculiX/) |
2 | Whole-deck CalculiX (ccx 2.22) solves on compute nodes, responses extracted on the node. Pinned ccx builds for Windows / Linux / macOS ship as release assets of OmnibusCloud/CalculiX. | |
OutWit.Controller.Sweep (Sweep/) |
1 | Host-side parameter studies for every solver family - CalculiX decks and OpenFOAM cases - with one activity vocabulary: the study validated up front, chunks fanned out with Grid.ForEach, a manifest of every harvested variant after each chunk (partial results survive cancellation), the sweep.state@2 document for non-.NET clients; OpenFOAM case sets (every variant its own ready case) from 2.1. |
|
OutWit.Controller.OpenFOAM (OpenFOAM/) |
2 | Whole-case OpenFOAM® runs on compute nodes: one case per node through an allow-listed recipe (meshing, decomposition, solver, post step), run-time code refused before anything runs, convergence facts and requested responses read on the node (forces measured during the solve). What it runs and refuses: SUPPORTED-INPUTS.md. Pinned OpenFOAM v2606 kits for Windows / Linux / macOS ship as release assets of OmnibusCloud/OpenFOAM. | |
OutWit.Controller.AI.Verify (AI/) |
1.0.1 — not yet published | 2 | Sandboxed, deterministic, fuel-metered execution of untrusted programs against specifications on anonymous nodes (WebAssembly, wasmtime): code against tests (RLVR rewards), generate and check, math with a computer algebra system; Python (also with sympy or numpy), JavaScript, TypeScript, Ruby, Lua, C and C++ compiled on the node, and compiled WASI modules. A share of the work runs twice on different machines and copies that disagree are settled by three. The engine's native library and the language runtimes ship as release assets of this repository. |
OutWit.Controller.AI.Corpus (AI/) |
1.0.1 — not yet published | 2 | Public web data into training-grade text on anonymous nodes: Common Crawl WET and WARC shards fetched by the nodes from the public origin, HTML and PDF (in a wasm sandbox) extracted, language-tagged with a pinned language pack, cleaned, quality-filtered and signed for near-duplicate removal, every stage deterministic; sampled copies compared across machines; what the preflight states of traffic and storage holds whoever wrote the manifest. The engine's native library and the PDF extractor ship as release assets of this repository. |
OutWit.Controller.AI.Smt (AI/) |
2 | SMT problems solved on anonymous nodes by a pinned Z3 built for WebAssembly and run in the controller's own wasm sandbox, under budgets that are counts and not clocks: check, enumerate and prove, with the same verdict, model and cost on every machine. A share of the packages is solved on two machines and copies that disagree are settled by three; every sat model is checked on the server by an evaluator that shares nothing with the solver; results, report, provenance and integrity are JSON documents with their schemas. The solver module and the engine's native library ship as release assets of this repository. An application starts from docs/application.md. |
|
OutWit.Controller.AI.Smt.Model (AI/) |
— | The language layer and the wire types of Smt: the strict SMT-LIB 2.6 reader and sanitizer, the problem set and its schema, the options, the model evaluator, the preflight and the words of the documents. What an application references to submit a run and to read and check its answers. | |
OutWit.Controller.AI.Smt.Scripts (AI/) |
— | The bundled scripts of Smt (content-only): SmtRun, SmtPreflight, SmtRuntimeDiagnostics. |
OpenFOAM® is a registered trademark of OpenCFD Limited. This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks.
Each controller comes with a companion OutWit.Controller.<Name>.Model
NuGet that contains shared data types — referenced transitively by
consumers, available standalone for tooling.
The two Simulation controllers are the exception: the numerics they share
are not in this repository at all. They consume two packages built from
the private WitMath repository: OutWit.Math.Simulation.Model, the contract
— problem model, wire DTOs and the blob formats these travel in — and
OutWit.Math.Simulation, the numerics on top of it: the control-volume
assembly, the transient stepper, the decomposition and parallel-in-time
kernels. Building
these two projects therefore needs credentials for that feed; every other
controller here builds from nuget.org alone.
Those two controllers are off nuget.org by choice, not by readiness: both
algorithms are complete and live-proven on real distributed pools — a
distributed run reproduces the single-machine reference bitwise, and a node
lost mid-wave is absorbed by reassignment with an identical result. They
are published to the OmnibusCloud organization feed together with their
bundled job scripts (OutWit.Controller.Simulation.Schwarz.Scripts and
OutWit.Controller.Simulation.Parareal.Scripts, v0.1.1). Per-controller
scope and the honest v1 limits are documented in each controller's own
README under Simulation/.
Quick start (consumer)
Add the controllers you need. NuGet pulls Models as transitive deps; the
consumer-side build/.targets in every package stages everything into
@Controllers/<Configuration>/<name>.module/ at build time.
dotnet add package OutWit.Controller.Variables
dotnet add package OutWit.Controller.Grid
dotnet add package OutWit.Controller.Render # ~370 KB nupkg, fetches ~2.2 GB of Blender + FFmpeg at build
dotnet build
After dotnet build, the runtime layout looks like:
bin/Debug/net10.0/@Controllers/Debug/
variables.module/
OutWit.Controller.Variables.dll
OutWit.Controller.Variables.Model.dll
controller.json
grid.module/...
render.module/
OutWit.Controller.Render.dll
OutWit.Controller.Render.Model.dll
controller.json
blender/{windows-x64,linux-x64,macos-arm64}/...
ffmpeg/{windows-x64,linux-x64,macos-arm64}/...
benchmark_scene.blend
benchmark_scene_still.blend
benchmark_scene_video.blend
The @Controllers/ layout is what the OmnibusCloud runtime expects.
Concepts
Controller
A controller is a self-contained capability — a set of activities and
variable types — packaged as a .module/ directory loadable by the
OmnibusCloud runtime. A controller declares itself in a controller.json
manifest that's bundled inside its NuGet package's content/module/.
Activity vs. Adapter vs. Model
- Activity — declarative shape of an operation. Plain data class
derived from
WitActivity*, decorated[MemoryPackable], serialised across the network when distributed. - Adapter — host- or node-side execution. Reads the activity, pulls inputs from the variables pool, runs the actual work, writes outputs.
- Model — types shared between activity and runtime (often the inputs and outputs of activities). Ships as a separate NuGet so external tooling can reference these types without taking the whole controller as a runtime dep.
Tier 1 vs. Tier 2
| Aspect | Tier 1 | Tier 2 |
|---|---|---|
| Examples | Variables, Special, Grid, Render.Dcc | Matrices, Render |
| External assets | none | declared as <ControllerDataAsset> in csproj, hosted on a per-version GitHub Release |
| nupkg size | ~10-300 KB (pure .NET) | ~50 KB-1 MB (just .NET + manifest) |
| Consumer-side fetch | nothing extra | ResolveControllerAssetsTask downloads assets from GH Release at build time; content-addressed cache at ~/.outwit/asset-cache/ |
| When to use | logic-only controllers | controllers that need native binaries, large datasets, or platform-specific blobs |
Path A vs. Path B distribution
Two ways a controller reaches an end-user environment:
Path A — first-party (this repo). Published to nuget.org by an automated workflow; consumer just adds the package. Tier-2 controllers additionally publish a GitHub Release pre-populated by the author tool (
outwit-assets-pack). The Publish workflow has a guard that refuses to push the nupkg until every declared GH Release asset is verifiably reachable.Path B — third-party contributor. Authors who don't have nuget.org publish rights pack their built controller into a self-contained zip using
outwit-controller-packand upload it through the OmnibusCloud admin UI for review. The Pack tool defaults to refusing external<ControllerDataAsset>URIs — everything must be inlined in the zip — unless the author explicitly opts in.
Writing your own controller
See docs/controller-author-guide.md
for the full walkthrough — from template to published package, with a
field-by-field reference of every metadata knob.
Short version: copy one of the existing controller pairs as a template,
adjust ControllerName / Description / PackageTags / activities, and
let the shared Build/OutWit.Controller.props + OutWit.Controller.targets
handle the rest of the wiring.
Controllers serve managed (.NET) initiators with zero extra work. If you
also want non-.NET initiators (C++/Python hosts on the OmnibusCloud
native SDK), publishing is opt-in and fully automated: annotate your Model
DTOs with [JobDocumentContract("<component>.<name>@<major>")] and a
build-time generator emits the JSON Schema + C++/Python bindings; the server
materializes documents into your types at its boundary. See
the guide section
and the worked example in
Render/OutWit.Controller.Render.Model.
Minimal controller csproj:
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Build\OutWit.Controller.props" />
<PropertyGroup>
<ControllerName>MyController</ControllerName>
<Version>1.0.0</Version>
<Description>What this controller does.</Description>
<PackageTags>witengine;witcloud;controller;my-tag</PackageTags>
<ControllerFeatures>my-feature</ControllerFeatures>
<ControllerUseCases>What it's for</ControllerUseCases>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\OutWit.Controller.MyController.Model\OutWit.Controller.MyController.Model.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="build\OutWit.Controller.MyController.targets" Pack="true" PackagePath="build\" />
</ItemGroup>
<Import Project="..\..\Build\OutWit.Controller.targets" />
</Project>
The Model csproj is even smaller — three property lines + the shared
imports. See Variables/OutWit.Controller.Variables.Model/ for the
canonical minimal Model shape.
Repository structure
.
├── Build/ # Shared MSBuild props + targets
│ ├── OutWit.Controller.props # Controller csproj boilerplate
│ ├── OutWit.Controller.targets # PostBuild + pack module + zip
│ ├── OutWit.Controller.Manifest.targets # controller.json emitter + validators
│ ├── OutWit.Controller.Model.props # Model csproj boilerplate
│ ├── OutWit.Controller.Model.targets # Model PostBuild (stages into parent .module/)
│ ├── OutWit.Controller.Scripts.props # Scripts csproj boilerplate (content-only .wit nupkgs)
│ ├── OutWit.Controller.Scripts.targets # Scripts pack (lib marker; .wit files go to content/scripts/)
│ └── OutWit.Controller.Tests.props # Shared test-project boilerplate + module staging
│
├── Variables/ # Tier-1 controller (primitives + collections)
│ ├── OutWit.Controller.Variables/ # Activities + adapters + manifest
│ └── OutWit.Controller.Variables.Model/ # Shared data types
│
├── Special/ # Tier-1 controller (control flow)
├── Grid/ # Tier-1 controller (distributed ForEach + Delegate)
├── Matrices/ # Tier-2 controller (linear algebra + sparse, ships .smat data)
│ ├── OutWit.Controller.Matrices/Resources/ # The .smat asset sources
│ └── OutWit.Controller.Matrices.Scripts/ # Bundled .wit scripts (content-only nupkg)
│
├── Render/
│ ├── OutWit.Controller.Render/ # Tier-2 controller (Blender + FFmpeg pipeline)
│ ├── OutWit.Controller.Render.Model/
│ ├── OutWit.Controller.Render.Scripts/ # Bundled .wit render scripts (content-only nupkg)
│ ├── OutWit.Controller.Render.Dcc/ # Tier-1 host-only DCC bootstrap
│ ├── OutWit.Controller.Render.Dcc.Model/
│ └── OutWit.Controller.Render.Dcc.Scripts/ # Bundled RenderDcc*.wit scripts (content-only nupkg)
│
├── Visualization/ # Headless scientific visualization (ParaView)
│ ├── OutWit.Controller.Visualization.ParaView/ # Tier-2 controller (pvpython runner, allowlist validation, subsetting)
│ ├── OutWit.Controller.Visualization.ParaView.Model/ # Shared data types + paraview.*@1 document vocabulary
│ ├── OutWit.Controller.Visualization.ParaView.Scripts/ # Bundled RenderParaView*.wit scripts (content-only nupkg)
│ ├── OutWit.Controller.Visualization.ParaView.Tests/
│ └── OutWit.Controller.Visualization.ParaView.Tests.FakePvpython/ # Test-only pvpython stand-in (never shipped)
│
├── CalculiX/ # Whole-deck CalculiX solves (Tier-2: pinned ccx from OmnibusCloud/CalculiX releases)
│ ├── OutWit.Controller.CalculiX/ # Ccx.Solve activity: ccx runtime, response extraction, benchmark
│ ├── OutWit.Controller.CalculiX.Model/ # Task / result / extraction data types
│ ├── OutWit.Controller.CalculiX.Tests/
│ └── OutWit.Controller.CalculiX.Tests.FakeCcx/ # Test-only solver stand-in (never shipped)
│
├── Sweep/ # Parameter studies over every solver family (host-only)
│ ├── OutWit.Controller.Sweep/ # Sweep.* activities, the solver families (ISweepFamily), the bundled scripts
│ ├── OutWit.Controller.Sweep.Model/ # Study / plan / state / manifest data types + the sweep.* document vocabulary
│ ├── OutWit.Controller.Sweep.Scripts/ # SweepCalculiX.wit, SweepOpenFOAM.wit (content-only nupkg)
│ └── OutWit.Controller.Sweep.Tests/ # Engine gates for both families, the fault gate, model and family tests
│
├── OpenFOAM/ # Whole-case OpenFOAM runs (Tier-2: pinned kits from OmnibusCloud/OpenFOAM releases)
│ ├── OutWit.Controller.OpenFOAM/ # Foam.Run activity: case inspection, kit runtime, extraction
│ ├── OutWit.Controller.OpenFOAM.Model/ # Case / task / result / response data types + the case rules (Rules/)
│ ├── OutWit.Controller.OpenFOAM.Tests/ # Unit + engine-gate tests, plus the real-kit oracle (Category=Kit)
│ └── OutWit.Controller.OpenFOAM.Tests.FakeFoam/ # Test-only solver stand-in (never shipped)
│
├── Simulation/ # Distributed numerical simulation (org-feed packages)
│ # model + numerics come from OutWit.Math.Simulation[.Model] (private feed)
│ ├── OutWit.Controller.Simulation.Schwarz/ # Stationary solves (domain decomposition)
│ ├── OutWit.Controller.Simulation.Schwarz.Scripts/ # Bundled SchwarzSolve.wit (content-only nupkg)
│ ├── OutWit.Controller.Simulation.Parareal/ # Transient solves (parallel-in-time)
│ └── OutWit.Controller.Simulation.Parareal.Scripts/ # Bundled PararealSolve.wit (content-only nupkg)
│
├── AI/ # The AI controllers (Verify, Corpus, Smt), each with its Model, Scripts, Assets, live tool and Tests
│ ├── OutWit.Controller.AI.Smt/ # SMT problems in a wasm sandbox: activities, the solver profile, the settlement, docs/ (the application page, the reference, the schemas)
│ ├── OutWit.Controller.AI.Smt.Model/ # The SMT-LIB reader and sanitizer, the model evaluator, the problem set, the options, the wire types
│ ├── OutWit.Controller.AI.Smt.Scripts/ # SmtRun.wit, SmtPreflight.wit, SmtRuntimeDiagnostics.wit (content-only nupkg)
│ ├── OutWit.Controller.AI.Smt.Assets/ # The toolchain that builds the Z3 module, released as a data asset
│ ├── OutWit.Controller.AI.Smt.Live/ # smt-live, the developer's live client, and the demo kits (never packed)
│ └── OutWit.Controller.AI.Smt.Tests/
│
├── Tools/
│ ├── OutWit.Controller.Pack/ # Path-B author tool: pack module/ -> contributor zip
│ ├── OutWit.Controller.Pack.Tests/
│ ├── OutWit.Controller.Assets.Pack/ # Path-A author tool: stage Tier-2 assets + GH Release publish
│ └── OutWit.Controller.Assets.Pack.Tests/
│
├── .github/workflows/
│ ├── publish.yml # Unified publish pipeline (any controller / model / tool)
│ ├── ai-smt.yml # The Smt controller and its live tool on Linux, macOS and Windows
│ ├── ai-smt-long-tail.yml # Smt's long-tail kit: its scripts, every row read, its sample solved
│ ├── ai-smt-toolchain.yml # Smt's Z3 module built twice from pinned sources and compared
│ ├── verify-render-consumer.yml # Cold-build smoke test of the published Render package
│ ├── verify-scripts-consumer.yml # Cold-build smoke test of a published Scripts package
│ ├── openfoam-oracle.yml # The OpenFOAM controller against the real kits (Linux, macOS, Windows)
│ └── sweep.yml # Sweep, CalculiX and OpenFOAM tests on Linux, macOS and Windows
│
├── OutWit.slnx # Solution file (SLNX format, .NET 10)
├── global.json # The exact .NET SDK every build uses (no roll-forward)
├── LICENSE # MIT
└── README.md # this file
Build infrastructure
The shared Build/ props + targets handle every boilerplate concern so
each controller csproj only carries its own identity. The flow at build
time is roughly:
<ControllerName>,<Version>,<Description>etc. set in the per-controller csproj.Build/OutWit.Controller.propsinjects<TargetFramework>net10.0</TargetFramework>,<PackageLicenseExpression>MIT</PackageLicenseExpression>, common dependencies (OutWit.Engine.Data,OutWit.Engine.Assets.MSBuild), icon / readme / license packaging.Build/OutWit.Controller.Manifest.targetsvalidates the declarations (every asset needs a Uri, a Sha256 of 64 lower-case hex digits that is not all zeros, and a Size, etc.), then emits thecontroller.jsonfor the build.Build/OutWit.Controller.targetsstages the controller's outputs into$(SolutionDir)@Controllers/<Cfg>/<name>.module/, produces an@Zips/<Cfg>/<name>.zip(used by the BlobCacheService path on the OmnibusCloud server side), and packs the files the build's records list for the module (not whatever else lies in the folder) into the nupkg'scontent/module/plus alib/<tfm>/_._marker (so NuGet considers the package framework-compatible).- The consumer-side
build/OutWit.Controller.<Name>.targetsships inside each nupkg'sbuild/folder and auto-imports in any consumer csproj that references the package. It copiescontent/module/*into the consumer's$(OutputPath)@Controllers/<Cfg>/<name>.module/and invokesResolveControllerAssetsTaskfromOutWit.Engine.Assets.MSBuildto fetch external assets (Tier 2 only).
Tooling
outwit-assets-pack
The author-side tool for Tier-2 controllers. Reads
<ControllerDataAsset> declarations from your csproj, packs the matching
source folders / files into staged artifacts, computes SHA256, rewrites
the csproj with the new SHA / Size / Uri, and optionally creates the
matching GitHub Release with everything uploaded — in a single command.
dotnet tool install -g OutWit.Controller.Assets.Pack
outwit-assets-pack My.Controller.csproj --prerequisites ./assets --version 1.2.0 --apply --push-release
See Tools/OutWit.Controller.Assets.Pack/README.md for the full reference.
outwit-controller-pack
The Path-B contributor tool. Reads a built <name>.module/ directory,
validates the manifest, refuses external asset URIs by default
(everything must be inlined in the zip), and produces a single
self-contained .zip ready for upload through the OmnibusCloud admin UI.
dotnet tool install -g OutWit.Controller.Pack
outwit-controller-pack ./bin/Release/net10.0/@Controllers/Debug/my-controller.module
See Tools/OutWit.Controller.Pack/README.md.
CI
| Workflow | Trigger | Purpose |
|---|---|---|
publish.yml |
workflow_dispatch |
Publish any project: GitHub Packages from any branch; nuget.org (trusted publishing, off by default) and GitHub Releases from main only, through the release environment. Tier-2 controllers (Render, ParaView, OpenFOAM) have a release-assets-exist guard before the nuget.org push; the AI controllers' data assets are fetched and held to their pins before any push. |
verify-render-consumer.yml |
workflow_dispatch |
Cold-build smoke test: PackageReference the published Render package, assert every external asset materialised. |
verify-scripts-consumer.yml |
workflow_dispatch |
Cold-build smoke test: PackageReference a published Scripts package, assert the staged @Scripts/*.wit layout matches what WitCloud's ScriptSeeder expects. |
openfoam-oracle.yml |
PR touching OpenFOAM/**, workflow_dispatch |
The OpenFOAM controller against the real v2606 kits downloaded from OmnibusCloud/OpenFOAM: pitzDaily through Foam.Run serially and on two ranks (Linux, macOS), serially on Windows, plus the whole ordinary test run per platform. |
sweep.yml |
PR touching Sweep/**, CalculiX/**, OpenFOAM/**, workflow_dispatch |
The sweep and its solver families on Linux, macOS and Windows: the Sweep engine gates for CalculiX and OpenFOAM (fake solvers), the fault gate, the model and family tests, and the CalculiX and OpenFOAM controller tests. |
ai-smt.yml |
PR touching AI/OutWit.Controller.AI.Smt*/**, AI/Shared/**, Grid/**, Variables/**, Build/**; push to main touching the same; workflow_dispatch |
The Smt controller on Linux, macOS and Windows: the language layer, the solver's outcomes held to one file of digests and fuel on the three platforms, SmtRun through the engine with honest and lying in-process nodes, the documents held to the code; the live tool's tests and its self-contained build run where it is unpacked; a slice of the SMT-LIB release solved; the load test of ten thousand problems on Linux. |
ai-smt-long-tail.yml |
PR touching the long-tail kit, the controller, its model package, the module's pins or the pinned engine library; workflow_dispatch |
The long-tail kit of Smt's live tool: the tests of its scripts, every one of its problems streamed from the SMT-LIB release, held to its hash and read by the server's reader, and its sample of forty solved in the controller's sandbox. |
ai-smt-toolchain.yml |
PR or push to main touching AI/OutWit.Controller.AI.Smt.Assets/toolchain/**; workflow_dispatch |
Smt's solver module: Z3 built for wasm32-wasip1 from pinned sources and tools on two runner images, compared byte for byte, held to its pins and run; it releases nothing (the data asset's release is made by hand from a passing run). |
A separate external smoke test lives outside this repository: it
consumes the nuget.org-published controllers in a single dotnet build
and asserts that every expected path lands in the @Controllers/
layout. The organization-feed Simulation packages are covered by their
own test suites instead.
Related packages
Controllers build on the published OutWit.Engine.* packages:
| Package | Role |
|---|---|
OutWit.Engine.Data |
Data models + base classes (ModelBase, value comparisons, etc.). |
OutWit.Engine.Interfaces |
Core interfaces and contracts. |
OutWit.Engine.Assets.MSBuild |
The ResolveControllerAssetsTask MSBuild task that materialises Tier-2 assets. |
OutWit.Engine.Assets |
Underlying manifest reader + resolver chain + content-addressed cache. |
OutWit.Engine.Sdk |
Dev-time SDK with a single-node engine instance. Used in test projects only, never referenced by a controller's own csproj. |
Where the SDK fits
The runtime split is intentional:
A controller's own csproj references only
OutWit.Engine.Data(andOutWit.Engine.Interfacesfor Models that need them). These are contract-level packages — types and base classes. The sharedBuild/OutWit.Controller.propspulls them in automatically. Controllers do not depend on the engine runtime — they're loaded by it.The controller's test project (e.g.
MyController.Tests.csproj) referencesOutWit.Engine.Sdk. The SDK ships a single-node engine you can spin up in-process, point at a built<name>.module/, and drive through job scripts:[OneTimeSetUp] public void Setup() => WitEngineSdk.Instance.Reload(); [Test] public async Task MyActivity_DoesItsThing() { var job = WitEngineSdk.Instance.Compile(@" Job:Test() { Int:result = MyActivity(21); } "); var status = await WitEngineSdk.Instance.ScheduleAndWaitAsync(job); Assert.That(status.Result, Is.EqualTo(WitProcessingResult.Completed)); }This is how a controller author validates that OmnibusCloud will actually load and run their controller, without needing a full OmnibusCloud deployment.
SDK consumer limits
OutWit.Engine.Sdk is dev-time only and runs with intentionally tight
limits. The production OmnibusCloud orchestrator lifts them:
| Limit | SDK value |
|---|---|
| Max activities per job | 50 |
| Max variables per job | 100 |
| Max execution time | 5 minutes |
| Max nodes | 1 (local) |
| Max variable size | 100 MB |
Contributing
Pull requests for new controllers, bug fixes, or doc improvements are
welcome. For new controllers, follow the patterns in any existing
controller — same shared Build/ imports, same Tests/ project layout,
same controller.json shape. The
author guide walks through this end
to end.
For Path-B distribution (you don't have nuget.org publish rights):
build your controller, pack it with outwit-controller-pack, and
upload the produced zip through the OmnibusCloud admin UI. An admin
will review it and approve for the runtime to load.
License
MIT — see LICENSE. All controllers and authoring tools in this repository are released under MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- OutWit.Controller.AI.Smt (>= 1.0.0 && < 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 54 | 11/27/2026 |