PULSE PULSE/README.md
OpenSentience OS-010 PULSE reference MCP server.

os-pulse

OpenSentience OS-010 PULSE reference MCP server.

One of three MCP servers in the [&] three-protocol stack:

PackageRoleInstall
graphonomousMemory loop (5 machines)npx -y graphonomous --db ~/.graphonomous/knowledge.db
os-prismDiagnostic loop (6 machines)npx -y os-prism --db ~/.os-prism/benchmarks.db
os-pulsePULSE manifest registry (this)npx -y os-pulse --db ~/.os-pulse/manifests.db

The box-and-box name now belongs to the [&] governance kernel (the eight-rung arithmetic ladder · 97 property-tested laws — AmpersandBoxDesign/box-and-box/), not an MCP server. The old box-and-box [&] Protocol validator MCP was removed. PULSE's invariants + closure guarantees line up with the kernel's alethic and temporal rungs — see `docs/ARITHMETIC_INTEGRATION.md`.

What os-pulse does

  • Validates *.pulse.json loop manifests against pulse-loop-manifest.v0.1.json

(JSON Schema draft 2020-12).

  • Runs the 12-test PULSE v0.1 conformance suite and stores the report.

  • Persists registered manifests, connections, and phase invocations in an

embedded SQLite + sqlite-vec database.

  • Emits and receives CloudEvents v1.0 envelopes for the six canonical

cross-loop tokens (TopologyContext, DeliberationResult, OutcomeSignal, ReputationUpdate, ConsolidationEvent, SurpriseSignal) plus vendor-namespaced tokens (<vendor>.v<N>.<TokenName>, PULSE v0.1.2).

  • Exposes 10 MCP tools and 3 resources over stdio.

MCP tools

ToolDescription
register_manifestValidate + persist a manifest; runs conformance.
validate_manifestDry-run validation; returns conformance report without persistence.
list_loopsList registered loops, filterable by owner or parent.
get_manifestRetrieve a full manifest JSON by loop_id[@version].
resolve_phaseReturn a phase definition + substrate/invariant scope.
emit_signalWrap a token payload in a CloudEvents v1 envelope and persist.
receive_signalDeliver pending envelopes for a target loop and mark delivered.
trace_connectionWalk outbound connections up to max_depth.
run_conformanceRe-run the 12 conformance tests against a registered loop.
export_topologyExport loops + edges + nesting as JSON or Graphviz DOT.

MCP resources

URIReturns
pulse://runtime/healthServer health + manifest / signal counts.
pulse://manifests/recentRecently registered manifests.
pulse://signals/recentRecent CloudEvents envelopes.

Install

npx -y os-pulse --db ~/.os-pulse/manifests.db

Or in .mcp.json:

{
  "mcpServers": {
    "pulse": {
      "command": "npx",
      "args": ["-y", "os-pulse", "--db", "~/.os-pulse/manifests.db"]
    }
  }
}

Flags

FlagDefault
--db <path>~/.os-pulse/manifests.db
--transportstdio (only; HTTP is planned)
--schema-pathbundled pulse-loop-manifest.v0.1.json
--log-levelinfo

Conformance suite (12 tests)

  1. T01 Schema validation (authoritative — ajv against v0.1 schema)

  2. T02 Phase atomicity

  3. T03 Phase idempotency

  4. T04 Nesting waits

  5. T05 κ-routing

  6. T06 Quorum before commit

  7. T07 Append-only audit

  8. T08 Signal deduplication (runtime-only — returns pending)

  9. T09 Substrate degradation

  10. T10 Multi-tenant isolation (runtime-only — returns pending)

  11. T11 trace_id propagation

  12. T12 Protocol version monotonicity

Tests that require a running loop to observe runtime behavior return pending in v0.1. Manifest-level checks are exhaustive.

Build from source

git clone https://github.com/c-u-l8er/AmpersandBoxDesign
cd AmpersandBoxDesign/PULSE
npm install
npm run build
node bin/os-pulse.js --help

Spec

License

Apache-2.0

Open in the interactive atlas