Stevesolun commited on
Commit
e87ebcc
·
verified ·
1 Parent(s): f2361ba

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -1,2 +1 @@
1
  graph/wiki-graph.tar.gz filter=lfs diff=lfs merge=lfs -text
2
- graph/skills-sh-catalog.json.gz filter=lfs diff=lfs merge=lfs -text
 
1
  graph/wiki-graph.tar.gz filter=lfs diff=lfs merge=lfs -text
 
.github/workflows/publish.yml CHANGED
@@ -140,7 +140,7 @@ jobs:
140
  run: |
141
  set -euo pipefail
142
  git lfs install --local
143
- if git lfs pull --include="graph/wiki-graph.tar.gz" --exclude=""; then
144
  exit 0
145
  fi
146
  echo "Git LFS download failed; trying matching prior release asset."
@@ -152,75 +152,80 @@ jobs:
152
  import subprocess
153
  import urllib.request
154
 
155
- graph_tar = Path("graph/wiki-graph.tar.gz")
156
- pointer = graph_tar.read_text(encoding="utf-8", errors="replace")
157
- expected_oid = ""
158
- expected_size = 0
159
- for line in pointer.splitlines():
160
- if line.startswith("oid sha256:"):
161
- expected_oid = line.split(":", 1)[1].strip()
162
- elif line.startswith("size "):
163
- expected_size = int(line.split(" ", 1)[1].strip())
164
- if not expected_oid:
165
- if graph_tar.stat().st_size > 100_000_000:
166
- print(f"{graph_tar} is already hydrated")
167
- raise SystemExit(0)
168
- raise SystemExit("graph/wiki-graph.tar.gz is neither hydrated nor an LFS pointer")
169
-
170
  repo = os.environ["GITHUB_REPOSITORY"]
171
  current_tag = os.environ.get("TAG_NAME", "")
172
  releases = json.loads(subprocess.check_output(
173
  ["gh", "api", f"repos/{repo}/releases?per_page=50"],
174
  text=True,
175
  ))
176
- candidates = []
177
- for release in releases:
178
- if release.get("draft") or release.get("prerelease"):
179
- continue
180
- if release.get("tag_name") == current_tag:
181
- continue
182
- for asset in release.get("assets", []):
183
- if asset.get("name") != "wiki-graph.tar.gz":
184
- continue
185
- digest = str(asset.get("digest") or "")
186
- size = int(asset.get("size") or 0)
187
- if size != expected_size:
 
 
 
 
 
 
 
 
188
  continue
189
- if digest and digest != f"sha256:{expected_oid}":
190
  continue
191
- candidates.append((release.get("tag_name"), asset))
192
-
193
- if not candidates:
194
- raise SystemExit(
195
- "No previous release asset matches graph/wiki-graph.tar.gz "
196
- f"sha256:{expected_oid} size:{expected_size}"
197
- )
 
 
 
 
 
 
 
 
 
198
 
199
- source_tag, asset = candidates[0]
200
- tmp = graph_tar.with_name("wiki-graph.tar.gz.download")
201
- sha = hashlib.sha256()
202
- total = 0
203
- with urllib.request.urlopen(asset["browser_download_url"], timeout=300) as resp: # noqa: S310
204
- with tmp.open("wb") as fh:
205
- while True:
206
- chunk = resp.read(1024 * 1024)
207
- if not chunk:
208
- break
209
- sha.update(chunk)
210
- total += len(chunk)
211
- fh.write(chunk)
212
- actual_oid = sha.hexdigest()
213
- if actual_oid != expected_oid or total != expected_size:
214
- tmp.unlink(missing_ok=True)
215
- raise SystemExit(
216
- "Downloaded graph tar does not match LFS pointer: "
 
 
 
 
 
217
  f"sha256:{actual_oid} size:{total}"
218
  )
219
- tmp.replace(graph_tar)
220
- print(
221
- "Hydrated graph/wiki-graph.tar.gz from "
222
- f"{source_tag} release asset sha256:{actual_oid} size:{total}"
223
- )
224
  PY
225
 
226
  - name: Validate release graph artifacts
@@ -383,6 +388,7 @@ jobs:
383
  name: graph-release-assets
384
  path: |
385
  graph/wiki-graph.tar.gz
 
386
  graph/skills-sh-catalog.json.gz
387
  graph/communities.json
388
 
@@ -413,6 +419,7 @@ jobs:
413
  gh release upload "$TAG_NAME" \
414
  --repo "$GITHUB_REPOSITORY" \
