brain-dump: fix edit usage message, clean test data

This commit is contained in:
Agent 2026-02-07 14:11:22 +00:00
parent 516d6a1b34
commit e26f7e141b
2 changed files with 7 additions and 5 deletions

View file

@ -112,7 +112,7 @@ function cmdAdd(args) {
function cmdEdit(args) { function cmdEdit(args) {
const id = args[0]; const id = args[0];
if (!id) { console.error('Usage: brain-dump edit <id> [--text ...] [--priority ...] [--context ...] [--frequency ...] [--when ...] [--note ...]'); process.exit(1); } if (!id) { console.error('Usage: brain-dump edit <id> [--text ...] [--priority ...] [--context ...] [--frequency ...] [--when ...]'); process.exit(1); }
const data = load(); const data = load();

View file

@ -1,9 +1,9 @@
{ {
"description": "Task tracking \u2014 auto-captured from chat or manually added. Done tasks get deleted.", "description": "Task tracking auto-captured from chat or manually added. Done tasks get deleted.",
"recurring": [ "recurring": [
{ {
"id": "843efabf", "id": "843efabf",
"text": "Nose shower \ud83d\udc43\ud83d\udebf", "text": "Nose shower 👃🚿",
"frequency": "daily", "frequency": "daily",
"when": "evening", "when": "evening",
"context": "Remind in evening, whether work just wrapped up or already relaxing" "context": "Remind in evening, whether work just wrapped up or already relaxing"
@ -22,13 +22,15 @@
"added": "2026-02-07", "added": "2026-02-07",
"text": "Set up MCP server for Forgejo instance", "text": "Set up MCP server for Forgejo instance",
"priority": "soon", "priority": "soon",
"context": "Phase 1: MCP server for interactive Claude web sessions (fork + PR workflow). Phase 2: Automated issue-solving pipeline with clarification comments." "context": "Phase 1: MCP server for interactive Claude web sessions (fork + PR workflow). Phase 2: Automated issue-solving pipeline with clarification comments.",
"lastNudged": "2026-02-07T14:11:07.284Z"
}, },
{ {
"id": "0902aaba", "id": "0902aaba",
"added": "2026-02-07", "added": "2026-02-07",
"text": "TYPO3 v13 upgrade for GBV", "text": "TYPO3 v13 upgrade for GBV",
"priority": "soon" "priority": "soon",
"lastNudged": "2026-02-07T14:11:07.284Z"
} }
] ]
} }