From 516d6a1b342e1c50ba2d12ccc5e448e25663874e Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 7 Feb 2026 14:09:40 +0000 Subject: [PATCH] brain-dump: merge --note into --context, single field for extra info --- TOOLS.md | 4 ++-- bin/brain-dump | 9 ++------- memory/brain-dump.json | 6 +++--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/TOOLS.md b/TOOLS.md index 1539d61..5ca5afe 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -142,8 +142,8 @@ Helper script: `~/clawd/bin/brain-dump` ```bash brain-dump list [--priority now,soon] [--due] [--limit N] brain-dump add --text "..." --priority soon [--context "..."] -brain-dump add --recurring --text "..." --frequency daily [--when evening] [--note "..."] [--context "..."] -brain-dump edit [--text "..."] [--priority|--frequency|--when|--note|--context "..."] +brain-dump add --recurring --text "..." --frequency daily [--when evening] [--context "..."] +brain-dump edit [--text "..."] [--priority|--frequency|--when|--context "..."] brain-dump done brain-dump show brain-dump nudged ,,... diff --git a/bin/brain-dump b/bin/brain-dump index 2ef6364..cc25ea4 100755 --- a/bin/brain-dump +++ b/bin/brain-dump @@ -43,7 +43,6 @@ function formatTask(t) { function formatRecurring(r) { let line = `${r.id}\t${r.frequency}\t${r.when || '-'}\t${r.text}`; - if (r.note) line += `\t${r.note}`; if (r.context) line += `\t${r.context}`; return line; } @@ -93,10 +92,8 @@ function cmdAdd(args) { if (isRecurring) { const frequency = getFlag(args, '--frequency') || 'daily'; const when = getFlag(args, '--when') || undefined; - const note = getFlag(args, '--note') || undefined; const item = { id: shortId(), text, frequency }; if (when) item.when = when; - if (note) item.note = note; if (context) item.context = context; data.recurring = data.recurring || []; data.recurring.push(item); @@ -136,10 +133,8 @@ function cmdEdit(args) { if (isRecurring) { const frequency = getFlag(args, '--frequency'); const when = getFlag(args, '--when'); - const note = getFlag(args, '--note'); if (frequency) item.frequency = frequency; if (when) item.when = when; - if (note !== null && note !== undefined) item.note = note; save(data); console.log(`Updated recurring: ${formatRecurring(item)}`); } else { @@ -246,8 +241,8 @@ switch (cmd) { Commands: list [--priority now,soon] [--due] [--limit N] add --text "..." --priority soon [--context "..."] - add --recurring --text "..." --frequency daily [--when evening] [--note "..."] [--context "..."] - edit [--text "..."] [--priority|--frequency|--when|--note|--context "..."] + add --recurring --text "..." --frequency daily [--when evening] [--context "..."] + edit [--text "..."] [--priority|--frequency|--when|--context "..."] done show nudged ,,... diff --git a/memory/brain-dump.json b/memory/brain-dump.json index 12dea42..f2bade1 100644 --- a/memory/brain-dump.json +++ b/memory/brain-dump.json @@ -1,12 +1,12 @@ { - "description": "Task tracking — auto-captured from chat or manually added. Done tasks get deleted.", + "description": "Task tracking \u2014 auto-captured from chat or manually added. Done tasks get deleted.", "recurring": [ { "id": "843efabf", - "text": "Nose shower 👃🚿", + "text": "Nose shower \ud83d\udc43\ud83d\udebf", "frequency": "daily", "when": "evening", - "note": "Remind in evening, whether work just wrapped up or already relaxing" + "context": "Remind in evening, whether work just wrapped up or already relaxing" } ], "tasks": [