Repository navigation
docs(adr): propose ADR-0037, queries are a subset of Obsidian Bases compiled to SQL - #143
Merged
Merged
Conversation
…notes details (cross-review)
…k from the root without a base (cross-review)
Contributor
Author
|
Cross-review record. Coder:
|
bketelsen
approved these changes
Nov 10, 2026
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Proposes ADR-0037, the query ADR that M5 "Graph and queries" needs first (roadmap). It answers the roadmap's open question "Query format: Obsidian Bases or a Frostnotes condition language".
.basefiles andbasecode blocks), in Obsidian's syntax, with no keys of Frostnotes' own.note.querymethod, so the app, the web app and MCP get one answer.and/or/not, comparisons,file.hasTag,file.inFolder,file.hasLink,file.hasProperty, text, list and date functions), and table and card views withorder,sort,limitandgroupBy.internal/querycompiles the filters to one SQL condition over the existing index, with bound parameters only. A filter outside the subset is refused with an error that names it, never dropped.query_notes.Sources: Obsidian's public Bases docs (syntax, functions, views). No Obsidian code was read.
The ADR is Proposed. The roadmap's M5 row and open question link it, and
docs/README.mdindexes it.Risk tier
Risk tier: 1 — docs only (1 new ADR, an index line, roadmap links). No code, no workflow, no path in
.github/risk-paths.json.Docs housekeeping
TEMPLATE.mddocs/README.mdVerification
make checkgreen (host)