415
  graph-release-assets/wiki-graph.tar.gz \
 
416
  graph-release-assets/skills-sh-catalog.json.gz \
417
  graph-release-assets/communities.json \
418
  --clobber
 
140
  run: |
141
  set -euo pipefail
142
  git lfs install --local
143
+ if git lfs pull --include="graph/wiki-graph.tar.gz,graph/wiki-graph-runtime.tar.gz" --exclude=""; then
144
  exit 0
145
  fi
146
  echo "Git LFS download failed; trying matching prior release asset."
 
152
  import subprocess
153
  import urllib.request
154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  repo = os.environ["GITHUB_REPOSITORY"]
156
  current_tag = os.environ.get("TAG_NAME", "")
157
  releases = json.loads(subprocess.check_output(
158
  ["gh", "api", f"repos/{repo}/releases?per_page=50"],
159
  text=True,
160
  ))
161
+
162
+ def hydrate_from_release(path_name: str, hydrated_min_size: int) -> None:
163
+ graph_tar = Path(path_name)
164
+ pointer = graph_tar.read_text(encoding="utf-8", errors="replace")
165
+ expected_oid = ""
166
+ expected_size = 0
167
+ for line in pointer.splitlines():
168
+ if line.startswith("oid sha256:"):
169
+ expected_oid = line.split(":", 1)[1].strip()
170
+ elif line.startswith("size "):
171
+ expected_size = int(line.split(" ", 1)[1].strip())
172
+ if not expected_oid:
173
+ if graph_tar.stat().st_size > hydrated_min_size:
174
+ print(f"{graph_tar} is already hydrated")
175
+ return
176
+ raise SystemExit(f"{path_name} is neither hydrated nor an LFS pointer")
177
+
178
+ candidates = []
179
+ for release in releases:
180
+ if release.get("draft") or release.get("prerelease"):
181
  continue
182
+ if release.get("tag_name") == current_tag:
183
  continue
184
+ for asset in release.get("assets", []):
185
+ if asset.get("name") != graph_tar.name:
186
+ continue
187
+ digest = str(asset.get("digest") or "")
188
+ size = int(asset.get("size") or 0)
189
+ if size != expected_size:
190
+ continue
191
+ if digest and digest != f"sha256:{expected_oid}":
192
+ continue
193
+ candidates.append((release.get("tag_name"), asset))
194
+
195
+ if not candidates:
196
+ raise SystemExit(
197
+ f"No previous release asset matches {path_name} "
198
+ f"sha256:{expected_oid} size:{expected_size}"
199
+ )
200
 
201
+ source_tag, asset = candidates[0]
202
+ tmp = graph_tar.with_name(f"{graph_tar.name}.download")
203
+ sha = hashlib.sha256()
204
+ total = 0
205
+ with urllib.request.urlopen(asset["browser_download_url"], timeout=300) as resp: # noqa: S310
206
+ with tmp.open("wb") as fh:
207
+ while True:
208
+ chunk = resp.read(1024 * 1024)
209
+ if not chunk:
210
+ break
211
+ sha.update(chunk)
212
+ total += len(chunk)
213
+ fh.write(chunk)
214
+ actual_oid = sha.hexdigest()
215
+ if actual_oid != expected_oid or total != expected_size:
216
+ tmp.unlink(missing_ok=True)
217
+ raise SystemExit(
218
+ f"Downloaded {path_name} does not match LFS pointer: "
219
+ f"sha256:{actual_oid} size:{total}"
220
+ )
221
+ tmp.replace(graph_tar)
222
+ print(
223
+ f"Hydrated {path_name} from {source_tag} release asset "
224
  f"sha256:{actual_oid} size:{total}"
225
  )
226
+
227
+ hydrate_from_release("graph/wiki-graph.tar.gz", 100_000_000)
228
+ hydrate_from_release("graph/wiki-graph-runtime.tar.gz", 10_000_000)
 
 
229
  PY
230
 
231
  - name: Validate release graph artifacts
 
388
  name: graph-release-assets
389
  path: |
390
  graph/wiki-graph.tar.gz
391
+ graph/wiki-graph-runtime.tar.gz
392
  graph/skills-sh-catalog.json.gz
393
  graph/communities.json
394
 
 
419
  gh release upload "$TAG_NAME" \
420
  --repo "$GITHUB_REPOSITORY" \
421
  graph-release-assets/wiki-graph.tar.gz \
422
+ graph-release-assets/wiki-graph-runtime.tar.gz \
423
  graph-release-assets/skills-sh-catalog.json.gz \
