Finalize vault: fix Bases syntax, add Quartz fields, improve template

Changes from Codex review:
- Bases: rename .md -> .base, fix filter to file.name == 'index.md',
  fix formula to now() (not date(now)), add proper views section with
  table view and column order, add displayName for properties
- Frontmatter: add 'description' (SEO/link previews) and 'draft' (publishing
  control) fields for Quartz compatibility
- Template: add '## Scope' section, add '## Related Research' section for
  explicit wikilinks between topics, use path-qualified wikilinks in detail
  files section to avoid ambiguous basenames across topics
- README: fix cross-vault wikilink claim (separate vaults can't resolve
  cross-vault links; Quartz can't publish outside its content tree),
  document draft field, clarify that tags don't create graph edges
This commit is contained in:
hermes 2026-07-29 11:28:38 +00:00
commit 681d926797
4 changed files with 61 additions and 52 deletions

31
bases/research-base.base Normal file
View file

@ -0,0 +1,31 @@
filters:
and:
- file.name == "index.md"
formulas:
age_days: '((now() - file.ctime) / 86400000).floor()'
properties:
title:
displayName: Title
status:
displayName: Status
category:
displayName: Category
tags:
displayName: Tags
created:
displayName: Created
updated:
displayName: Updated
formula.age_days:
displayName: Age
views:
- type: table
name: Research
order:
- title
- status
- category
- tags
- created
- updated
- formula.age_days

View file

@ -1,40 +0,0 @@
---
filters:
and:
- file.name.is("index")
formulas:
age_days: 'date(now) - file.ctime'
properties:
status:
input: select
options:
- exploring
- active
- concluded
- shelved
category:
input: select
options:
- market
- technical
- competitive
- legal
- scientific
- exploratory
tags:
input: tags
created:
input: date
updated:
input: date
origin:
input: text
---
# Research Base
All research topics, filterable by status, category, tags, and date. Detail files are excluded — only `index.md` per topic directory appears here.
| Title | Status | Category | Tags | Created | Updated |
|-------|--------|----------|------|---------|---------|
| {{title}} | {{status}} | {{category}} | {{tags}} | {{created}} | {{updated}} |