Neusym — Delivery History
The aim is a loop: kits plug in, models act, every action is traced, failures are analyzed, and the system improves and remembers how to behave. M1 built the safe action loop; the rest of the loop was…
What this page is: the order in which Neusym was built and verified. Every milestone below is done; the milestones (
M0–M10+, Packaging & Platform Hardening,R1and the later waves) record build order and verification progress, not plans. At runtime the repository has one unit—the kit (kits/<section>/<kit-id>/)—where each kit declares onlyneeds.minLeveland its ports/points/events, while each workspace explicitly declares itsleveland the kernel enforces that level's required sockets (Z5–Z8).
| Milestone | Status | Scope | Kits, Drivers & Platform Built | Cumulative Scenarios (scenarios/catalog.json) |
|---|---|---|---|---|
| M0 · Baseplate | Done | Core runtime, plug-in/out rules 1–12 & base contracts | core/sdk, core/kernel, core/loader (all file and module I/O, so the kernel has none), core/testkit (createBaseplateHarness, bootKitInIsolation), 2-phase guard voting, Z1–Z8, @neusym/contract-levels (the level policy hosts pass in), @neusym/contract-{points,events,store (Z9),bus,model,telemetry,vault}, store-memory, bus-inproc, model-scripted, telemetry-memory, @neusym/profiles | Foundation (empty workspace gate) |
M1 · Level review | Done | Read-only safe loop, CLI planner & demo connector | intake, tasks, harness, tool-gateway, secrets, budget, tenancy, injection-guard, observability + @neusym/contract-{intake,tasks,executor,tools,secrets,budget,scopes,dlp} (dlp@1 operator-only) + store-sqlite, vault-env, model-openai-compat, telemetry-jsonl + @neusym/cli (neusym plan) + @neusym/example-connector-demo + unplug & swap proofs; hardened: truncated/empty/schema-invalid output and unobserved evidence refused, fenced runs, output.release inside completeTask, kernel-issued contexts only, one owner per point and event | 9 / 35 |
| M1.5 · Observe & Improve | Done | Trace every run, sort failures by cause, rate runs, replay recorded runs as evals — all at the read-only review level | Kernel spans (withSpan; every extension-point run and stage; SpanSink → bound telemetry@1) and kernel-stamped event run context (runId, taskId, spanId, mode; store-sqlite schema v2) · action.completed on every tool exit with decidedBy · failed model calls recorded (model.called status: error; the run stays resumable) · harness pins run_manifests · diagnostics (+ @neusym/contract-diagnostics, feedback.recorded) · thin evals pulled forward from M7 (capture from runs, shadow replay against recorded tool results, pass^k, fixed/regressed, auto-capture of runs rated down; eval.completed) · @neusym/cli run (trace view), runs, report, feedback, eval capture/run/list | 12 / 35 |
| M1.6 · Event backbone | Done | The event log as the platform's backbone: every event says who and what caused it, and every kit says how it wants events delivered | Kernel-stamped actorId, causationId and depth on events (commits past maxEventDepth refused); contexts bound to the actor they were issued for · per-kit events.delivery (startAt: beginning | latest, onFailure: block | dead-letter, maxAttempts): projections block, reactions dead-letter · bus delivers until quiet, one drain per tenant at a time, round limit reported · automatic delivery (eventDelivery: "auto", settleEvents()), manual in tests · readEvents by run, task, trace, cause or type and listDeliveryFailures · store-sqlite schema v3 · bus contract cases every driver must pass · every refusal on the log: the kernel's own guard.refused (point, decision, code, decidedBy) at every guard point, counted per run by diagnostics (neusym report --by refusal) · handles.deployment (level, kit and driver versions) pinned in run manifests · @neusym/cli events, delivery failures printed by run, feedback and eval | 12 / 35 |
| M1.7 · Event-started agents | Done | Events start agents: trigger rules admit tasks, and a durable queue and workers run them as the actor, in the trace and one hop deeper in the chain of the work that queued them | intake event triggers (on, where, envelope-only prompts; payload arrives as tainted context; source event:<rule> with event id, so redelivery admits once; replays never trigger) · queue@1 (+ contract suite) with queue-memory and queue-sqlite · worker-pool + host-only workers@1 runPending · kernel contextIssuer grant (handles.issueContext) · tasks wakes a waiting task on signal.resolved, and halts queued/waiting work on kill switch and spent budgets · dead-letter redelivery (kernel.redeliverDeadLetters, neusym events --redeliver) · @neusym/cli work [--watch] · end-to-end proof (event-agents.test.ts) | 13 / 35 |
| M1.8 · Sessions & capture settings | Done | Follow any piece of work, agent or not, from start to end in its session, and keep only as much of it as the workspace, the tenant and the request allow | observe in workspace.json: capture scale (none · metadata · content) as workspace and per-tenant ceilings, lowered per request (CONTEXT_CAPTURE_WIDENED); span detail (stages · points · off); sessions on or off · kernel-stamped sessionId and capture on events and spans; store-sqlite schema v4 · telemetry@1 readSpans · diagnostics session summaries · evals recordLiveCalls & pruneRecordings · @neusym/cli session, sessions, eval prune, --capture | 13 / 35 |
M2 · Level draft | Done | Verified deliverables & completion checks | goals (goals@1, goal.revised, goal-summary collector), artifacts (artifacts@1, immutable versioned deliverables with SHA-256 deduplication + optional artifacts.save/artifacts.read tools), validators (action.authorize, task.complete & optional memory.admit invariant guards), completion-gate (task.complete authority checking computed evidence, goal status & acceptance criteria) + blobs@1 (blobs-fs, blobs-memory) + draft socket probes & swap proofs | 15 / 35 |
M3 · Level execute | Done | Granted, journaled, audited writes | action-gate (grants@1, versioned revocable grants, standing seals, goal.revised invalidation, action.authorize authority), operation-journal (operations@1, PREPARED/CONFIRMED/REJECTED/UNKNOWN write-ahead journal, cross-run idempotency, param-mismatch guard, restore-mode write lock, reconciling), audit-ledger (audit@1, append-only FIPS 180-4 SHA-256 hash-chained audit ledger with policyVersion, pullable anchors & verifyChain) + execute socket probes & swap proof | 21 / 35 |
M4 · Level commit | Done | Bound human approvals & operator HTTP server | approvals (approvals@1, parameter/goal-revision/target-state bound approvals, separation of duties allowSelfApprove: false, commit-approval policy guard, signal.resolved wakeups, rejection feedback) + notifier@1 (notifier-cli) + @neusym/server (Bearer auth, authenticated session-id binding §7 #17, closed-policy HTTP APIs, HMAC-SHA256 replay-checked webhooks) + commit Rule 8 & swap proofs | 23 / 35 |
| M5 · Isolation & Rules | Done | Sandboxes & domain packs | sandbox (runner@1, runner-docker hardened offline --network none + --cap-drop=ALL + --read-only, runner-process test-only runner, sandbox.exec draft tool with secret redaction & blobs@1 spill) + rules, ontology, skills + external-pack-zero-core-change & isolated-execution-proof | 23 / 35 + 2 platform proofs |
| M6 · Team, Waits & Goals | Done | Multi-agent & durable loops on the M1.7 queue | scheduler (scheduler@1, timers@1, approval expiry timers, scheduler.wait, Z10) · delegation (delegation@1, shared parent scopeId budget inheritance, named-arbiter disputes, generic wait parking) · resilience (retry-and-breaker, run-lease HALT_LEASE_LOST) + identity-local-token · planner (planner@1 finite & continuous monitoring goals) · continuous server workerLoop · scenarios v5-04, v5-07, v5-08, v5-20 | 27 / 35 |
| M7 · Safe Releases | Done | Rollout gated on eval results | harness (agent_defs versioning, toolAllowlist, in-flight manifest pinning) · budget non-live enforcement · evals (held-out suites, Tier 1 deterministic + Tier 2 answer scorers, previewSuiteCost, compareEvalCosts, scoreSessionSignals) · @neusym/contract-releases + release-manager (release-compat, shadow-gate, two-tier promotion & rollback) · scenarios v5-09, v5-12, v5-27 | 30 / 35 |
| M8 · Knowledge, UI & Governance | Done | Grounded facts, learned behavior, workspace view & org controls | @neusym/contract-{index,ingestion,lineage,memory,retrieval,policy,supply-chain,workspace-ui} (Z11–Z14) · search-index-memory, search-index-local-fts · ingestion, lineage, search-keyword, memory (fact/episode/preference candidate claims, anti-echo, two-stage gating, exportAuditMarkdown, Z14), retrieval (Z11–Z12), policy-engine (Z13–Z14), supply-chain, workspace-ui + 3rd platform proof human-agent-workspace-view · scenarios v5-01, v5-02 | 32 / 35 + 3 platform proofs |
| M9 · Self-Host Profile | Done | Production multi-process drivers | All 11 drivers wired in profiles-ee/self-host.profile.json (@neusym/profiles-ee): store-postgres, bus-postgres (advisory locks, LISTEN/NOTIFY, StoredEvent-only handoff), queue-postgres (FOR UPDATE SKIP LOCKED), search-index-postgres (tsvector + scope-filter), blobs-s3, vault-openbao, runner-docker, model-openai-compat, telemetry-otel-genai, identity-oidc, notifier-webhook · plus model-ai-sdk and self-host-profile-smoke.test.ts multi-process proof | Multi-process parity proven |
| M10+ · Catalog Extensions | Done (35 / 35) | Optional catalog kits built & proven | memory-consolidation (v5-11), knowledge-graph + search-graph (v5-18), simulation (v5-19), proposals, model-router, per-tenant archival retention pruning (neusym retention prune, POST /retention/prune) | 35 / 35 + 3 platform proofs |
| Packaging & Platform Hardening | Done | Packaging, loader hardening, role routing, sessions, CLI/procedure executors, MCP, sandbox trials & YAML packs | Full-file digest & symlink-refusing loader + neusym lock · pack-workspace.mjs + smoke-consumer.mjs · role-based queues (workerRole, allowedCreateRoles) + 4th platform proof (heterogeneous-role-workspaces) · runner@1 persistent sessions + relaySocketProvider · budget per-attempt reservations (external-proxy billing) · cli-harness@1 (scripted) + cli-executor · procedure-executor + trusted JSON evidence checks · delegation batches/barriers & dispute timeouts · DAG planner · blackboard@1 path leases · parallelSafe read batching · mcp-transport@1 (scripted, stdio, http) + schema-pinned mcp-bridge · workspace-ui task tree + @neusym/server SSE GET /events/stream · diagnostics defect registry · live metered sandbox trial suites (docs/design/sandbox-evaluation.md) · zero-dep YAML 1.2 & declarative Domain Packs | 35 / 35 + 4 platform proofs |
| R1 Platform Capabilities & Open-Core | Done | Multimodal, vector search, taint declassification, multi-target locked trial releases & Apache-2.0 / EE split | Multimodal ModelMessage + streaming + token-budget context compaction (harness/src/trim.ts) · embedding@1 + embedding-openai-compat + search-vector + hybrid retrieval · explicit schema-validated taint declassification (contracts/tools, tool-gateway, injection-guard) · versioned skills@1, rules@1, model-router@1 · one-way heldOut/locked eval suites (hostMembers), async trial-gated releases (evaluating state), multi-target proposals (agent_def/skill/rule_table/model_route/constraint_set), combined 3-workspace + proposals/cli-executor proof · @neusym/operator shared CLI/server services · Open-Core Apache-2.0 + Enterprise Edition licensing, @neusym/profiles-ee, check-licensing.mjs, export-oss.mjs, and domain-free.mjs driver hardening | Full R1 acceptance suites passing |
| Reliability, Parallel Coordination & Enterprise Integration Wave | Done | Long-horizon reliability, undo ladder, isolated review, AST 3-way integration, ACP, Firecracker, Sagas, A2A & semantic routing | working-state (working-state@1), convergence (convergence@1), constraints (constraints@1), reversibility-gate (reversibility@1), independent-review (review@1), blackboard symbol leases / frozen contracts / discovery notes, zero-dep ast-merge-3way + CoW snapshot pool + sandbox.integrate_archives, @neusym/driver-cli-harness-acp (interactive ACP v2/v1 sessions), @neusym/driver-runner-firecracker (EE microVM warm pool), @neusym/kit-saga (EE durable reverse-order compensations), @neusym/kit-a2a-bridge + @neusym/driver-a2a-transport-{http,scripted} (A2A v1.0), @neusym/kit-event-router (EE hybrid rule/LLM semantic routing), @neusym/server closed-policy routes for the new kits, examples/coding-benchmark (9 real-repo SWE tasks), the OSS / EE Open-Core split and the structured docs/ hub | All acceptance, benchmark & licensing gates passing |
| Reasoning, Twin, Registry & Browser Kits | Done | The five kits held back as optional scaffolds, now built and tested | 5 EE kits: reasoner (stratified Datalog rule chaining with proof traces), solver (finite-domain CSP, resource allocation & linear objectives), digital-twin (mirrored system state, staleness & blast-radius simulation), model-registry (tenant model catalog with pricing, capabilities & lifecycle), browser-agent (domain-allowlisted headless browsing inside runner@1) | Built |
#Why M1.5 Comes Before M2
The aim is a loop: kits plug in, models act, every action is traced, failures are analyzed, and the system improves and remembers how to behave. M1 built the safe action loop; the rest of the loop was planned for M7–M10+. M1.5 builds the observe-and-improve half at the review level, where nothing can write, so the loop runs on real tasks from the start and every later milestone is measured by it:
- Trace — one span tree per run (task → step → model call / tool call → guards → stages), with refusals and failures recorded, and every event naming its run, task and span.
- Diagnose — run summaries sorted by cause (
loop,model_error,output_blocked, …), structured defect tags, and reports grouped by run manifest, model, tool, refusal, or defect. - Rate — feedback on runs (
neusym feedback), linked to the run and published asfeedback.recorded. - Replay & Trial — runs become replay eval cases, and live sandbox trials test candidates under hard cost caps; locked held-out suites gate multi-target rollouts across agent definitions, skills, rules, and model routes.
All core milestones (M0–M9), catalog extensions (M10+), Packaging & Platform Hardening, full R1 runtime capabilities, the Reliability, Parallel Coordination & Enterprise Integration Wave (working-state, convergence, constraints, reversibility-gate, independent-review, ast-merge-3way, cli-harness-acp, runner-firecracker, saga, a2a-bridge, event-router, and the Open-Core packaging), and the five reasoning, twin, registry and browser kits are complete and verified. The shelved outbox scaffold, superseded by transactional event appends and per-subscriber bus cursors, was removed.