TheSingularityWorkshop.FSM_COS
0.1.0-alpha.2
See the version list below for details.
dotnet add package TheSingularityWorkshop.FSM_COS --version 0.1.0-alpha.2
NuGet\Install-Package TheSingularityWorkshop.FSM_COS -Version 0.1.0-alpha.2
<PackageReference Include="TheSingularityWorkshop.FSM_COS" Version="0.1.0-alpha.2" />
<PackageVersion Include="TheSingularityWorkshop.FSM_COS" Version="0.1.0-alpha.2" />
<PackageReference Include="TheSingularityWorkshop.FSM_COS" />
paket add TheSingularityWorkshop.FSM_COS --version 0.1.0-alpha.2
#r "nuget: TheSingularityWorkshop.FSM_COS, 0.1.0-alpha.2"
#:package TheSingularityWorkshop.FSM_COS@0.1.0-alpha.2
#addin nuget:?package=TheSingularityWorkshop.FSM_COS&version=0.1.0-alpha.2&prerelease
#tool nuget:?package=TheSingularityWorkshop.FSM_COS&version=0.1.0-alpha.2&prerelease
The Singularity Workshop — FSM_COS
FSM_COS is the composition system.
<p align="center"> <img src="docs/assets/fsm-cos-crane.gif" alt="Animated industrial composition crane lifting a runtime assembly"> </p>
<p align="center"><em>Runtime request → composition → stable assembly → host manifestation</em></p>
It takes a Runtime Manifest and assembles the MicroBundles, dependencies, configuration, and runtime components required by that manifest.
Runtime Manifest
│
▼
FSM_COS
│
├── resolve MicroBundles
├── resolve dependencies
├── propagate configuration
├── load/install bundles
├── arbitrate toward convergence
▼
RuntimeAssembly
FSM_COS is the crane that assembles the machine. It does not become the machine.
What FSM_COS actually is
<p align="center"> <img src="docs/assets/fsm-cos-system.svg" alt="FSM_COS composition kernel between authoring and host manifestation"> </p>
FSM_COS is not simply a bundle loader. It is the composition kernel: the layer that turns a published runtime request into a stable assembled composition.
The central distinction is:
The manifest says what is requested. FSM_COS determines what must exist together. RuntimeAssembly says that composition is ready for handoff. The host decides what happens next.
The deeper explanation lives in FSM_COS Theory. The README uses that theory as a map and links into it repeatedly so the implementation and the architectural model stay connected.
The composition boundary
authoring intent
↓
Runtime Manifest
↓
FSM_COS
├── dependency closure
├── configuration propagation
├── configured loading
└── arbitration / convergence
↓
RuntimeAssembly
↓
host / manifestation
FSM_COS assembles the system. It does not become the system.
See Theory — what “composition of systems” means and Runtime Boundary.
Why this repository exists
FSM_COS is the repository for the composition-of-systems boundary in The Singularity Workshop architecture.
It is deliberately separate from:
- FSM_API — behavioral/state-machine primitives.
- TheSingularityWorkshop.GUI — semantic GUI construction and platform manifestation.
- WebPage / WebForge — a browser host and proving ground.
- Unity-facing adapters or packages — platform integration, not the composition kernel.
- Warehouse infrastructure — storage and delivery of data.
- Experiences — things a user encounters and executes.
FSM_COS answers one narrower question:
Given a published runtime manifest, what must be assembled before that runtime can be handed to a host?
The repository therefore owns the composition contracts, dependency closure, configured loading, arbitration, convergence, and the resulting RuntimeAssembly.
Current alpha boundary
The current 0.1.0-alpha.1 implementation is intentionally a small vertical slice:
RuntimeManifest
↓
BundleRequest
↓
MicroBundleCatalog
↓
dependency closure
↓
configured Load()
↓
Arbitrate() rounds
↓
RuntimeAssembly
It does not yet own:
- host execution scheduling;
- GUI rendering;
- browser, desktop, or Unity lifecycle;
- Warehouse allocation;
- telemetry or metaDev adaptation;
- networking;
- Experience presentation;
- general application configuration.
Those concerns can become inputs, providers, or later composition layers without turning FSM_COS into an application framework.
Living architecture
Git is static. The architecture does not have to feel static.
The documentation deliberately uses two visual forms:
- SVG is the precise blueprint/source-of-truth illustration.
- GIF supplies lightweight motion when motion communicates a semantic event rather than decoration.
The crane is the first living artifact: its load rises and settles because composition is an active operation — request, lift, stabilize, handoff. GitHub documents that repository SVG views do not support animation, while GIF is a supported image format, so the living asset is intentionally separate from the blueprint SVG.
<p align="center"> <img src="docs/assets/fsm-cos-crane.gif" alt="Living FSM_COS composition crane animation"> </p>
The rule for future visuals is simple: animate the concept, not the decoration. Motion should communicate loading, dependency travel, arbitration rounds, convergence, or handoff.
Visual map
The documentation diagrams are deliberately architecture-first: they show where responsibility lives, what crosses the FSM_COS boundary, and where composition stops.
- FSM_COS system overview
- Composition boundary
- Composition overview
- Runtime Manifest publication pipeline
- Dependency resolution
- Arbitration and convergence
- Runtime boundary
- Composition crane
- MicroBundle cartridge
- RuntimeAssembly handoff
The manifest is the center
<p align="center"> <img src="docs/assets/runtime-manifest-pipeline.svg" alt="Runtime Manifest publication pipeline"> </p>
A RuntimeManifest is a published runtime request, not an application configuration file.
Editor/tooling systems may know rich information:
- human-readable names;
- ontology relationships;
- variants;
- dependency relationships;
- provenance;
- visual/editor structure;
- authoring metadata.
That information can be validated and baked into compact machine-oriented IDs and opaque configuration before runtime.
FSM_COS consumes the published representation.
See Runtime Manifest Theory and the deeper FSM_COS Theory.
MicroBundles
A MicroBundle is micro in focus, not necessarily in byte size.
<p align="center"> <img src="docs/assets/microbundle-cartridge.svg" alt="Futuristic MicroBundle capability cartridge"> </p>
FSM_COS does not care whether a bundle is physically tiny or enormous. It cares that the bundle has a focused composition responsibility and exposes the contract required for assembly.
The current contract is:
public interface IMicroBundle
{
ulong Id { get; }
IReadOnlyList<BundleRequest> Dependencies { get; }
void Load(MicroBundleLoadContext context);
bool Arbitrate(ArbitrationContext context, int roundIndex);
}
A bundle can therefore participate in composition without knowing whether it will ultimately manifest in WebForge, AnyApp, Unity, Desktop Forge, or another host.
Dependency resolution
The manifest declares roots. Dependencies are discovered from those roots.
For:
A
├── B
│ └── C
└── D
FSM_COS installs:
C → B → D → A
before arbitration begins.
Cycles are composition errors. Missing bundles are composition errors. FSM_COS does not guess around either condition.
Configuration
BundleRequest carries a bundle ID plus opaque configuration bytes.
That matters because a dependency can be entangled with the request that caused it to load:
A requests B + configuration X
B requests C + configuration Y
FSM_COS transports the configuration. The bundle that owns it interprets it.
This keeps the composition engine independent from the serialization format and domain meaning of configuration.
When configuration becomes a serialized representation, FSM_COS deliberately points downward to TheSingularityWorkshop.FSM_Serialization rather than defining another serializer here. See FSM_COS Theory — Composition is not serialization and the FSM_Serialization Theory.
Arbitration
Loading establishes the initial composition.
Arbitration allows the installed set to reconcile itself:
load
↓
round
↓
changed?
├── yes → another round
└── no → stable RuntimeAssembly
The current default maximum is 10 rounds.
A bundle returns true when its participation changed the composition and false when it did not. A complete round with no changes is convergence.
Non-convergence is an error. FSM_COS does not return an assembly that it knows is unstable.
See Arbitration and Convergence and FSM_COS Theory — Arbitration is composition negotiation.
RuntimeAssembly is the handoff
RuntimeAssembly is the result of composition.
<p align="center"> <img src="docs/assets/runtime-assembly-handoff.svg" alt="RuntimeAssembly as the handoff between FSM_COS and a host"> </p>
It records the runtime identity, loaded MicroBundles, and arbitration result. It is not the application and it is not a renderer.
A host receives the assembled result and decides how to execute, present, or encounter it.
RuntimeAssembly
│
┌──────────────┼──────────────┐
▼ ▼ ▼
WebForge AnyApp another host
│
GUI
│
browser
Composition is not manifestation.
Repository structure
TheSingularityWorkshop.FSM_COS/
│
├── README.md
├── LICENSE.txt
├── TheSingularityWorkshop.FSM_COS.sln
├── TheSingularityWorkshop.FSM_COS.slnx
│
├── docs/
│ ├── THEORY.md
│ ├── ARCHITECTURE.md
│ ├── RUNTIME_MANIFEST.md
│ ├── MICROBUNDLES.md
│ ├── RUNTIME_ASSEMBLY.md
│ ├── MANIFEST_THEORY.md
│ ├── ARBITRATION.md
│ ├── RUNTIME_BOUNDARY.md
│ └── DEVELOPMENT.md
│
├── src/
│ └── FSM_COS/
│ ├── FSM_COS.csproj
│ ├── IFsmCos.cs
│ ├── FsmCos.cs
│ ├── RuntimeManifest.cs
│ ├── BundleRequest.cs
│ ├── IMicroBundle.cs
│ ├── IMicroBundleCatalog.cs
│ ├── MicroBundleLoadContext.cs
│ ├── ArbitrationContext.cs
│ └── RuntimeAssembly.cs
│
└── tests/
└── FSM_COS.Tests/
└── FsmCosTests.cs
There is intentionally one canonical FSM_COS implementation project: src/FSM_COS/FSM_COS.csproj.
The old root scaffold that contained only Class1.cs has been removed. The solution now points at the real project.
Documentation
This repository carries its own architecture and theory. The documents here describe FSM_COS itself, rather than asking another repository to explain its internals.
- Theory — why the composition boundary exists.
- Architecture — contracts and runtime flow.
- Runtime Manifest — the published request itself, with examples and the alpha contract.
- MicroBundles — the composable unit contract.
- RuntimeAssembly — the stable handoff object.
- Runtime Manifest Theory — the deeper theory behind publication.
- Arbitration and Convergence — reconciliation semantics.
- Runtime Boundary — what belongs here versus in hosts and neighboring systems.
- Development — how to evolve and verify the repository.
- WebPage Integration — how the browser host consumes FSM_COS without pulling platform concerns into the kernel.
Package
Package: TheSingularityWorkshop.FSM_COS
Version: 0.1.0-alpha.1
Target: .NET 8
License: MIT
The repository contains the packaging and trusted-publishing workflow for GitHub Packages and NuGet.org. Publishing is an explicit workflow-dispatch action; the current 0.1.0-alpha.1 package is not yet confirmed published to NuGet.org.
WebPage integration
WebPage is a host and proving ground for FSM_COS; it is not a special case inside the composition kernel. The intended flow is:
WebPage published manifest
↓
FsmCos
↓
IMicroBundleCatalog supplied by WebPage
↓
RuntimeAssembly
↓
WebPage / GUI manifestation
↓
Blazor/browser
WebPage should reference the TheSingularityWorkshop.FSM_COS package and implement the catalog/host boundary around it. Platform-specific lifecycle, browser APIs, GUI rendering, and Experience presentation remain outside FSM_COS.
For the concrete integration contract, see WebPage Integration and FSM_COS Theory — Same composition, different manifestation.
Design invariant
FSM_API → behavior
FSM_COS → composition
MicroBundle → focused capability/content/behavior
Warehouse → storage and delivery
Host → execution / manifestation
Experience → what is encountered
The boundaries can evolve. The responsibility of FSM_COS should remain clear:
Assemble what was requested. Return a stable composition. Hand it to the host.
🔗 Resources & Support
📦 Get the core packages
💖 Support The Singularity Workshop
- Patreon: Support us on Patreon
- PayPal: Make a donation
<p align="center"> <a href="https://github.com/TrentBest/FSM_API"> <img src="https://raw.githubusercontent.com/TrentBest/FSM_API/master/Documentation/Branding/TheSingularityWorkshop.png" alt="The Singularity Workshop" height="200"> </a> </p>
<p align="center"> <em>The Singularity Workshop — Tools for the curious, the bold, and the systemically inclined.</em><br> <strong>Because state shouldn't be a mess.</strong> </p>
🔗 The Singularity Workshop
FSM_COS is one layer in a deliberately troublesome ecosystem:
- FSM_API — behavior and state.
- FSM_COS — composition and runtime assembly.
- FSM_Serialization — representation and the byte boundary.
- WebPage — browser manifestation and proving ground.
- FSM_API_Unity — Unity manifestation.
<p align="center"><em>The Singularity Workshop — Tools for the curious, the bold, and the systemically inclined.</em><br><strong>Because state shouldn't be a mess.</strong><br><em>And because static boundaries are invitations to cause trouble.</em></p>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- TheSingularityWorkshop.FSM_API (>= 1.0.13)
- TheSingularityWorkshop.MicroBundleDomain (>= 0.1.0-alpha.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TheSingularityWorkshop.FSM_COS:
| Package | Downloads |
|---|---|
|
TheSingularityWorkshop.FSM_Rest
Framework-agnostic REST capability descriptors and transport boundary for the FSM ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.6 | 2,331 | 10/11/2026 |
| 0.1.0-alpha.5 | 3,137 | 10/3/2026 |
| 0.1.0-alpha.4 | 412 | 10/1/2026 |
| 0.1.0-alpha.3 | 1,868 | 9/29/2026 |
| 0.1.0-alpha.2 | 86 | 9/29/2026 |
| 0.1.0-alpha.1 | 126 | 9/28/2026 |