424
  graph-release-assets/communities.json \
425
  --clobber
.github/workflows/test.yml CHANGED
@@ -214,8 +214,6 @@ jobs:
214
  uses: actions/setup-python@v6
215
  with:
216
  python-version: "3.12"
217
- cache: pip
218
- cache-dependency-path: pyproject.toml
219
 
220
  - name: Install dependencies
221
  run: |
@@ -304,7 +302,7 @@ jobs:
304
  run: |
305
  set -euo pipefail
306
  git lfs install --local
307
- if git lfs pull --include="graph/wiki-graph.tar.gz" --exclude=""; then
308
  exit 0
309
  fi
310
  echo "Git LFS download failed; trying matching prior release asset."
@@ -316,72 +314,77 @@ jobs:
316
  import subprocess
317
  import urllib.request
318
 
319
- graph_tar = Path("graph/wiki-graph.tar.gz")
320
- pointer = graph_tar.read_text(encoding="utf-8", errors="replace")
321
- expected_oid = ""
322
- expected_size = 0
323
- for line in pointer.splitlines():
324
- if line.startswith("oid sha256:"):
325
- expected_oid = line.split(":", 1)[1].strip()
326
- elif line.startswith("size "):
327
- expected_size = int(line.split(" ", 1)[1].strip())
328
- if not expected_oid:
329
- if graph_tar.stat().st_size > 100_000_000:
330
- print(f"{graph_tar} is already hydrated")
331
- raise SystemExit(0)
332
- raise SystemExit("graph/wiki-graph.tar.gz is neither hydrated nor an LFS pointer")
333
-
334
  repo = os.environ["GITHUB_REPOSITORY"]
335
  releases = json.loads(subprocess.check_output(
336
  ["gh", "api", f"repos/{repo}/releases?per_page=50"],
337
  text=True,
338
  ))
339
- candidates = []
340
- for release in releases:
341
- if release.get("draft") or release.get("prerelease"):
342
- continue
343
- for asset in release.get("assets", []):
344
- if asset.get("name") != "wiki-graph.tar.gz":
345
- continue
346
- digest = str(asset.get("digest") or "")
347
- size = int(asset.get("size") or 0)
348
- if size != expected_size:
349
- continue
350
- if digest and digest != f"sha256:{expected_oid}":
351
- continue
352
- candidates.append((release.get("tag_name"), asset))
353
-
354
- if not candidates:
355
- raise SystemExit(
356
- "No previous release asset matches graph/wiki-graph.tar.gz "
357
- f"sha256:{expected_oid} size:{expected_size}"
358
- )
359
 
360
- source_tag, asset = candidates[0]
361
- tmp = graph_tar.with_name("wiki-graph.tar.gz.download")
362
- sha = hashlib.sha256()
363
- total = 0
364
- with urllib.request.urlopen(asset["browser_download_url"], timeout=300) as resp: # noqa: S310
365
- with tmp.open("wb") as fh:
366
- while True:
367
- chunk = resp.read(1024 * 1024)
368
- if not chunk:
369
- break
370
- sha.update(chunk)
371
- total += len(chunk)
372
- fh.write(chunk)
373
- actual_oid = sha.hexdigest()
374
- if actual_oid != expected_oid or total != expected_size:
375
- tmp.unlink(missing_ok=True)
376
- raise SystemExit(
377
- "Downloaded graph tar does not match LFS pointer: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
  f"sha256:{actual_oid} size:{total}"
379
  )
380
- tmp.replace(graph_tar)
381
- print(
382
- "Hydrated graph/wiki-graph.tar.gz from "
383
- f"{source_tag} release asset sha256:{actual_oid} size:{total}"
384
- )
385
  PY
386
 
387
  - name: Validate shipped graph artifacts
 
214
  uses: actions/setup-python@v6
215
  with:
216
  python-version: "3.12"
 
 
217
 
218
  - name: Install dependencies
219
  run: |
 
302
  run: |
303
  set -euo pipefail
304
  git lfs install --local
305
+ if git lfs pull --include="graph/wiki-graph.tar.gz,graph/wiki-graph-runtime.tar.gz" --exclude=""; then
306
  exit 0
307
  fi
308
  echo "Git LFS download failed; trying matching prior release asset."
 
314
  import subprocess
315
  import urllib.request
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  repo = os.environ["GITHUB_REPOSITORY"]
318
  releases = json.loads(subprocess.check_output(
319
  ["gh", "api", f"repos/{repo}/releases?per_page=50"],
320
  text=True,
321
  ))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
 
