Skip to content
nullislabsPublic

About

CoW Protocol-extended Nexum Runtime · capability-scoped WASM Component Model · Rust

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

shepherd

The CoW Protocol composition root over the nexum WASM Component Model runtime and the videre intent/venue layer: the shepherd engine binary, the CoW venue adapter, the ComposableCoW keeper machinery, and the production keeper modules.

Layout

  • crates/shepherd-engine - the shepherd engine binary: nexum runtime + videre host wired as the cow composition root.
  • crates/cow-venue - CoW venue slices, orderbook-only. Default body slice carries the venue-neutral order intent body types; the venue feature carries the native venue the composition root registers.
  • crates/composable-cow - ComposableCoW keeper machinery: the conditional-order body, the structured poll Verdict, and the run composition over the venue client.
  • modules/ccow-monitor, modules/ethflow-watcher - the production keeper modules (wasm32-wasip2 components).
  • tools/orderbook-mock - orderbook REST mock that the forked-mainnet engine test drives.
  • tools/baseline-latency - latency baseline capture/analysis (Python).
  • wit/deps/ - the vendored cross-repo WIT packages (sources named in wit/deps.toml). This repo has no WIT package of its own.
  • deploy/kubernetes - a Kustomize base that runs the engine on Kubernetes.
  • docs/ - the operator documentation (see "Documentation" below).

Building

Use the flake devshell (nix develop, or direnv allow), then:

just build        # engine + module wasms
just test         # nextest + doctests
just ci           # the full CI series locally

Cross-repo dependencies are pinned by git rev in the crate manifests: nexum-* to nexum-runtime and videre-* to videre. extensions.toml at the repo root is the client-capability registry the module world synthesis reads; keep it next to Cargo.toml.

Running

Documentation

Operator documentation is in this repository:

Engine and module documentation is in nexum-runtime:

History

This repository was carved out of the nullislabs runtime monorepo with full history (git filter-repo); the pre-carve state is preserved under the pre-carve tag.

Licence

AGPL-3.0-or-later. See LICENSE.

About

CoW Protocol-extended Nexum Runtime · capability-scoped WASM Component Model · Rust

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages