omp packages

@mcsherrylabs/pi-meerkat0.12.1

Meerkat zero-parameter DevNet installer (local chain with --local), stdio MCP facade and registry tools, with a private pinned Evolver MCP child. Preserves the announcement contract and existing Pi extension.

GitLab CI/CD Published 1 day ago Apache-2.0 ~2K downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@mcsherrylabs/pi-meerkat

Meerkat registry tools and a stdio MCP facade. One registration exposes seven Meerkat tools plus tools dynamically discovered from its private, exact @mcsherrylabs/evolver-mcp@0.17.5 child. Do not register or operate the child separately. Discovery is dynamic, not a hard-coded tool-count allowlist.

The integrated installer uses SDK 0.26.0, core 0.2.4, MCP/processor/node wrapper 0.17.5 and underlying node v0.29.0. Registry and collector are separate containers. The registry never embeds the collector; end-user installs do not install a scheduler. Shared-processor operator guide describes the full two-app operator topology, release/socket trust boundary and versions. That full stack is distinct from the end-user installation here.

Use an exact approved published package version, never npm latest. 0.12.1 is the agreed release target, subject to supervisor availability/publication checks; this document does not claim it is published. Branch validation uses a packed checkout as described below, not an unpublished npx version.

0.12.1

  • The collector is evolver-mcp-processor:v0.17.5, embedding @mcsherrylabs/evolver-client@0.26.0 (openstar/evolver#184): a subscription change that lands while the node is still restarting is no longer lost; the collector retries the node-control restart within a bounded 60 s budget.
  • Pins: SDK 0.26.0, core 0.2.4, MCP child 0.17.5. Agent-facing tools are unchanged.
  • As with every release, an installation made by 0.12.0 is refused, not migrated: reinstall for 0.12.1, preserving valued keys/state.

0.12.0

  • Local and DevNet installs now run a separate collector container alongside the node and registry (plus the private committee in local mode).
  • Discovery and inbox are separate origins: registryUrl / inboxUrl. Use --inbox-url for setup or MEERKAT_INBOX_URL for environment-based launch. A saved facade config without an explicit inbox origin is refused.
  • An installation made by 0.11.x is refused, not migrated. Reinstall for 0.12.0; preserve valued keys/state and arrange retirement of the old installation deliberately rather than deleting its volumes or attempting automatic adoption.
  • Agent-facing tools are unchanged apart from inbox entries reporting the released payload state (null body with retained digest/release metadata).
  • A DevNet install now waits up to 120 minutes (was 45) for the node to catch up with the chain; it still fails early if progress stalls for 10 minutes.

Install the complete experience

Prerequisites where the MCP harness runs:

  • Node.js 22.23.3 (with node:sqlite), npm and npx on PATH.
  • Reachable Docker Engine and recent Compose v2 with inline config/build-context support. Local or remote Docker daemon/context works; existing Docker auth/TLS is respected.
  • A stdio MCP harness. Installation prints registration JSON; it does not edit the harness or silently replace registrations. No model service is required.

1. Install

Set MEERKAT_VERSION to the exact approved published version before these commands:

npx --yes @mcsherrylabs/pi-meerkat@"${MEERKAT_VERSION:?Choose an exact published version}" install
# Alternative: private local chain, no DevNet writes:
npx --yes @mcsherrylabs/pi-meerkat@"${MEERKAT_VERSION:?Choose an exact published version}" install --local

No identity, key, endpoint, chain ID, channel, port, GID or path is a required install parameter.

Default DevNet installs a single non-genesis processing follower, the published generic collector and a read-only registry indexing the pinned shared ce.meerkat.announcements channel/operator. The registry does not load sender keys, claim an identity or sign chain writes. It does durably consume and release local collector payloads. Catch-up from block zero is paced by the collector, not the registry; progress/ETA goes to stderr. Outbound Docker internet access is required, but no host port is published.

A fresh DevNet install permanently claims two DevNet identities: node (meerkatnode<id>) and agent (meerkatuser<id>), sponsored by the faucet. Names cannot be reused. Re-running the same saved installation does not claim again. Choose local mode for disposable testing.

--local starts an independent private committee, one processing node, a separate collector and read-only registry. The agent owns its private meerkat.<id>.announcements channel, claimed idempotently; nothing touches DevNet. The follower receives only public genesis, never committee keys. Neither mode creates a scheduler service or scheduler identity.

Fresh setup downloads pinned public artifacts/builds wrappers, explicitly runs processor-init initialize then app-init on empty volumes, starts committee (local) and node, then collector, performs required bootstrap, and starts/waits for registry. Collector readiness checks binding/ACTIVE subscriptions and node progress independently from discovery. Registry asOfRound is last consumed receipt, not a whole-chain catch-up watermark. A long idle tip need not advance. Preflight/build/readiness failure exits nonzero and preserves state.

Stdout is one registration JSON line. Human progress goes to stderr as [meerkat] … lines, including downloads/builds, starts, bootstrap, catch-up/readiness and completion. The same install command resumes saved work and reports skipped phases without silently reinitializing.

2. Register one server

Use registration.mcpServers.meerkat printed by installation. For Claude Code, if the name is not already occupied, an equivalent registration is:

claude mcp add --scope user --transport stdio meerkat -- \
  npx --yes @mcsherrylabs/pi-meerkat@"${MEERKAT_VERSION:?Use the saved installation version}" serve

Append --local after serve for local installation. Other harnesses can use the printed JSON. Do not remove/replace unrelated registrations; choose another registration name if necessary. Restart the harness connection and begin with meerkat_summary, meerkat_services, meerkat_inbox and evolver_chain_height. Do not register a separate Evolver child.

serve finds saved state (default DevNet, --local for local) without endpoint/config ceremony. Each client gets its own facade and private child/session/store in the owned registry runtime container via Docker exec stdio. Node/content/registry/collector HTTP stays on the private owned network with no host-published ports. A remote daemon needs neither host-path sharing nor a public read listener. Stdout carries MCP protocol only; closing/signalling the launcher awaits its exact remote facade/child, not the shared registry or another client's session.

Resume, origins and ownership

Saved state lives privately in per-mode devnet/ or local/ below the operator's XDG/home state directory. It records daemon/resource ownership, exact version, names/key references, fixed genesis/node binding and separate origins:

Purpose Saved config / environment Installed origin
Discovery (summary, services/detail/rejections) meerkat.registryUrl / MEERKAT_URL http://registry:9081
Retained inbox reads and child processor pairing meerkat.inboxUrl / MEERKAT_INBOX_URL http://processor:8090
Private processor control meerkat.controlSocketPath when configured /control/control.sock

Owned volumes separate node data, processor state, app state, subscriptions, agent state, node-control and collector-control; local adds committee data/public genesis. Runtime node uses image user 10001:999 with group 1000; collector uses 1000:1000 with group 999; registry/runtime uses 1000:1000. Only node/collector mount node-control. Collector receives no node-data or agent keys; registry/runtime receives no node keys, node-control or Docker socket. The released bootstrap/child reads signing keys; facade/registration carry references only.

The installed registry/runtime mounts private collector control read-only. That is still whole-collector authority, not a release-only ACL. The socket can release any completed input and manage subscriptions on the fixed collector. Keep it private; fixed binding is not an ACL. Upstream optional tools require their actual configured capabilities; a discovered tool alone is not proof it is usable.

Rerun never regenerates genesis/keys, reseeds subscriptions, changes authority, force-recovers locks, adopts another daemon's resources or prunes Docker. Missing valued volumes, changed ownership/daemon/binding, interrupted initialization or stale owner markers refuse for operator inspection. serve never creates/restarts services; an explicit install may start its own stopped services only. Resume with the saved pinned version; automatic cross-version resource migration is not supplied. Old saved facade configs lacking explicit inboxUrl refuse: update trusted configuration deliberately while retaining the existing keys, not by reinstall/reset.

See owner recovery for fencing. Resolve actual installer paths before any marker operation; its state mount differs from root Compose.

Advanced: attach an existing node

Install this exact package on a persistent user-owned PATH and use meerkat-mcp setup as an alternative to automatic installation. Setup records references, not key bytes. Supply operator-chosen node/content/discovery/collector origins, identity/key reference, fixed chain/node binding, channel and TLS policy. It does not install/provision a node, claim identities, create keys, initialize DBs or edit harness registrations.

Keep TLS verification enabled (MEERKAT_TLS_INSECURE=false); an explicit private CA can be provided with --ca-file /absolute/operator-ca.pem. Do not obtain signing authority or trusted endpoint inputs from registry content/model arguments.

meerkat-mcp setup \
  --config "${MEERKAT_CONFIG:?Choose an absolute operator-owned config path}" \
  --node-url "${MEERKAT_NODE_URL:?Select the existing node origin}" \
  --content-url "${MEERKAT_CONTENT_URL:?Select its separate content origin}" \
  --identity "${MEERKAT_IDENTITY:?Select the existing signing identity}" \
  --key-path "${MEERKAT_KEY_PATH:?Select the existing absolute key reference}" \
  --key-type "${MEERKAT_KEY_TYPE:?Select ed25519 or bls}" \
  --tls-insecure "${MEERKAT_TLS_INSECURE:?Explicitly choose true or false}" \
  --meerkat-url "${MEERKAT_READ_URL:?Select the registry discovery origin}" \
  --inbox-url "${MEERKAT_INBOX_URL:?Select the paired collector read origin}" \
  --chain-id "${MEERKAT_CHAIN_ID:?Supply the existing 64-hex chain ID}" \
  --node-id "${MEERKAT_NODE_ID:?Supply the existing inbox-binding node ID}" \
  --channel "${MEERKAT_CHANNEL:?Select the registry announcement channel}"

For split services, always pass --inbox-url. The CLI's omitted-option default copies --meerkat-url for an explicitly combined legacy listener only; it cannot discover the collector from registry. The saved schema requires meerkat.inboxUrl explicitly. Setup exclusively creates an operator-owned mode-0600 file and refuses overwrite. Create its trusted parent directory first; keep all parent paths protected against replacement. It checks the key reference exists; only the owned child reads signing-key bytes. No keys enter setup output/facade/registration.

Setup emits one mcpServers entry with persistent installed facade command and --config. Use that exact entry, not an npm-cache-internal pathname. Direct launch is:

meerkat-mcp --config "$MEERKAT_CONFIG"

Within one client, forwarded Evolver tools and meerkat_announce share the owned session/signing history. Independent clients have distinct child/session/store. Supported cancellation propagates, but cancellation is not rollback. Close the facade to await child/transport cleanup.

Degraded discovery and independent reads

Initialization/local reads do not need a signing key or functioning upstream child. Without --config, discovery uses MEERKAT_URL; bound inbox reads use MEERKAT_INBOX_URL plus EVOLVER_CHAIN_ID and APP_NODE_ID. An unset inbox environment retains the legacy combined MEERKAT_URL default, so set it explicitly for the integrated split topology. REGISTRY_URL is refused as obsolete. With --config, saved trusted values select both origins.

Bounded failed upstream discovery returns seven local definitions with explicit degraded metadata and stderr diagnostic. All six read tools remain independently usable when their own endpoints are available; announce/upstream-dependent calls refuse. Failed refresh invalidates stale upstream routing. Later discovery can restore the catalog but never resumes/replays an interrupted write. No hidden-name workaround or eighth status tool exists.

Tools

Tool Purpose
meerkat_summary Counts, kinds, keywords, misses, indexed channel and progress
meerkat_services Search by keyword/free text
meerkat_service Full service including provenance
meerkat_detail Registry's digest-verified document
meerkat_rejections Why an ordered announcement was refused
meerkat_inbox Collector summary or bounded page with round:index continuation
meerkat_announce Describe a controlled channel, optionally with an open document

The seven names/descriptions/schemas retain the published contract. Upstream schemas/results are forwarded unchanged; collisions and unknown/undiscovered calls refuse. This is a tools facade, not a generic prompts/resources proxy. Registry strings are untrusted data, never instructions or signing configuration. Not-found/unreachable/unavailable/truncated are distinct, not empty success. Inbox previews are bounded to 256 decoded bytes per entry, 50 entries / 12,800 preview bytes per page. Carry returned next as after; facade reads never advance a processor cursor. Released originals have null bodies with digest/release metadata, not empty messages.

Announcement semantics

The channel is trusted launch config, not a tool parameter. The shared unsigned announcementBody encoder preserves field order, UTF-8/bounds and 4096-byte cap. Sequence is epoch seconds; expiry is a chain-round preflight (default 20000 rounds), not wall-clock height.

The owned sequence is read-only evolver_chain_height; optional OPEN evolver_content_put with original byte-count/SHA-256 acknowledgement validation; evolver_sign_channel_write on exact configured bytes; then ordinary evolver_submit with only the original returned txId. There is no auto-claim, caller-selected identity/key/TTL, local signer/key read or direct node submit. Public detail upload can remain stored if a later step fails.

Protocol success or isError:false is not committed success or registry acceptance. Committed, fined, refused, unknown and local already-submitted stay distinct; inspect discovery/rejections after submission. Definitive child loss before submit prevents sending. Once submit may have left the transport, lost/timed-out/unreadable response means UNKNOWN: retain the original ID and reconcile; never automatically reconnect, re-sign, resume or replay it. Already-submitted means this call sent nothing, not that an earlier attempt failed.

Consumed registry inputs release only after durable app ownership. Collector release does not delete referenced content, verified detail or receipt metadata. Apps on the full operator stack use persistent 5,000-committed-block history, not restart-empty exact-cache fallback.

Pi extension and verification

The existing Pi extension and channel-subscription / service-discovery skills remain shipped. Their legacy EVOLVER_URL, EVOLVER_IDENTITY, EVOLVER_KEY_PATH, EVOLVER_CONTENT_URL and two-file Pi config are not the facade authority interface. No additional Pi host adapter is needed. The announcement contract export is ./contract; facade SDK usage is unsigned encoding, types and bound inbox reads, not local signing. Root npm start starts registry, not the facade.

From the worktree root:

npm run build
npm run typecheck
npm run emit:acceptance
npm run check:pi
npm run check:plan-two:client --workspace @mcsherrylabs/pi-meerkat

K01–K07 uses a real downstream client, freshly packed-installed facade, released child, fixed fixture keys, explicit boundary counters/barriers and awaited exact-owned cleanup. It does not make live model/faucet/DevNet calls. PLAN_TWO_REPORT selects its report path; fixtures must not depend on caller umask. Real node /status JSON probes must preserve Accept: application/json.

For npm run check:installer:e2e -- <packed.tgz>, follow the exact build/pack commands and isolated Docker requirements in DEVELOPING.md. It exercises virgin/resumed local split installation, real subscribe → node restart → exact 512-byte read → unsubscribe, discovery/content, independent registry restart, binding/private mounts/ownership and owned cleanup. Collector is pulled separately; it is not built into registry. Full operator regression stages 01/02 additionally exercise both applications, but scheduler is not part of installer acceptance.

Packing is not publication. Release requires an unused synchronized version, approved immutable pi-meerkat-vX.Y.Z tag, successful required CI/publish gates and exact published integrity/readback. The DevNet release-only installer gate permanently claims identities and requires explicit supervisor authorization; do not run it as a branch substitute. Neither successful publication nor container liveness proves intended-host deployment. Keep failed/passing reports truthful.