skillwiki 0.10.22 → 0.10.23

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.
Files changed (43) hide show
  1. package/dist/chunk-6ZDKTNLA.js +294 -0
  2. package/dist/chunk-EQPU2BPM.js +468 -0
  3. package/dist/{chunk-54JVBNWK.js → chunk-QBZYEEBD.js} +12 -295
  4. package/dist/chunk-QNTBNNEL.js +616 -0
  5. package/dist/{chunk-7YDWC6D3.js → chunk-SYKSL3JQ.js} +852 -699
  6. package/dist/cli.js +613 -146
  7. package/dist/{index-projection-Q6WL76SO.js → index-projection-FRWTZB5Y.js} +2 -1
  8. package/dist/skillwiki-mcp.js +4 -2
  9. package/dist/sources-L2SQV63E.js +10 -0
  10. package/package.json +1 -1
  11. package/skills/.claude-plugin/plugin.json +1 -1
  12. package/skills/.codex-plugin/plugin.json +1 -1
  13. package/skills/README.md +13 -2
  14. package/skills/agents/wiki-add-task.md +2 -1
  15. package/skills/agents/wiki-archive.md +8 -9
  16. package/skills/agents/wiki-audit.md +2 -1
  17. package/skills/agents/wiki-lint.md +2 -1
  18. package/skills/agents/wiki-query.md +3 -1
  19. package/skills/agents/wiki-reingest.md +9 -8
  20. package/skills/package.json +1 -1
  21. package/skills/skills/using-skillwiki/SKILL.md +19 -13
  22. package/skills/skills/wiki-add-task/SKILL.md +4 -3
  23. package/skills/skills/wiki-archive/SKILL.md +23 -18
  24. package/skills/skills/wiki-audit/SKILL.md +3 -1
  25. package/skills/skills/wiki-init/SKILL.md +12 -1
  26. package/skills/skills/wiki-lint/SKILL.md +2 -1
  27. package/skills/skills/wiki-query/SKILL.md +7 -0
  28. package/skills/skills/wiki-reingest/SKILL.md +12 -8
  29. package/skills/skills/wiki-remove/SKILL.md +22 -5
  30. package/skills/skills/wiki-sync/SKILL.md +2 -3
  31. package/skills/using-skillwiki/SKILL.md +19 -13
  32. package/skills/wiki-add-task/SKILL.md +4 -3
  33. package/skills/wiki-archive/SKILL.md +23 -18
  34. package/skills/wiki-audit/SKILL.md +3 -1
  35. package/skills/wiki-init/SKILL.md +12 -1
  36. package/skills/wiki-lint/SKILL.md +2 -1
  37. package/skills/wiki-query/SKILL.md +7 -0
  38. package/skills/wiki-reingest/SKILL.md +12 -8
  39. package/skills/wiki-remove/SKILL.md +22 -5
  40. package/skills/wiki-sync/SKILL.md +2 -3
  41. package/templates/SCHEMA.md +8 -5
  42. package/templates/web-clipper/llm-wiki-clippings.json +56 -0
  43. package/templates/web-clipper/readme.txt +16 -0
@@ -12,7 +12,7 @@ This sets the language of generated page prose. Frontmatter keys, schema section
12
12
 
13
13
  ## Layers
14
14
 
15
- - `raw/` — immutable source material (never modify after ingest).
15
+ - `raw/` — immutable evidence. Never rewrite existing content/frontmatter or autonomously remove an object. Attended rename/relocate/archive/dedup is allowed only when exact bytes remain somewhere under `raw/`.
16
16
  - `entities/`, `concepts/`, `comparisons/`, `queries/` — typed knowledge unified across origin via `provenance:`.
17
17
  - `meta/` — cross-project synthesis (notes naming ≥2 projects).
18
18
  - `projects/{slug}/` — per-project lifecycle workspace.
@@ -42,6 +42,7 @@ Rule: every tag on every page MUST appear in this taxonomy. Add new tags here fi
42
42
  - DO NOT create a page for passing mentions.
43
43
  - Split a page when it exceeds ~200 lines.
44
44
  - Archive a page when fully superseded — move to `_archive/`, remove from `index.md`.
45
+ - Raw source lifecycle is separate: preserve archived sources under `raw/archived/{articles,papers,transcripts}/` and preserved duplicates under `raw/duplicates/{articles,papers,transcripts}/`. Legacy `_archive/raw/` is read-only compatibility, never a new-write target.
45
46
 
46
47
  ## Update Policy
47
48
 
@@ -71,8 +72,9 @@ Obsidian-compatible Mermaid rules:
71
72
 
72
73
  ## Ad-Hoc Capture Format
73
74
 
