Phase 0-2: Schema cleanup, typed relations, event-driven automation

- Phase 0: AGENTS.md cleanup (dedup quotes, renumber sections, merge qmd)
- Phase 1: typed relations (manage-relations.py, graph-search.py, check-staleness.py, detect-conflicts.py)
- Phase 2: frontmatter validator, weekly lint, knowledge promotion, git hooks
- Fix .gitignore to track tools/ and .githooks/
- Fix git remote URL (remove plaintext token)
- New wiki pages: 504 pages, 34 raw sources
This commit is contained in:
hehaiguang1123
2026-07-01 08:05:43 +08:00
parent e544d6e04a
commit a6f05ab2d5
1067 changed files with 522992 additions and 819 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ views:
filters:
or:
- list(author).contains(this)
- author.containsAny("Ken Wilber", "肯·威尔伯", "肯·威尔伯(Ken Wilber")
- author.contains(this.file.name)
- file.hasLink(this.file)
order:
- file.name
- year
+92
View File
@@ -0,0 +1,92 @@
filters:
and:
- categories.contains(link("Places"))
- '!file.name.contains("Template")'
formulas:
Icon: list(type)[0].asFile().properties.icon
Color: list(type)[0].asFile().properties.color
properties:
note.type:
displayName: Type
note.rating:
displayName: Rating
note.loc:
displayName: Location
file.name:
displayName: Name
note.last:
displayName: Last
views:
- type: map
name: Map
order:
- file.name
- rating
- loc
- type
- last
- formula.Icon
sort:
- property: last
direction: DESC
- property: type
direction: ASC
- property: loc
direction: ASC
defaultZoom: 15
coordinates: note.coordinates
markerIcon: formula.Icon
markerColor: formula.Color
center: note.coordinates
mapHeight: 360
- type: map
name: Location
filters:
or:
- list(loc).contains(this)
- list(loc).containsAny(this.related)
order:
- file.name
sort:
- property: last
direction: DESC
- property: type
direction: ASC
- property: loc
direction: ASC
columnSize:
file.name: 162
note.rating: 84
note.loc: 145
note.type: 199
coordinates: note.coordinates
defaultZoom: 5.9
markerIcon: formula.Icon
markerColor: formula.Color
center: note.coordinates
- type: map
name: Type
filters:
and:
- list(type).contains(this)
order:
- file.name
- rating
- type
- formula.Color
sort:
- property: last
direction: DESC
- property: type
direction: ASC
- property: loc
direction: ASC
columnSize:
file.name: 162
note.rating: 84
note.loc: 145
note.type: 199
coordinates: note.coordinates
defaultZoom: 3.1
markerIcon: formula.Icon
markerColor: formula.Color
+9 -3
View File
@@ -2,7 +2,9 @@ filters:
and:
- categories.contains(link("Movies"))
- '!file.name.contains("Template")'
formulas: {}
formulas:
isActor: this.tags.contains("person/actor")
isDirector: this.tags.contains("person/director")
properties:
file.name:
displayName: Name
@@ -121,8 +123,10 @@ views:
- type: table
name: Actor
filters:
and:
or:
- list(cast).contains(this)
- cast.contains(this.file.name)
- file.hasLink(this.file)
order:
- file.name
- year
@@ -157,8 +161,10 @@ views:
- type: table
name: Director
filters:
and:
or:
- list(director).contains(this)
- director.contains(this.file.name)
- file.hasLink(this.file)
order:
- file.name
- year