From 773582206ab06e8e3f43ee3a975330b2f9e5261d Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Tue, 20 Oct 2026 03:05:25 +0000 Subject: [PATCH] workflows.js: /recall, and remember and remind as workflows with a message door Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01VAvUH72XsdCitHdh3t7mjr --- ventures/havre/workflows.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ventures/havre/workflows.js b/ventures/havre/workflows.js index 4d50cc9..1e5d13e 100644 --- a/ventures/havre/workflows.js +++ b/ventures/havre/workflows.js @@ -33,10 +33,25 @@ export const WORKFLOWS = [ about: "a few photos of them from the pictures on their card, one shoot, each a different moment (3 unless you say)", usage: "/photoshoot [how many] [what the shoot is about]", }, + { + id: "recall", command: "recall", title: "recall", takes: "words", gives: "memory", doors: ["chat"], + about: "what they remember about something (their notes, then the chats themselves), brought to mind for a while", + usage: "/recall ", + }, + { + id: "remember", command: "", title: "remember this", takes: "message", gives: "memory", doors: ["message"], + about: "a message into their long-term memory, in its own words", + usage: "remember, under a message", + }, + { + id: "remind", command: "", title: "remind", takes: "message", gives: "memory", doors: ["message"], + about: "a message back to mind at a time you pick", + usage: "remind, under a message", + }, ]; export const byId = (id) => WORKFLOWS.find((w) => w.id === id) || null; -export const byCommand = (cmd) => WORKFLOWS.find((w) => w.command === cmd) || null; +export const byCommand = (cmd) => (cmd && WORKFLOWS.find((w) => w.command === cmd)) || null; /** * A slash command typed in the chat: { id, arg } for a workflow, { id: "help" } for /help or a bare "/", null for