74
- Ad-hoc captures are mutable working notes created during development
75
+ Ad-hoc captures are immutable completed evidence created during development
75
76
  (via `/wiki-add-task` or filesystem drop). They live in `raw/transcripts/`.
77
+ Corrections create a new capture or a maintained work-item note; never edit an existing transcript.
76
78
 
77
79
  ### Frontmatter
78
80
 
@@ -98,15 +100,16 @@ project: # optional: "[[slug]]" for cross-reference
98
100
  | Aspect | Ad-Hoc Capture | Ingested Source |
99
101
  |--------|----------------|-----------------|
100
102
  | Location | `raw/transcripts/` | `raw/articles/`, `raw/papers/`, etc. |
101
- | Mutability | Mutable (working notes) | Immutable after ingest |
103
+ | Mutability | Immutable after capture | Immutable after ingest |
102
104
  | `sha256` | **Omitted** | Required |
103
105
  | `created` | Required | Use `ingested` |
104
106
  | Entry | `/wiki-add-task`, filesystem drop | `wiki-ingest`, `skillwiki fetch` |
105
107
 
106
108
  ## Obsidian Integration
107
109
 
108
- - **Attachment folder:** `raw/assets/` — binary assets (images, diagrams) live here.
109
- Set Obsidian's "Attachment folder path" to `raw/assets` for automatic filing.
110
+ - **Stable asset pool:** binary assets may use any flat or URL-friendly nested path under `raw/assets/`; no fixed internal taxonomy such as papers/transcripts is required.
111
+ - Use explicit vault-root embeds such as `![[raw/assets/example/diagram.png]]` so Obsidian preview and GitHub browsing remain unambiguous.
112
+ - Resolve and preview a new local embed before finalizing its raw capture. Once referenced, the asset path freezes; source archive/dedup does not move it. Remote HTTP(S) images remain external dependencies unless separately captured.
110
113
  - **Dataview queries** (read-only; do not replace index.md):
111
114
 
112
115
  ```dataview
@@ -0,0 +1,56 @@
1
+ {
2
+ "schemaVersion": "0.1.0",
3
+ "name": "llm-wiki-clippings",
4
+ "behavior": "create",
5
+ "noteContentFormat": "{{content}}",
6
+ "properties": [
7
+ {
8
+ "name": "title",
9
+ "value": "{{title}}",
10
+ "type": "text"
11
+ },
12
+ {
13
+ "name": "source_url",
14
+ "value": "{{url}}",
15
+ "type": "text"
16
+ },
17
+ {
18
+ "name": "author",
19
+ "value": "{{author|split:\", \"|wikilink|join}}",
20
+ "type": "multitext"
21
+ },
22
+ {
23
+ "name": "published",
24
+ "value": "{{published|date:\"YYYY-MM-DD\"}}",
25
+ "type": "date"
26
+ },
27
+ {
28
+ "name": "created",
29
+ "value": "{{date|date:\"YYYY-MM-DD\"}}",
30
+ "type": "date"
31
+ },
32
+ {
33
+ "name": "ingested",
34
+ "value": "{{date|date:\"YYYY-MM-DD\"}}",
35
+ "type": "date"
36
+ },
37
+ {
38
+ "name": "ingested_by",
39
+ "value": "manual",
40
+ "type": "text"
41
+ },
42
+ {
43
+ "name": "description",
44
+ "value": "{{description}}",
45
+ "type": "text"
46
+ },
47
+ {
48
+ "name": "tags",
49
+ "value": "clippings",
50
+ "type": "multitext"
51
+ }
52
+ ],
53
+ "triggers": [],
54
+ "noteNameFormat": "{{date|date:\"YYYY-MM-DD\"}}-{{title|safe_name}}",
55
+ "path": "raw/articles"
56
+ }
@@ -0,0 +1,16 @@
1
+ SkillWiki Obsidian Web Clipper template
2
+
3
+ 1. Open Obsidian Web Clipper Settings in the browser profile that will capture this vault.
4
+ 2. Import llm-wiki-clippings.json.
5
+ 3. Confirm the destination path is raw/articles and the behavior is Create.
6
+ 4. Repeat the import for every browser profile that should capture into this vault.
7
+
8
+ The generic template preserves Web Clipper's {{content}} output. Remote HTTP(S)
9
+ images remain external dependencies and are not guaranteed to be downloaded or
10
+ available offline.
11
+
12
+ For attended local asset materialization, an agent may choose any URL-friendly
13
+ path under raw/assets/. Write the asset first, use an explicit vault-qualified
14
+ Obsidian embed such as ![[raw/assets/example/diagram.png]], verify the target and
15
+ preview, and only then finalize the new raw capture. Referenced asset paths are
16
+ stable after capture.