Repository navigation
Description
Motivation
People write todos as markdown checkboxes — that muscle memory is the whole point. The
schema system's Task type covers a note that is a task; this is the complementary case:
one note containing many tasks ("find the todos in note X", meeting notes with action
items, a note used as a kanban board). Today checkbox lines are invisible to the graph
(deliberately excluded from observations), and the extended markers actually leak as junk
categories (#1241).
Design discussion origin: PR #1239 review conversation. Observations were considered and
rejected as the container: they'd conflate parser-derived state with user hashtags,
pollute context assembly with stale done-items, and create a second task system beside the
schema Task type. Tasks deserve their own row kind.
Proposed shape
New derived table task_item, the observation table's sibling:
task_item:
project_id, entity_id (FK CASCADE) -- per-note scope
content -- text after the marker
marker -- raw char ('x', '/', '-', ' ', ...), fidelity/round-trip
state -- derived: open | done | in_progress | cancelled | other
section -- nearest heading (the kanban lane; pairs with #547)
ordinal -- position in note (card order)
search_indexrows of typetask→ "todos in note X" is the existing search surface
with--entity-type taskscoped to a note;read_note --jsongainstasks[].- Persistence: derived projection replaced under the note_content fence, riding the same
post-commit publication path as observations/relations (Generation-versioned observation persistence (companion to relation deadlock fix) #1214 machinery; AGENTS.md
consistency doctrine applies — eventually consistent, stale writers no-op). - Observations remain untouched; checkbox lines stay excluded from them (fix(core): reject timestamp and checkbox-marker observation categories #1239/Extended checkbox markers ([/], [>], [?], [X]) mint junk observation categories #1241).
Marker semantics — follow prior art exactly
- GFM baseline (GitHub renders these):
[ ]open,[x]/[X]done. - Obsidian Tasks / community convention (de-facto standard beyond GFM):
[/]=
in progress,[-]= cancelled/dropped,[>]= deferred,[?]= question. - Derive only the well-attested states (open / done / in_progress / cancelled); everything
else isstate=otherwith the raw marker preserved. Never invent semantics.
Kanban
The Obsidian Kanban plugin's model is lanes = ## headings, cards = list items, done =
lane membership or checkbox. The section column is what makes a note kanban-queryable
(group tasks by section; move a card = edit_note section operation). This pairs directly
with #547 (header indexing) — landing heading context once serves section validation,
deep-linking, and kanban lanes together.
Scope guards
- Per-note queries are the primary surface; global "all my todos" stays a filtered query
(e.g. exclude captured/imported directories) rather than a parse-time guess about intent. - Task rows stay out of default BM25 weighting for regular search.
- Not v0.23; backlog pending Index markdown headers to enable section validation and deep-linking #547 sequencing.
Refs: #1241 (interim marker exclusion), #547 (header indexing), #1219/#1239 (observation
false-positive lineage), memory-tasks skill / schema Task type (note-granularity tasks).
Activity
claude commentedon Aug 12, 2026
Claude finished @phernandez's task in 39s —— View job
Triage
Type: Enhancement (new derived data + query surface for existing checkbox syntax; no defect in current behavior beyond the junk-category leak already tracked separately).
Priority: Medium. No breakage or data loss; this is a net-new capability the issue itself marks as backlog ("Not v0.23; backlog pending #547 sequencing").
Component: Sync/Database (new
task_itemderived table, sibling toobservation) and MCP (read_note --jsontasks[],search_notes --entity-type task). Not a Cloud-specific concern —component=none.Complexity: Complex. This adds a new derived-state table with its own extraction pass, publication/reconciliation path (per the #1214/AGENTS.md eventual-consistency machinery), search-index integration, and MCP surface changes. It also has an explicit sequencing dependency on #547 (header indexing) for the
sectioncolumn, so it isn't a self-contained unit of work.Design quality: The proposal is unusually well-scoped for triage — it explicitly considered and rejected the observation table as a container (with clear reasoning), constrains marker-state derivation to well-attested GFM/Obsidian-Tasks conventions with an
otherescape hatch, and states scope guards (no default BM25 weighting, no parse-time "all my todos" heuristic). No clarifying questions needed before someone picks this up.Related issues (not duplicates):
sectioncolumn.No existing issue duplicates this proposal.