From 4e39b2cdf27474291647bbc33834a694a6a1d514 Mon Sep 17 00:00:00 2001
From: lucaronin <luca.rossi.917@gmail.com>
Date: 星期六, 18 四月 2026 18:36:42 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/refactoringhq/tolaria-getting-started
---
command-palette.md | 1
the-properties-panel.md | 1
tolaria-note-list.md | 1
tolaria-sidebar.md | 1
views/active-projects.yml | 10 +-
autogit.md | 2
AGENTS.md | 110 ++++++++++++++++++++++--------------
tolaria-principles.md | 1
get-familiar-with-tolaria.md | 2
note.md | 1
tolaria-editor.md | 3 +
tolaria-ai.md | 1
tolaria-bottom-bar.md | 1
13 files changed, 84 insertions(+), 51 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
index 501c7d1..af4e688 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -1,83 +1,105 @@
---
type: Note
_organized: true
-_archived: true
---
-This is a [Tolaria](https://github.com/refactoringhq/tolaria) vault 鈥� a folder of markdown files with YAML frontmatter forming a personal knowledge graph.
+# AGENTS.md 鈥� Tolaria Vault
-## Note structure
+This is a [Tolaria](https://github.com/refactoringhq/tolaria) vault: a folder of Markdown files with YAML frontmatter forming a personal knowledge graph.
-Every note is a markdown file. The **first H1 heading in the body is the title** 鈥� there is no `title:` frontmatter field.
+Keep edits compatible with Tolaria's current conventions. Prefer small, human-readable changes over heavy restructuring.
+
+## Core conventions
+
+- One Markdown note per file.
+- The first H1 in the body is the preferred display title.
+- Legacy `title:` frontmatter is still read as a fallback when a note has no H1. Do not add it to new notes unless you are maintaining an older file.
+- Store note type in the `type:` frontmatter field.
+- Most notes live at the vault root as flat `.md` files. Type definitions live in `type/`. Saved views live in `views/`.
+- Any frontmatter field containing [[wikilinks]] is treated as a relationship. Common names include `Belongs to:`, `Related to:`, `Workspace:`, and custom relationship names.
+- Frontmatter properties that start with `_` are usually Tolaria-managed state. Leave them alone unless the user explicitly asks for them to change.
+
+## Notes
```yaml
---
-type: TypeName # the note's type (must match the title of a type file in the vault)
-url: https://... # example property
-belongs_to: "[[other-note]]"
-related_to:
- - "[[note-a]]"
- - "[[note-b]]"
+type: Project
+status: Active
+icon: target
+Workspace: "[[tolaria]]"
+Belongs to:
+ - "[[25q2]]"
+Related to:
+ - "[[person-luca-rossi]]"
+aliases:
+ - Tolaria work
+url: https://example.com
---
-# Note Title
+# Ship Tolaria
-Body content in markdown.
+Body content in Markdown.
```
-System properties are prefixed with `_` (e.g. `_organized`, `_pinned`, `_icon`) 鈥� these are app-managed, do not set or show them to users unless specifically asked.
-
## Types
-A type is a note with `type: Type`. Type files live in the vault root:
+Type definitions are regular notes stored in `type/`. Use `type: Type` for new ones:
```yaml
---
type: Type
-_icon: books # Phosphor icon name in kebab-case
-_color: "#8b5cf6" # hex color
+icon: shapes
+color: blue
+sidebar label: Projects
+template: |
+ ## Outcome
+
+ ## Next actions
---
-# TypeName
+# Project
```
-To find what types exist: look for files with `type: Type` in the vault root.
-
-## Relationships
-
-Any frontmatter property whose value is a wikilink is a relationship. Backlinks are computed automatically.
-
-Standard names: `belongs_to`, `related_to`, `has`. Custom names are valid.
+Useful type metadata includes `icon`, `color`, `order`, `sidebar label`, `template`, `sort`, `view`, and `visible`.
## Wikilinks
-- [[filename]] 鈥� link by filename
-- Works in frontmatter values and markdown body
+- [[filename]] or [[Note Title]] 鈥� link by filename or title
+- [[filename|display text]] 鈥� with custom display text
+- Works in frontmatter values and Markdown body
## Views
-Saved filters live in `views/` as `.view.json` files:
+Saved views live in `views/*.yml` and are written as YAML:
-```json
-{
- "title": "Active Notes",
- "filters": [
- {"property": "type", "operator": "equals", "value": "Note"},
- {"property": "status", "operator": "equals", "value": "Active"}
- ],
- "sort": {"property": "title", "direction": "asc"}
-}
+```yaml
+name: Active Projects
+icon: kanban
+color: blue
+sort: modified:desc
+filters:
+ all:
+ - field: type
+ op: equals
+ value: Project
+ - field: status
+ op: equals
+ value: Active
```
## Filenames
Use kebab-case: `my-note-title.md`. One note per file.
-## What you can do
+## What agents should do
-- Create/edit notes with correct frontmatter and H1 title
-- Create new type files
-- Add or modify relationships
-- Create/edit views in `views/`
-- Edit `AGENTS.md` (this file)
+- Create and edit notes using the frontmatter and H1 conventions above.
+- Create and edit type documents in `type/`.
+- Add or modify relationships without breaking existing wikilinks.
+- Create and edit saved views in `views/`.
+- Update `AGENTS.md` only when the user asks for vault-level guidance changes.
-Do not modify app configuration files 鈥� those are local to each installation.
+## What agents should avoid
+
+- Do not infer note type from folders other than the dedicated `type/` directory for type definitions.
+- Do not silently overwrite an existing custom `AGENTS.md`.
+- Do not overwrite user-authored config or installation-specific app files unless the user explicitly asks.
diff --git a/autogit.md b/autogit.md
index 6a78806..c77f797 100644
--- a/autogit.md
+++ b/autogit.md
@@ -1,5 +1,7 @@
---
type: Note
+onboarding: 8
+belongs_to: "[[tolaria]]"
---
# Git and AutoGit
diff --git a/command-palette.md b/command-palette.md
index 4bbc489..6ff8b61 100644
--- a/command-palette.md
+++ b/command-palette.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 9
---
# Command Palette
diff --git a/get-familiar-with-tolaria.md b/get-familiar-with-tolaria.md
index accad31..9b09d51 100644
--- a/get-familiar-with-tolaria.md
+++ b/get-familiar-with-tolaria.md
@@ -2,8 +2,6 @@
type: Project
status: In progress
related_to: "[[tolaria]]"
-_favorite: true
-_favorite_index: 1
_organized: true
---
# Get familiar with Tolaria
diff --git a/note.md b/note.md
index 2be820b..78520b0 100644
--- a/note.md
+++ b/note.md
@@ -4,4 +4,5 @@
color: green
_order: 1
_list_properties_display: null
+_sort: "property:onboarding:asc"
---
diff --git a/the-properties-panel.md b/the-properties-panel.md
index c1d719c..c0a7a04 100644
--- a/the-properties-panel.md
+++ b/the-properties-panel.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 5
---
# Properties Panel
diff --git a/tolaria-ai.md b/tolaria-ai.md
index 33ae2d6..a669ed2 100644
--- a/tolaria-ai.md
+++ b/tolaria-ai.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 7
---
# AI in Tolaria
diff --git a/tolaria-bottom-bar.md b/tolaria-bottom-bar.md
index 3e70190..55f885f 100644
--- a/tolaria-bottom-bar.md
+++ b/tolaria-bottom-bar.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 6
---
# Bottom Bar
diff --git a/tolaria-editor.md b/tolaria-editor.md
index ff992cd..df2e5d4 100644
--- a/tolaria-editor.md
+++ b/tolaria-editor.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 4
---
# Editor
@@ -46,6 +47,8 @@
Wikilinks also auto-update if the filename changes.
+
+
### Breadcrumb Bar Actions
The breadcrumb bar (above the editor) is the hub for note-level actions: favoriting, marking organized, switching editor modes, viewing git diff, and accessing properties.
diff --git a/tolaria-note-list.md b/tolaria-note-list.md
index 6c93678..576271e 100644
--- a/tolaria-note-list.md
+++ b/tolaria-note-list.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 3
---
# Note List
diff --git a/tolaria-principles.md b/tolaria-principles.md
index 781c0be..f8d8bca 100644
--- a/tolaria-principles.md
+++ b/tolaria-principles.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 1
---
# Tolaria Principles
diff --git a/tolaria-sidebar.md b/tolaria-sidebar.md
index 3e0c557..7bc528a 100644
--- a/tolaria-sidebar.md
+++ b/tolaria-sidebar.md
@@ -1,6 +1,7 @@
---
type: Note
related_to: "[[tolaria]]"
+onboarding: 2
---
# Sidebar
diff --git a/views/active-projects.yml b/views/active-projects.yml
index dea13d7..88250e8 100644
--- a/views/active-projects.yml
+++ b/views/active-projects.yml
@@ -1,12 +1,12 @@
-name: Active Projects
+name: Start here!
icon: null
color: null
sort: null
filters:
- all:
+ any:
- field: type
op: equals
value: Project
- - field: Status
- op: equals
- value: In progress
+ - field: related_to
+ op: contains
+ value: Tolaria
--
Gitblit v1.10.0