Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@medicine-wheel/memory

Latest version: v0.27.19

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: avadisabelle, jgi, miadisabelle
2 Stars
0 Forks
46 Versions
4.7K Downloads
TypeScript Repo language

Scan summary

@medicine-wheel/memory was last scanned on 28 Nov 2026 at version 0.27.19. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 46 versions; the latest 3 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.27.19.
  • Downloads: 4,669 downloads.

Versions

46 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.27.19 LATEST 28 Nov 2026 No rules fired
0.27.18 27 Nov 2026 No rules fired
0.27.17 25 Nov 2026 No rules fired
0.27.16 19 Nov 2026 Not shown
0.27.15 16 Nov 2026 Not shown

No rules fired in 0.27.19

Findings

Findings for v0.27.19. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.27.19; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@medicine-wheel/memory

Asking the wheel's memory, whoever keeps it. The wheel records ceremonies, turns and diary entries. A memory provider (Honcho today, through @medicine-wheel/honcho) receives them and reasons over them. A caller asks the wheel, never the provider: it names a scope, the wheel turns it into the ceremonies it covers, and every provider is kept inside that reach. Every source in an answer is a wheel record, or is marked as coming from outside the wheel.

This package holds what does not depend on the provider. It has no dependencies.

The contract

interface MemoryScope {            // every field adds ceremonies; the reach is their union
  ceremonies?: string | string[];
  subject_id?: string | string[];  // ceremonies held about a node: a review, a PDE (pde:<uuid>)
  circle_id?: string | string[];
  episode_path?: string | string[];
  participant?: string;            // where this person was seated: participant, circle member, facilitator
  exclude_ceremonies?: string[];   // removed last, e.g. a PDE's own ceremony
}

interface MemoryAnswer {
  provider: string;                // 'honcho', or 'wheel' when only the wheel's own records answered
  mode: 'dialectic' | 'search' | 'matched' | 'empty';
  answer?: string;                 // dialectic only
  sources: MemorySource[];
  reach: { scope; ceremonies: string[]; episodes: string[] };
  note?: string;                   // why a fallback answered
}

interface MemorySource {
  provider: string;                // who produced this source
  wheel_kind: string;              // beat | diary | ceremony | message (outside the wheel)
  wheel_id: string;
  ceremony_id?: string;
  speaker?: string;                // a wheel id
  speaker_name?: string;
  speaker_kind?: 'person' | 'agent' | 'wheel';  // whose words: a human, an agent holding a seat, the wheel's own record
  excerpt: string;                 // person ids replaced with names
  at?: string;
  outside_wheel?: boolean;
}

A scope with no field reaches nothing. The whole wheel is never the default.

mode meaning
dialectic a provider reasoned over the reach
search a provider returned the closest records without reasoning, because it cannot keep its reasoning inside a reach or was not asked to reason
matched no provider answered, and the wheel matched its own records on their words
empty the reach holds nothing, and nothing was asked

Using it

A wheel server builds one memory from its store and its providers:

import { createMemory } from '@medicine-wheel/memory';
import { createHonchoClient, honchoFromEnv, honchoMemoryProvider } from '@medicine-wheel/honcho';

const memory = createMemory({
  wheel,                                            // MemoryWheel: ceremonies(), seats(), records(reach), names(ids)
  providers: [honchoMemoryProvider(createHonchoClient(honchoFromEnv()!))],
});

await memory.ask({ question: 'What is still unresolved?', scope: { circle_id: 'circle:…' } });
await memory.search({ query: 'lantern', scope: { subject_id: 'pde:…', exclude_ceremonies: ['…'] } });
await memory.about({ person: 'node:human:…', scope: { participant: 'node:human:…' } });

Providers are tried in order. The first that answers gives the answer, and the wheel's own matches are added after its sources. When every provider fails, the wheel's records answer in matched mode with a note.

A host that wraps the person's question in its own template (who asks, what the answer may draw on, how to cite) passes it as prompt: the provider is asked the prompt, the wheel's records are still matched on question, and the answer carries prompted: true when a provider answered it (jgwill/medicine-wheel#171).

await memory.ask({ question: 'What is still unresolved?', prompt: renderedTemplate, scope: { participant: 'node:human:…' } });

Everyone else asks a wheel over HTTP (POST /api/memory/ask, /search, /about, GET /api/memory), through @medicine-wheel/client (wheel.memory.ask(…)), or through the MCP tools memory_ask, memory_search, memory_about, memory_status, memory_conclude and memory_resend.

Also exported: resolveReach (scope to ceremonies), matchRecords and queryTerms (the text match), excerptAround, isEmptyScope.

Who decides who may ask

The wheel keeps an answer inside the scope it is given. Deciding who may name which scope stays with the caller. Miadi, for example, builds the scope from the circles a person sits in.

Conversations

A person (or an agent) can reply to the memory's answer: "say more about the second point", "revise what you just wrote". Each reply is asked with the earlier turns, and the wheel keeps the conversation, so every host and agent reads the same ones (jgwill/medicine-wheel#174).

import { createConversations } from '@medicine-wheel/memory';

const conversations = createConversations({ memory, store }); // store: a ConversationStore, e.g. @medicine-wheel/storage-provider
const first = await conversations.converse({ question: 'What did we commit to?', scope: { ceremonies: 'ceremony:…' }, asked_by: 'node:human:…' });
const reply = await conversations.converse({ conversation: first.conversation.id, question: 'Revise what you just wrote.', scope, asked_by: 'node:human:…' });
const again = await conversations.converse({ conversation: first.conversation.id, retry_of: reply.turn.id, scope, asked_by: 'node:human:…' });
  • Earlier turns are placed by the wheel, before the host's prompt, by foldEarlierTurns. A host's template never names them. The provider fits them within its own limit (Honcho: 10,000 characters): the latest answer is sent whole, older turns are shortened, then left out, and the memory is told how many were left out.
  • Ask again (retry_of the latest turn) keeps both answers; the newest continues the conversation (currentTurns).
  • Never projected. A conversation is the asker's record, not circle speech. It is kept in its own store file (memory-conversations.jsonl, table memory_conversations) and the memory provider never receives it as a message.
  • Rules the wheel keeps: a conversation shared nowhere is continued only by its holder; the doors list conversations only by holder (held_by) or by the ceremony they are shared in (shared_in); a shared conversation is unshared before it is deleted; 100 turns at most.
  • Who may read one stays with the host. The wheel's doors trust their callers, so a conversation is private as far as the host's door keeps it. In a shared conversation each turn names its asker, and the host computes each reply's scope from the one who replies.

Doors: GET|POST /api/memory/conversations, GET|PATCH|DELETE /api/memory/conversations/{id}. Client: wheel().memory.conversations. MCP: memory_converse, memory_conversations, memory_conversation. A host that keeps its own history passes earlier to ask instead.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @medicine-wheel/memory

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229