323
+ def hydrate_from_release(path_name: str, hydrated_min_size: int) -> None:
324
+ graph_tar = Path(path_name)
325
+ pointer = graph_tar.read_text(encoding="utf-8", errors="replace")
326
+ expected_oid = ""
327
+ expected_size = 0
328
+ for line in pointer.splitlines():
329
+ if line.startswith("oid sha256:"):
330
+ expected_oid = line.split(":", 1)[1].strip()
331
+ elif line.startswith("size "):
332
+ expected_size = int(line.split(" ", 1)[1].strip())
333
+ if not expected_oid:
334
+ if graph_tar.stat().st_size > hydrated_min_size:
335
+ print(f"{graph_tar} is already hydrated")
336
+ return
337
+ raise SystemExit(f"{path_name} is neither hydrated nor an LFS pointer")
338
+
339
+ candidates = []
340
+ for release in releases:
341
+ if release.get("draft") or release.get("prerelease"):
342
+ continue
343
+ for asset in release.get("assets", []):
344
+ if asset.get("name") != graph_tar.name:
345
+ continue
346
+ digest = str(asset.get("digest") or "")
347
+ size = int(asset.get("size") or 0)
348
+ if size != expected_size:
349
+ continue
350
+ if digest and digest != f"sha256:{expected_oid}":
351
+ continue
352
+ candidates.append((release.get("tag_name"), asset))
353
+
354
+ if not candidates:
355
+ raise SystemExit(
356
+ f"No previous release asset matches {path_name} "
357
+ f"sha256:{expected_oid} size:{expected_size}"
358
+ )
359
+
360
+ source_tag, asset = candidates[0]
361
+ tmp = graph_tar.with_name(f"{graph_tar.name}.download")
362
+ sha = hashlib.sha256()
363
+ total = 0
364
+ with urllib.request.urlopen(asset["browser_download_url"], timeout=300) as resp: # noqa: S310
365
+ with tmp.open("wb") as fh:
366
+ while True:
367
+ chunk = resp.read(1024 * 1024)
368
+ if not chunk:
369
+ break
370
+ sha.update(chunk)
371
+ total += len(chunk)
372
+ fh.write(chunk)
373
+ actual_oid = sha.hexdigest()
374
+ if actual_oid != expected_oid or total != expected_size:
375
+ tmp.unlink(missing_ok=True)
376
+ raise SystemExit(
377
+ f"Downloaded {path_name} does not match LFS pointer: "
378
+ f"sha256:{actual_oid} size:{total}"
379
+ )
380
+ tmp.replace(graph_tar)
381
+ print(
382
+ f"Hydrated {path_name} from {source_tag} release asset "
383
  f"sha256:{actual_oid} size:{total}"
384
  )
385
+
386
+ hydrate_from_release("graph/wiki-graph.tar.gz", 100_000_000)
387
+ hydrate_from_release("graph/wiki-graph-runtime.tar.gz", 10_000_000)
 
 
388
  PY
389
 
390
  - name: Validate shipped graph artifacts
CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ Format loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7
 
8
  - No unreleased changes yet.
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ## [1.0.0] - 2026-05-10
11
 
12
  ### Added
@@ -1442,6 +1457,7 @@ pass. Full test suite: **1316 passed, 2 skipped**.
1442
  - 5 dead imports removed (`os`, `Mapping`, `timedelta` from
1443
  `ctx_lifecycle`; `Path` from `intake_gate`, `intake_pipeline`).
1444
 
 
1445
  [1.0.0]: https://github.com/stevesolun/ctx/releases/tag/v1.0.0
1446
  [0.5.1]: https://github.com/stevesolun/ctx/releases/tag/v0.5.1
1447
  [0.5.0]: https://github.com/stevesolun/ctx/releases/tag/v0.5.0
 
7
 
8
  - No unreleased changes yet.
9
 
10
+ ## [1.0.1] - 2026-05-10
11
+
12
+ ### Added
13
+
14
+ - Shipped `graph/wiki-graph-runtime.tar.gz` as the default graph install
15
+ artifact for `ctx-init --graph`; full markdown wiki expansion remains
16
+ available with `--graph-install-mode full`.
17
+
18
+ ### Fixed
19
+
20
+ - Made graph install validation bounded instead of parsing the full
21
+ 851 MB `graph.json` on first install.
22
+ - Wired the runtime graph artifact through release upload, graph validation,
23
+ CI classification, Hugging Face sync, and dashboard artifact status.
24
+
25
  ## [1.0.0] - 2026-05-10
