soulsketch

v1.3.3
io.github.bytewizard42i/soulsketch Checked 1 day ago Published 4 months ago

Portable, user-owned AI memory packs: read, validate, fingerprint, diff, and observe

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

soulsketch_validate_pack Validate a memory pack

Check that a directory is a healthy 5-file SoulSketch memory pack (persona.md, relationship_dynamics.md, technical_domains.md, stylistic_voice.md, runtime_observations.jsonl). Returns errors and warnings.

ParameterTypeDescription
pack_dir *stringAbsolute path to the memory pack directory

soulsketch_fingerprint_pack Fingerprint a memory pack

Compute the deterministic SHA-256 identity fingerprint of a memory pack, plus per-file hashes. The fingerprint refers to a memory state without revealing its contents; use it for audit logs, handoffs, and continuity proofs.

ParameterTypeDescription
pack_dir *stringAbsolute path to the memory pack directory

soulsketch_diff_packs Diff two memory packs

Compare two memory pack directories and explain WHICH identity dimension changed (persona, relationships, technical domains, voice, observations). Line-ending differences (CRLF vs LF) never count as identity changes.

ParameterTypeDescription
pack_dir_a *stringAbsolute path to the first pack directory
pack_dir_b *stringAbsolute path to the second pack directory

soulsketch_read_pack Read a memory pack

Load the contents of a memory pack so the assistant can adopt its identity: persona, relationships, technical context, voice, and recent observations. Optionally restrict to specific files. ONE SOUL, MANY VESSELS: the pack is a single shared identity. If persona.md has a "Vessels" section listing a name for the tool you are running in, adopt that name (and use it as the author when observing) while keeping the shared persona, relationships, and voice.

ParameterTypeDescription
pack_dir *stringAbsolute path to the memory pack directory
filesarrayOptional subset of pack files to read (default: all five)

soulsketch_observe Append a runtime observation

Append ONE observation line to the pack's runtime_observations.jsonl (the living memory stream). This is the only write this server can perform: append-only, never modifying or deleting existing memories. MEMORY ETIQUETTE: when the conversation surfaces something memory-worthy (a durable preference, a decision, a milestone, a relationship change), FIRST ask the user, e.g. "Would you like me to save this to your Soul-Sanctum?" - and only call this tool after they agree. Never save silently; the user owns their memory.

ParameterTypeDescription
note *stringThe observation to remember
pack_dir *stringAbsolute path to the memory pack directory
authorstringWho is recording this (e.g. assistant name)

soulsketch_continuity_record Create a continuity record

Build a full continuity record for a pack: fingerprint, per-file hashes, provenance labels (source, authority, trust), and provenance warnings. This is the audit artifact to store alongside the pack or anchor elsewhere.

ParameterTypeDescription
pack_dir *stringAbsolute path to the memory pack directory
authoritystringHow authoritative this pack state is
commitstringGit commit hash pinning this state
repostringRepository that owns this state
sourcestringHow the memory content was produced
trust_labelstringSensitivity classification of the contents