@imunitic/synapse 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imunitic/synapse",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Memory for Claude Code, Codex CLI, and OpenCode: a durable markdown vault plus a per-repo code graph.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,9 +23,9 @@
23
23
  "*.conf.template"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@imunitic/synapse-darwin-arm64": "0.10.0",
27
- "@imunitic/synapse-linux-x64": "0.10.0",
28
- "@imunitic/synapse-linux-arm64": "0.10.0"
26
+ "@imunitic/synapse-darwin-arm64": "0.12.0",
27
+ "@imunitic/synapse-linux-x64": "0.12.0",
28
+ "@imunitic/synapse-linux-arm64": "0.12.0"
29
29
  },
30
30
  "license": "SEE LICENSE IN LICENSE"
31
31
  }
@@ -79,25 +79,38 @@ body:
79
79
  section_order: relative
80
80
 
81
81
  checks:
82
- - equals: [filename.stem, frontmatter.title]
83
- - unique: frontmatter.note_id
84
- when: create
85
- - vocabulary:
86
- field: frontmatter.project
87
- source: synapse-projects.conf
88
- projection: values
89
- - vocabulary:
90
- field: frontmatter.tags
91
- source: synapse-tag-vocabulary.conf
92
- - not_before: [frontmatter.updated, frontmatter.created]
93
- - equals:
94
- values: [frontmatter.created, frontmatter.updated]
95
- when: create
82
+ - eq:
83
+ - var: filename.stem
84
+ - var: frontmatter.title
85
+ message: 'filename.stem: must equal frontmatter.title'
86
+ - on_create:
87
+ var: id_is_unique
88
+ message: 'frontmatter.note_id: identity already exists'
89
+ - in:
90
+ - var: frontmatter.project
91
+ - var: vocabularies.synapse-projects
92
+ message: 'frontmatter.project: not in synapse-projects.conf'
93
+ - all:
94
+ - var: frontmatter.tags
95
+ - in:
96
+ - var: ''
97
+ - var: vocabularies.synapse-tag-vocabulary
98
+ message: 'frontmatter.tags: every tag must be in synapse-tag-vocabulary.conf'
99
+ - lte:
100
+ - var: created_epoch
101
+ - var: updated_epoch
102
+ message: 'frontmatter.updated: must not precede frontmatter.created'
103
+ - on_create:
104
+ eq:
105
+ - var: created_epoch
106
+ - var: updated_epoch
107
+ message: 'frontmatter.created: must equal frontmatter.updated on creation'
96
108
 
97
109
  lints:
98
- - no_hard_wrap: body.prose
110
+ - no_hard_wrap:
111
+ var: body.prose
99
112
  severity: warn
100
113
  - no_id_prefix_in_title:
101
- title: frontmatter.title
102
- id: frontmatter.note_id
114
+ - var: frontmatter.title
115
+ - var: frontmatter.note_id
103
116
  severity: warn
@@ -55,17 +55,30 @@ body:
55
55
  section_order: relative
56
56
 
57
57
  checks:
58
- - equals: [filename.stem, frontmatter.title]
59
- - unique: frontmatter.note_id
60
- when: create
61
- - vocabulary:
62
- field: frontmatter.tags
63
- source: synapse-tag-vocabulary.conf
64
- - not_before: [frontmatter.updated, frontmatter.created]
65
- - equals:
66
- values: [frontmatter.created, frontmatter.updated]
67
- when: create
58
+ - eq:
59
+ - var: filename.stem
60
+ - var: frontmatter.title
61
+ message: 'filename.stem: must equal frontmatter.title'
62
+ - on_create:
63
+ var: id_is_unique
64
+ message: 'frontmatter.note_id: identity already exists'
65
+ - all:
66
+ - var: frontmatter.tags
67
+ - in:
68
+ - var: ''
69
+ - var: vocabularies.synapse-tag-vocabulary
70
+ message: 'frontmatter.tags: every tag must be in synapse-tag-vocabulary.conf'
71
+ - lte:
72
+ - var: created_epoch
73
+ - var: updated_epoch
74
+ message: 'frontmatter.updated: must not precede frontmatter.created'
75
+ - on_create:
76
+ eq:
77
+ - var: created_epoch
78
+ - var: updated_epoch
79
+ message: 'frontmatter.created: must equal frontmatter.updated on creation'
68
80
 
69
81
  lints:
70
- - no_hard_wrap: body.prose
82
+ - no_hard_wrap:
83
+ var: body.prose
71
84
  severity: warn
@@ -73,29 +73,43 @@ body:
73
73
  section_order: relative
74
74
 
75
75
  checks:
76
- - equals: [filename.stem, frontmatter.title]
77
- - unique: frontmatter.task_id
78
- when: create
79
- - vocabulary:
80
- field: frontmatter.project
81
- source: synapse-projects.conf
82
- projection: values
83
- - vocabulary:
84
- field: frontmatter.tags
85
- source: synapse-tag-vocabulary.conf
86
- - not_before: [frontmatter.updated, frontmatter.created]
87
- - equals:
88
- values: [frontmatter.created, frontmatter.updated]
89
- when: create
90
- - const:
91
- field: frontmatter.status
92
- value: TODO
93
- when: create
76
+ - eq:
77
+ - var: filename.stem
78
+ - var: frontmatter.title
79
+ message: 'filename.stem: must equal frontmatter.title'
80
+ - on_create:
81
+ var: id_is_unique
82
+ message: 'frontmatter.task_id: identity already exists'
83
+ - in:
84
+ - var: frontmatter.project
85
+ - var: vocabularies.synapse-projects
86
+ message: 'frontmatter.project: not in synapse-projects.conf'
87
+ - all:
88
+ - var: frontmatter.tags
89
+ - in:
90
+ - var: ''
91
+ - var: vocabularies.synapse-tag-vocabulary
92
+ message: 'frontmatter.tags: every tag must be in synapse-tag-vocabulary.conf'
93
+ - lte:
94
+ - var: created_epoch
95
+ - var: updated_epoch
96
+ message: 'frontmatter.updated: must not precede frontmatter.created'
97
+ - on_create:
98
+ eq:
99
+ - var: created_epoch
100
+ - var: updated_epoch
101
+ message: 'frontmatter.created: must equal frontmatter.updated on creation'
102
+ - on_create:
103
+ eq:
104
+ - var: frontmatter.status
105
+ - TODO
106
+ message: 'frontmatter.status: must equal TODO on creation'
94
107
 
95
108
  lints:
96
- - no_hard_wrap: body.prose
109
+ - no_hard_wrap:
110
+ var: body.prose
97
111
  severity: warn
98
112
  - no_id_prefix_in_title:
99
- title: frontmatter.title
100
- id: frontmatter.task_id
113
+ - var: frontmatter.title
114
+ - var: frontmatter.task_id
101
115
  severity: warn