26
 
27
  ### Added
 
1457
  - 5 dead imports removed (`os`, `Mapping`, `timedelta` from
1458
  `ctx_lifecycle`; `Path` from `intake_gate`, `intake_pipeline`).
1459
 
1460
+ [1.0.1]: https://github.com/stevesolun/ctx/releases/tag/v1.0.1
1461
  [1.0.0]: https://github.com/stevesolun/ctx/releases/tag/v1.0.0
1462
  [0.5.1]: https://github.com/stevesolun/ctx/releases/tag/v0.5.1
1463
  [0.5.0]: https://github.com/stevesolun/ctx/releases/tag/v0.5.0
README.md CHANGED
@@ -18,7 +18,7 @@ tags:
18
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
19
  [![Python 3.11+](https://img.shields.io/badge/Python-3.11+-green.svg)](https://python.org)
20
  [![PyPI](https://img.shields.io/pypi/v/claude-ctx.svg)](https://pypi.org/project/claude-ctx/)
21
- [![Tests](https://img.shields.io/badge/Tests-3706_collected-brightgreen.svg)](#)
22
  [![Graph](https://img.shields.io/badge/Graph-102%2C696_nodes_/_2.9M_edges-red.svg)](graph/)
23
  [![Docs](https://img.shields.io/badge/docs-MkDocs_Material-blue.svg)](https://stevesolun.github.io/ctx/)
24
 
@@ -47,7 +47,8 @@ Current shipped snapshot:
47
  ```bash
48
  pip install claude-ctx
49
  ctx-init # terminal wizard: hooks, graph, model, harness goal
50
- ctx-init --graph --hooks --model-mode skip # non-interactive graph + Claude Code hooks
 
51
  ctx-init --wizard # force the same wizard from scripts/tests
52
  ctx-init --model-mode custom --model openai/gpt-5.5 --goal "build a CAD agent"
53
  ```
@@ -56,16 +57,25 @@ Optional extras: `pip install "claude-ctx[embeddings]"` for the semantic backend
56
 
57
  ### Pre-built knowledge graph
58
 
59
- Graph-backed recommendations need the pre-built wiki graph. Source checkouts
60
- use `graph/wiki-graph.tar.gz`; pip installs download the matching GitHub
61
- release asset:
 
 
 
62
 
63
  ```bash
64
  ctx-init --graph
65
  ```
66
 
67
- A pre-built knowledge graph of 102,696 nodes and 2.9M edges ships as a
68
- tarball. The same tarball includes `external-catalogs/skills-sh/catalog.json`,
 
 
 
 
 
 
69
  89,463 body-backed Skills.sh skill pages under `entities/skills/skills-sh-*.md`,
70
  89,463 hydrated installable Skills.sh `SKILL.md` files under
71
  `converted/skills-sh-*/`, and 13 cataloged harness pages under
 
18
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
19
  [![Python 3.11+](https://img.shields.io/badge/Python-3.11+-green.svg)](https://python.org)
20
  [![PyPI](https://img.shields.io/pypi/v/claude-ctx.svg)](https://pypi.org/project/claude-ctx/)
21
+ [![Tests](https://img.shields.io/badge/Tests-3707_collected-brightgreen.svg)](#)
22
  [![Graph](https://img.shields.io/badge/Graph-102%2C696_nodes_/_2.9M_edges-red.svg)](graph/)
23
  [![Docs](https://img.shields.io/badge/docs-MkDocs_Material-blue.svg)](https://stevesolun.github.io/ctx/)
24
 
 
47
  ```bash
48
  pip install claude-ctx
49
  ctx-init # terminal wizard: hooks, graph, model, harness goal
50
+ ctx-init --graph --hooks --model-mode skip # fast runtime graph + Claude Code hooks
51
+ ctx-init --graph --graph-install-mode full # expand the full markdown wiki locally
52
  ctx-init --wizard # force the same wizard from scripts/tests
53
  ctx-init --model-mode custom --model openai/gpt-5.5 --goal "build a CAD agent"
54
  ```
 
57
 
58
  ### Pre-built knowledge graph
59
 
60
+ Graph-backed recommendations need the pre-built graph. By default, `ctx-init
61
+ --graph` installs the fast runtime artifact: `graph/wiki-graph-runtime.tar.gz`
62
+ in source checkouts, or the matching GitHub release asset from pip installs.
63
+ It contains `graphify-out/*` plus the external Skills.sh catalog needed for
64
+ recommendations and the 13 cataloged harness pages needed by
65
+ `ctx-harness-install`:
66
 
67
  ```bash
68
  ctx-init --graph
69
  ```
70
 
71
+ The full LLM-wiki artifact remains available for local browsing, Obsidian, and
72
+ expanded markdown pages:
73
+
74
+ ```bash
75
+ ctx-init --graph --graph-install-mode full
76
+ ```
77
+
78
+ The full `wiki-graph.tar.gz` includes `external-catalogs/skills-sh/catalog.json`,
79
  89,463 body-backed Skills.sh skill pages under `entities/skills/skills-sh-*.md`,
80
  89,463 hydrated installable Skills.sh `SKILL.md` files under
81
  `converted/skills-sh-*/`, and 13 cataloged harness pages under
docs/dashboard.md CHANGED
@@ -48,16 +48,21 @@ generated graph/wiki artifacts that ctx can ship or consume. It reports:
48
  opened or queried
49
  - artifact presence and byte size for generated
50
  `~/.claude/skill-wiki/graphify-out/{graph.json,graph-delta.json,communities.json}`
51
- plus `wiki-graph.tar.gz` and `skills-sh-catalog.json.gz` from
52
- `~/.claude/graph/` when installed there, falling back to the repo `graph/`
53
- directory during source checkouts
 
 
54
  - artifact promotion metadata, including the latest promoted hash when
55
  the crash-safe promotion path has recorded it
56
 
57
  ### Browse the LLM wiki — `/wiki`
58
 
59
- The wiki tab is a filterable card grid over a deterministic, bounded
60
- dashboard sample:
 
 
 
61
  up to 500 pages per dashboard-supported entity type under
62
  `~/.claude/skill-wiki/entities/{skills,agents,mcp-servers,harnesses}/`.
63
  MCP server pages use the sharded layout
 
48
  opened or queried
49
  - artifact presence and byte size for generated
50
  `~/.claude/skill-wiki/graphify-out/{graph.json,graph-delta.json,communities.json}`
51
+ plus the runtime Skills.sh catalog under
52
+ `~/.claude/skill-wiki/external-catalogs/skills-sh/catalog.json`, falling
53
+ back to `~/.claude/graph/skills-sh-catalog.json.gz` or the repo `graph/`
54
+ directory during source checkouts. The status page also reports the full
55
+ `wiki-graph.tar.gz` artifact when present.
56
  - artifact promotion metadata, including the latest promoted hash when
57
  the crash-safe promotion path has recorded it
58
 
59
  ### Browse the LLM wiki — `/wiki`
60
 
61
+ The wiki tab requires full wiki markdown content from
62
+ `ctx-init --graph --graph-install-mode full` or local/private wiki entities.
63
+ The default runtime graph install powers recommendations and graph stats but
64
+ does not expand every entity page. When entity pages exist, the wiki tab is a
65
+ filterable card grid over a deterministic, bounded dashboard sample:
66
  up to 500 pages per dashboard-supported entity type under
67
  `~/.claude/skill-wiki/entities/{skills,agents,mcp-servers,harnesses}/`.
68
  MCP server pages use the sharded layout
docs/harness/clean-host-contract.md CHANGED
@@ -31,15 +31,17 @@ contract stabilizes.
31
 
32
  ## What It Skips
33
 
34
- - It does not run `ctx-init --graph`; graph builds are intentionally slow.
 
 
35
  - It does not execute hooks inside a live Claude Code process by default. The
36
  live host path is opt-in because it can consume Anthropic or provider quota.
37
  - It does not connect to a real third-party MCP server.
38
  - It does not browser-test the monitor dashboard.
39
  - It does not simulate process kills or power loss during writes.
40
 
41
- Those checks stay intentionally manual or opt-in until they are stable enough
42
- for the default CI path.
43
 
44
  ## Local Usage
45
 
 
31
 
32
  ## What It Skips
33
 
34
+ - It does not run `ctx-init --graph` by default; even the fast runtime graph
35
+ install downloads or extracts a large release artifact, so it stays in
36
+ dedicated public-install smoke tests.
37
  - It does not execute hooks inside a live Claude Code process by default. The
38
  live host path is opt-in because it can consume Anthropic or provider quota.
39
  - It does not connect to a real third-party MCP server.
40
  - It does not browser-test the monitor dashboard.
41
  - It does not simulate process kills or power loss during writes.
42
 
43
+ Those checks stay intentionally manual or opt-in until they are stable enough
44
+ for the default CI path.
45
 
46
  ## Local Usage
47
 
docs/huggingface-publish.md CHANGED
@@ -9,6 +9,7 @@ tarball and catalog artifacts, not local review reports or ignored caches.
9
 
10
  - Tracked source, docs, tests, and packaging files.
11
  - `graph/wiki-graph.tar.gz`.
 
12
  - `graph/skills-sh-catalog.json.gz`.
13
  - Tracked graph visualizations under `graph/`.
14
 
@@ -20,8 +21,9 @@ by git.
20
 
21
  Use the repository sync script. It exports only tracked files, adds the
22
  Hugging Face repo-card frontmatter to the uploaded `README.md`, and refuses to
23
- publish if `graph/wiki-graph.tar.gz` or `graph/skills-sh-catalog.json.gz` is
24
- missing, too small, or still a Git LFS pointer.
 
25
 
26
  The script prefers Hugging Face's resumable large-folder uploader when the
27
  remote already has no stale paths. If the remote contains files that are not in
@@ -34,7 +36,7 @@ current process, and clear it after the upload.
34
  ```powershell
35
  python -m pip install --upgrade huggingface_hub
36
  git lfs install
37
- git lfs pull --include="graph/wiki-graph.tar.gz,graph/skills-sh-catalog.json.gz"
38
 
39
  $secureToken = Read-Host "HF write token" -AsSecureString
40
  $tokenPtr = [Runtime.InteropServices.Marshal]::SecureStringToBSTR($secureToken)
 
9
 
10
  - Tracked source, docs, tests, and packaging files.
11
  - `graph/wiki-graph.tar.gz`.
12
+ - `graph/wiki-graph-runtime.tar.gz`.
13
  - `graph/skills-sh-catalog.json.gz`.
14
  - Tracked graph visualizations under `graph/`.
15
 
 
21
 
22
  Use the repository sync script. It exports only tracked files, adds the
23
  Hugging Face repo-card frontmatter to the uploaded `README.md`, and refuses to
24
+ publish if `graph/wiki-graph.tar.gz`, `graph/wiki-graph-runtime.tar.gz`, or
25
+ `graph/skills-sh-catalog.json.gz` is missing, too small, or still a Git LFS
26
+ pointer.
27
 
28
  The script prefers Hugging Face's resumable large-folder uploader when the
29
  remote already has no stale paths. If the remote contains files that are not in
 
36
  ```powershell
37
  python -m pip install --upgrade huggingface_hub
38
  git lfs install
39
+ git lfs pull --include="graph/wiki-graph.tar.gz,graph/wiki-graph-runtime.tar.gz,graph/skills-sh-catalog.json.gz"
40
 
41
  $secureToken = Read-Host "HF write token" -AsSecureString
42
  $tokenPtr = [Runtime.InteropServices.Marshal]::SecureStringToBSTR($secureToken)
docs/index.md CHANGED
@@ -25,10 +25,12 @@ memory that gets smarter every session.
25
  model harness runs, `pip install "claude-ctx[dev]"` for the
26
  pytest/mypy/ruff toolchain. After install the `ctx-scan-repo`,
27
  `ctx-skill-quality`, `ctx-skill-health`, and `ctx-toolbox` console
28
- scripts are on PATH. `ctx-init --graph` installs the pre-built wiki
29
- graph that powers recommendations; source checkouts use
30
- `graph/wiki-graph.tar.gz`, while pip installs download the matching
31
- GitHub release asset.
 
 
32
 
33
  Custom-model users can run
34
  `ctx-init --model-mode custom --model <provider/model> --goal "<task>"`
@@ -185,14 +187,14 @@ ones are flagged. New ones self-ingest.
185
 
186
  ---
187
 
188
- **v1.0.0** — MIT, CI-matrixed (Ubuntu + Windows × Python 3.11/3.12),
189
- 3,706 tests collected. Ships console scripts including `ctx-init`,
190
  `ctx-monitor` (local dashboard with graph + wiki + load/unload for
191
  skills, agents, and MCP servers, plus harness wiki/graph browsing),
192
  `ctx-dedup-check` (pre-ship near-duplicate gate), and
193
- `ctx-tag-backfill` (catalog hygiene), plus the ~336 MiB pre-built
194
- wiki tarball with **102,696 nodes / 2,900,834 edges / 52 Louvain
195
- communities**.
196
 
197
  [:octicons-arrow-right-24: CHANGELOG](https://github.com/stevesolun/ctx/blob/main/CHANGELOG.md) ·
198
  [Repository](https://github.com/stevesolun/ctx)
 
25
  model harness runs, `pip install "claude-ctx[dev]"` for the
26
  pytest/mypy/ruff toolchain. After install the `ctx-scan-repo`,
27
  `ctx-skill-quality`, `ctx-skill-health`, and `ctx-toolbox` console
28
+ scripts are on PATH. `ctx-init --graph` installs the fast pre-built
29
+ runtime graph that powers recommendations and harness dry-runs; source checkouts use
30
+ `graph/wiki-graph-runtime.tar.gz`, while pip installs download the
31
+ matching GitHub release asset. Use
32
+ `ctx-init --graph --graph-install-mode full` when you want the full
33
+ markdown LLM-wiki expanded locally.
34
 
35
  Custom-model users can run
36
  `ctx-init --model-mode custom --model <provider/model> --goal "<task>"`
 
187
 
188
  ---
189
 
190
+ **v1.0.1** — MIT, CI-matrixed (Ubuntu + Windows × Python 3.11/3.12),
191
+ 3,707 tests collected. Ships console scripts including `ctx-init`,
192
  `ctx-monitor` (local dashboard with graph + wiki + load/unload for
193
  skills, agents, and MCP servers, plus harness wiki/graph browsing),
194
  `ctx-dedup-check` (pre-ship near-duplicate gate), and
195
+ `ctx-tag-backfill` (catalog hygiene), plus a fast runtime graph artifact
196
+ and the full ~336 MiB wiki tarball with **102,696 nodes / 2,900,834
197
+ edges / 52 Louvain communities**.
198
 
199
  [:octicons-arrow-right-24: CHANGELOG](https://github.com/stevesolun/ctx/blob/main/CHANGELOG.md) ·
200
  [Repository](https://github.com/stevesolun/ctx)
docs/knowledge-graph.md CHANGED
@@ -43,20 +43,27 @@ shipped tarball.
43
 
44
  ## Install
45
 
46
- Use `ctx-init --graph` to install the graph. Source checkouts use
47
- `graph/wiki-graph.tar.gz`; pip installs download the matching GitHub
48
- release asset for the installed package version:
 
 
49
 
50
  ```bash
51
  ctx-init --graph
52
  ```
53
 
54
- Manual extraction is still supported for offline/source installs. Extract
55
- the tarball into your `~/.claude/skill-wiki/` to get a ready-to-query graph
56
- plus every shipped skill/agent/MCP entity page, cataloged harness pages when
57
- present, remote-cataloged Skills.sh skill pages, concept pages, and converted
58
- micro-skill pipelines. The extracted tree also includes the Skills.sh catalog
59
- JSON used by the shared recommender:
 
 
 
 
 
60
 
61
  ```bash
62
  mkdir -p ~/.claude/skill-wiki
 
43
 
44
  ## Install
45
 
46
+ Use `ctx-init --graph` to install the fast runtime graph. Source checkouts use
47
+ `graph/wiki-graph-runtime.tar.gz`; pip installs download the matching GitHub
48
+ release asset for the installed package version. This installs
49
+ `graphify-out/*`, the external Skills.sh catalog used by recommendations, and
50
+ the harness catalog pages used by `ctx-harness-install`:
51
 
52
  ```bash
53
  ctx-init --graph
54
  ```
55
 
56
+ To expand every shipped skill/agent/MCP entity page, cataloged harness page,
57
+ remote-cataloged Skills.sh page, concept page, converted micro-skill pipeline,
58
+ and Obsidian vault metadata, request the full wiki artifact explicitly:
59
+
60
+ ```bash
61
+ ctx-init --graph --graph-install-mode full
62
+ ```
63
+
64
+ Manual extraction is still supported for offline/source installs. Extract the
65
+ full tarball into your `~/.claude/skill-wiki/` when you want local markdown
66
+ wiki browsing:
67
 
68
  ```bash
69
  mkdir -p ~/.claude/skill-wiki
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "claude-ctx"
7
- version = "1.0.0"
8
  description = "Skill and agent recommendation system for Claude Code — knowledge graph, wiki, and intake quality gates"
9
  authors = [{ name = "Steve Solun" }]
10
  license = "MIT"
 
4
 
5
  [project]
6
  name = "claude-ctx"
7
+ version = "1.0.1"
8
  description = "Skill and agent recommendation system for Claude Code — knowledge graph, wiki, and intake quality gates"
9
  authors = [{ name = "Steve Solun" }]
10
  license = "MIT"