Marks / Runtime
spore
Programmable capabilities
- 2 Capability interface Fixed tools; plugins add exec-run programs, one mechanism; MCP arrives through that plugin system (R8); grant filtering
Review finding
Built in. The model sees seven fixed tools (read, write, edit, exec, wsexec, ask, quiet), filtered by the definition's grant. Everything else (spawn, recall, SQL, plugin programs, MCP) is a program run through exec. Plugins add programs and docs, not tools. MCP is an optional CLI plugin. P116P117P118P119P120P121
- 3 Reusable computation Agent-written programs granted as enzymes, re-run by path; schedules opt. unresolved: typed parameters and per-run result record
Review finding
- 4 Capability transfer define --from clones definition, precursors, enzyme closure and deps; refuses missing deps; excludes transcript/memory; fork separate
Review finding
Built in.
define --fromclones the definition, precursors,checks/and the closure of granted enzymes and their declared dependencies. Transcript,data/memory/and records are excluded. A missing declared dependency refuses the clone. Plugins transfer only by name.forkis the separate conversation copy. P125P126P127
Evidence and memory
- 4 Durable evidence Transcript never pruned, retain configurable; compaction appends; replace_* host-side for forks; agent cannot write DB (enforced)
- 4 Context recovery Default pull recall and SQL over outside-context rows; default definition pushes ≤5 relevant hits automatically
Review finding
- 2 ↑3 Memory maintenance opt: idle dream cell BM25 memory store with recall (L2); dream consolidation is opt-in, so it counts at B only (R6)
Specialist collaboration
- 4 Specialist definition Strict precursor files set tools, model, limits; cells nested under agent Landlock (inherit-only), broker model allowlist
Review finding
Built in. "Precursor"
.cmkfiles set a tool subset, model alias, required limits, check and enzymes. A strict parser rejects unknown fields; the broker refuses models the definition does not name. Cells run Landlock-confined beneath the agent; the tree is one trust unit, and the tool list is not a boundary C135–C139; Note C-10. - 3 Continuation --keep is a per-call flag (R1); kept cells persist and resume after restart; no durable queue to cells
- 2 Coordination Depth 1 guard, turn-abort cancel, tree-wide cost; L3 unmet: cap only on fanout/kept cells; unresolved: general running-cell cap
Execution controls
- 3 Confinement Default Landlock+seccomp+namespaces, fatal on failure; L4 unmet: outbound network and unix sockets reachable
Review finding
Built in, Linux only, kernel-enforced by default. The agent runs under Landlock (reads limited to system/runtime/workspace paths, narrow write roots);
execgets a narrower Landlock plus seccomp; each turn has its own user/PID/mount namespaces. A confinement failure is fatal. Outbound network and visible unix sockets stay reachable (an accepted risk in SECURITY.md). No per-call approvals. [opt:unconfined: true;contain off]. X139X140X141X142X143X144 Note X-6 - 4 Credential handling Cleared env plus allowlist for agent and cells; provider keys and source secrets held in runner brokers
Review finding
Built in. The agent gets a cleared env (
env_clear) plus an explicit allowlist (PATH, locale, TZ, TMPDIR, OTEL, SPORE_OWNERS, runtime sockets, validated plugin vars). Provider keys and source secrets stay in the runner behind brokers that require a per-turn tree key. Commands can make model calls through the broker socket, counted in the budget. No output redaction. X139X145X146X147X148 - 4 Budget enforcement Mandatory limits; broker refuses calls once tree spend reaches hard cost; settlement of dispatched calls stated
Review finding
Built in and mandatory: each definition declares soft/hard pairs for rounds, $ cost and wall time. The model broker refuses new calls (HTTP 402) once settled tree spend reaches hard cost. This is admission that covers descendants; dispatched calls finish and are billed, so spend can overshoot. Per turn only; no cumulative per-user $ cap. Prices come from mohdel [D]. X149X150X151X152X153X154X155X156
Product integration
- 4 Embedding interfaces Node library plus HTTP over unix or TCP with NDJSON events and messages/stop/approvals routes
Review finding
- 3 Declarative configuration Unknown fields, tools and models are refused, and limits are checked, by default; no published JSON Schema, so not level 4
- 3 Durable execution Detached runner,
requestIdidempotency and flock; a crashed turn is finalized as error. There is no automatic resume, so level 4 is unmetReview finding
Built in: a detached runner owns the turn and outlives the caller.
requestIdmakes sends idempotent; one runner per workspace (flock); concurrent sends join the inbox at the next round. Next runner finalizes a crashed turn as error, message left unread; no auto-continue. 3 model retries. I143I144I145I146I147I148I149
Operations and verification
- O * Service dependencies Zero processes idle; a turn spawns a detached runner that exits
- 3 Execution records Runner records failures and unrecorded turns; optional OTel. Agent write protection is [D], so level 4 is capped
Review finding
Built in. The runner is the only writer of
state.sqlite(events, transcript, calls, turns). It records failures and also turns the agent left unrecorded. Output goes tospore.out/.err; OTel only if configured. The operator can prune or rewrite; agent writes are prevented by confinement [D]. O126O127O128O129O130 - 2 Result checks Owner answer check sends the answer back once, then releases; a failed check or timeout releases
Reproducibility
- Repository
- https://github.com/RHIZOGRIP/spore
- Branch
- main
- Exact revision
4a9db7982fda3ae2f30a817fa0037c92e246f97f- Commit date
- 2026-11-26T12:26:04+04:00
Metadata
- Exact revision
4a9db7982fda3ae2f30a817fa0037c92e246f97f, committed 2026-11-26T12:26:04+04:00- Version (source)
- 1.74.0 (root
package.json,packages/spore/package.json,Cargo.toml) M30 - License
- Apache-2.0 (
LICENSE;package.json;Cargo.toml) M30 - Audited component / deployment
@rhizogrip/sporeJS library + confined agent, Rustspore-runner/spore-spawn/spore-workspace/spore-definition/spore-node, Cconfine/sandbox, CLI. Plugins (incl. in-tree@rhizogrip/cairn0.2.0) treated as add-ons M33- Supported runtime platforms
- Linux x64/arm64, Node ≥24 [S]; kernel ≥5.13 Landlock (6.12+ for scoping) [D]; macOS/Windows only via CLI-managed Lima VM [S wrapper] / WSL2 [D]; runner refuses root M31M34M35
- Evidence coverage
- Deep: send path, runner turn path, agent entry, loop, budget gate, workspace env/schema/recover, sandbox/confine, spawn guards, compaction, memory store, API server/config, answer checks. Skimmed: relay, cells/jobs/plans, TUI, webhook, cairn. Not: most of
state.rs(5.8k lines), definition parser, per-platform adapters
Pinned external dependencies (capability-supplying)
- Package@version
[email protected](npm) + Rustmohdel-thin-gate/-client/-protocol4.11.0 (git tag v4.11.0,c724161)- Role
- provider adapters, catalog, context limits, per-call
cost→ pricing claims [D]
- Package@version
@modelcontextprotocol/[email protected](optional MCP plugin);@earendil-works/[email protected](CLI TUI); OpenTelemetry^0.301.1(opt-in via env)- Role
- MCP; TUI; tracing
- Lockfile / source
package-lock.json:1287-1290,:123-125M48
- Package@version
@rhizogrip/[email protected]- Role
- in-tree workspace (
packages/cairn), not an external dependency - Lockfile / source
package-lock.json:1922-1925M33
Specialist collaboration: Supporting table: parent→child authority
- Approval / permission policy passed to child
- Limits and model allowlist enforced at the broker; spend counted tree-wide C137C147
- OS-level confinement of child
- Cell runs
sandbox: truebeneath the agent's Landlock C138 - Widening path found
- The depth guard is an env var;
env -u SPORE_CELLbypass not tested (Note C-10)
Operations and verification: Notes
- Finished process
stopReason/concluded- Delivered answer
outputplusdeliverables- Structural validity
- Owner check or
on-wrappolicy - Task correctness
- Opt-in only (see below)
Operations and verification: Notes
- Mechanism
- Answer check O132
- After the check fails
- Sends the answer back once, then releases. A failed or timed-out check releases immediately. The first answer on the hard-limit round is unchecked.
Part A: platforms, clients, IDE, messaging
- Terminal / web / desktop clients
sporeCLI; TUI viaspore here/spore tui(pi-tui) A38; no web UI or desktop app; console plugin is an HTTP chat endpoint for programs [D] A39- IDE & coding integrations
spore heregit snapshots underrefs/spore/...with/diff,/undoA40; code/reviewer/security/commit sporangia (files present); no IDE plugin, LSP or ACP- Messaging channels
- Plugins: Telegram, Discord, Slack, Teams, WhatsApp Cloud sharing one relay A41
Part B: voice/media, onboarding/routing, fleet administration
- Voice / media
- Image reading gated by
images:[D]; Telegram/WhatsApp adapters map voice attachments, no STT in core A73; image, document and CDP-browser plugins - Onboarding & session routing
spore setup(machine check, provider connect, model selection),spore doctorboundary probe A74; per-sporereplyTo; webhooks/API deliveries route to spores [S]- Fleet administration
spore ls,usage,pause/unpause, admission slots; API callers scoped by spore-name patterns; per-person spores under one uid separated by namespaces + Landlock scoping [D/S] A75
Source/doc conflicts
- Conflict
- SECURITY.md says the HTTP API listens only on a unix socket or loopback M59; code defaults to 127.0.0.1 but accepts any explicit
<host>:<port>M60 - Which side the audit entry follows
- loopback by default; non-loopback accepted when configured; doc overstates
- Conflict
- Audit brief described cairn as external; it is an in-tree workspace M33
- Which side the audit entry follows
- lockfile
Coordinator re-checks
- Claim
@rhizogrip/cairnis an external dependency- Lines read
package-lock.json(node_modules/@rhizogrip/cairn→"resolved": "packages/cairn", "link": true)- Result
- Corrected: in-tree workspace. The external capability dependency is mohdel 4.11.0
- Claim
- HTTP API listens only on unix socket/loopback (
SECURITY.md:57) - Lines read
packages/spore/src/infra/http.js:19-27- Result
- Doc overstates: defaults to
127.0.0.1but accepts any explicit<host>:<port>and reports it as beyond loopback