Skip to content

Commit 8965a93

Browse files
bm-clawdclaude
andcommitted
fix: quote YAML values in Task schema frontmatter to prevent parse errors
Unquoted values containing commas (e.g. `description: string, what needs to be done`) caused basic-memory's YAML parser to reject the frontmatter on seed. Matches the quoting style already used in conversation-schema.ts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e260d35 commit 8965a93

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

schema/task-schema.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ type: schema
88
entity: Task
99
version: 1
1010
schema:
11-
description: string, what needs to be done
12-
status?(enum): [active, blocked, done, abandoned], current state
13-
assigned_to?: string, who is working on this
14-
steps?(array): string, ordered steps to complete
15-
current_step?: integer, which step number we're on (1-indexed)
16-
context?: string, key context needed to resume after memory loss
17-
started?: string, when work began
18-
completed?: string, when work finished
19-
blockers?(array): string, what's preventing progress
20-
parent_task?: Task, parent task if this is a subtask
11+
description: "string, what needs to be done"
12+
status?(enum): "[active, blocked, done, abandoned], current state"
13+
assigned_to?: "string, who is working on this"
14+
steps?(array): "string, ordered steps to complete"
15+
current_step?: "integer, which step number we're on (1-indexed)"
16+
context?: "string, key context needed to resume after memory loss"
17+
started?: "string, when work began"
18+
completed?: "string, when work finished"
19+
blockers?(array): "string, what's preventing progress"
20+
parent_task?: "Task, parent task if this is a subtask"
2121
settings:
2222
validation: warn
2323
---

0 commit comments

Comments
 (0)