skillwiki 0.2.1 → 0.2.2

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/dist/cli.js CHANGED
@@ -101,6 +101,7 @@ var sha256Hex = z.string().regex(/^[0-9a-f]{64}$/);
101
101
  var RawSourceSchema = z.object({
102
102
  title: z.string().min(1).optional(),
103
103
  source_url: z.string().nullable(),
104
+ created: isoDate.optional(),
104
105
  ingested: isoDate,
105
106
  ingested_by: z.enum(["wiki-ingest", "proj-work", "manual"]).optional(),
106
107
  sha256: sha256Hex.optional(),
@@ -1649,7 +1650,8 @@ async function runInit(input) {
1649
1650
  return [
1650
1651
  "---",
1651
1652
  "source_url:",
1652
- "ingested: {{date:YYYY-MM-DD}}",
1653
+ "created: {{date:YYYY-MM-DD}}",
1654
+ "ingested: # filled by ingest pipeline",
1653
1655
  "kind: # idea | bug | task | note | other",
1654
1656
  'project: # optional: "[[slug]]"',
1655
1657
  "---",
@@ -4430,6 +4432,7 @@ function buildRawContent(sourceUrl, ingested, sha256, body) {
4430
4432
  const lines = [
4431
4433
  "---",
4432
4434
  sourceUrl !== null ? `source_url: "${sourceUrl}"` : "source_url:",
4435
+ `created: ${ingested}`,
4433
4436
  `ingested: ${ingested}`,
4434
4437
  `sha256: ${sha256}`,
4435
4438
  `ingested_by: wiki-ingest`,
@@ -5373,6 +5376,7 @@ This is a seed concept page. Concept pages capture topics, patterns, and ideas t
5373
5376
  };
5374
5377
  var EXAMPLE_RAW = `---
5375
5378
  source_url: https://example.com
5379
+ created: ${TODAY}
5376
5380
  ingested: ${TODAY}
5377
5381
  sha256: 0000000000000000000000000000000000000000000000000000000000000000
5378
5382
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "skillwiki": "dist/cli.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "skills": "./",
5
5
  "description": "Project-aware Karpathy-style knowledge base for Claude Code: 18 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",
@@ -33,6 +33,12 @@ When reading retros as source material:
33
33
  `provenance: project` and
34
34
  `provenance_projects: ["[[slug]]"]`. Validate with
35
35
  `skillwiki validate`.
36
+ - **Tag hygiene:** `tags:` must only contain entries from
37
+ `{vault}/SCHEMA.md` taxonomy. Never derive tags from prose text
38
+ (lesson/evidence sections) — use only established taxonomy tags
39
+ (e.g., `dev-loop`, `lint`, `vault`). If no relevant taxonomy tag
40
+ exists, use `[dev-loop]` as the safe default rather than inventing
41
+ new tags. New tags must be added to SCHEMA.md first.
36
42
  3. **Backlink.** Set `promoted_to: "[[concept-slug]]"` on the source
37
43
  compound entry. For retro-sourced distillation, skip backlink (log.md
38
44
  entries are append-only) and instead add `sources:` citing the vault