sense-bases
sense-bases
A .base file is YAML: filters selecting notes, formulas computing values, and views ordering
and grouping them. Obsidian evaluates it against its own metadata cache; sense holds the same
data in SQL tables. Every Bases construct that selects or computes rows has a SQL equivalent.
What has none is presentation (columnSize, card layout), those change pixels, not rows, so
a translation loses nothing by ignoring them.
Translate one view to one query: base-level filters AND the view's filters, the view's
order/sort/limit as the SELECT list, ORDER BY, and LIMIT. A base with four views becomes
four queries; saving them under the base's name in sense.config.json's queries block keeps
them runnable as sense <name>. The general query surface is the sense skill; this one only
maps Bases constructs onto it.