Skip to content

Commit daef77e

Browse files
Rename: dss-agentic-toolchain -> dss-agentic-toolkit
1 parent 4096f9a commit daef77e

8 files changed

Lines changed: 35 additions & 17 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dss-agentic-toolchain
1+
# dss-agentic-toolkit
22

33
An opinionated map of the tools that compose an agentic-AI working surface, organized by function.
44

‎SOURCE.lock‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# What chapters/ was generated from. CI re-runs the generator and compares.
33
# upstream_commit is the last commit that touched the source file or figures/, not HEAD:
44
# a commit to the document's template or meta-files does not make this site stale.
5-
upstream_repo: https://github.com/stevenworthington/agentic-ai-tool-chain.git
6-
upstream_commit: 4920daf2dbc9bcaedd5f65a8ec57b04f43cd98e3
5+
upstream_repo: https://github.com/stevenworthington/agentic-ai-toolkit.git
6+
upstream_commit: f4a70485ab1547c92d4aeaa468d08bf0681e0793
77
upstream_dirty: false
8-
source_path: source/agentic-ai-tool-chain.md
8+
source_path: source/agentic-ai-toolkit.md
99
source_sha256: 35318eb05f69a222547e03403515cb2061b4e95ec14bbfb432e91acbaf25c08f
1010
chapters: 19
1111
figures: 26

‎_quarto.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ website:
2424
title: "Agentic AI Tool Chain"
2525
# Cloudflare Pages, direct upload from `just deploy`. Behind Cloudflare Access while the
2626
# content is polished; it changes if the site ever moves to IQSS.
27-
site-url: https://dss-agentic-toolchain.pages.dev
28-
repo-url: https://github.com/stevenworthington/dss-agentic-toolchain
27+
site-url: https://dss-agentic-toolkit.pages.dev
28+
repo-url: https://github.com/stevenworthington/dss-agentic-toolkit
2929
page-navigation: true
3030
sidebar:
3131
style: floating

‎filters/site-filter.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--[[ site-filter.lua — everything the two agentic-AI sites need that is genuinely HTML-only.
22
3-
Shared by dss-agentic-research and dss-agentic-toolchain; wired into each `_quarto.yml` under
3+
Shared by dss-agentic-research and dss-agentic-toolkit; wired into each `_quarto.yml` under
44
`filters:`. See dss-training-ops/docs/plans/2026-08-30-agentic-sites-conversion-plan.md, Phase 3.
55
66
It runs at render time rather than at sync time on purpose: the chapters are byte-for-byte slices of

‎justfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ verify: check-upstream check
88
# re-runs, and the checks below fail until it does.
99
sync:
1010
../dss-training-ops/scripts/split-chapters.py \
11-
--upstream ../../publishing/agentic-ai-tool-chain \
11+
--upstream ../../publishing/agentic-ai-toolkit \
1212
--site .
1313

1414
# Is this site current with the upstream document and the shared tooling? Green means `just sync`
1515
# would change nothing. CI cannot ask this -- it clones this repository alone, and reaching upstream
1616
# would put a credential in the workflow -- so it is asked here, by whoever is working in the repo.
1717
check-upstream:
1818
../dss-training-ops/scripts/check-upstream.py --site . \
19-
--upstream ../../publishing/agentic-ai-tool-chain \
19+
--upstream ../../publishing/agentic-ai-toolkit \
2020
--tooling ../dss-training-ops/scripts
2121

2222
# Build the site into _site
@@ -32,7 +32,7 @@ check: render
3232
preview:
3333
quarto preview
3434

35-
# Publish to Cloudflare Pages -- project `dss-agentic-toolchain`, https://dss-agentic-toolchain.pages.dev
35+
# Publish to Cloudflare Pages -- project `dss-agentic-toolkit`, https://dss-agentic-toolkit.pages.dev
3636
# Direct upload, deliberately not a git integration: CI renders and checks but never publishes, so no
3737
# Cloudflare credential lives in the workflow. It depends on `verify`, so a site that is stale against
3838
# its upstream document, or that fails either check, cannot be published by accident.
@@ -45,4 +45,4 @@ deploy: verify
4545
set -euo pipefail
4646
export CLOUDFLARE_API_TOKEN="${CLOUDFLARE_API_TOKEN:-$(op read 'op://Credentials/cloudflare-api-token-dss-pages/credential')}"
4747
export CLOUDFLARE_ACCOUNT_ID="${CLOUDFLARE_ACCOUNT_ID:-$(op read 'op://Credentials/cloudflare-api-token-dss-pages/username')}"
48-
wrangler pages deploy _site --project-name dss-agentic-toolchain --branch main
48+
wrangler pages deploy _site --project-name dss-agentic-toolkit --branch main

‎scripts/check-site.py‎

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
training/dss-training-ops/docs/plans/2026-08-30-agentic-sites-conversion-plan.md, Phase 4.
66
77
Every failure this looks for is one that leaves a page that renders fine and reads wrong: an authoring
8-
note in the page source, a figure that 404s, a cross-reference to a chapter that moved. None of them
9-
would fail a render, which is why they need a check of their own.
8+
note in the page source, a figure that 404s, a cross-reference to a chapter that moved, a landing-page
9+
control whose chapter was retitled. None of them would fail a render, which is why they need a check
10+
of their own.
1011
1112
check-site.py [--site _site] [--source source]
1213
@@ -31,7 +32,7 @@ def normalise(text: str) -> str:
3132
return " ".join(text.split())
3233

3334

34-
def check(site: Path, source_dir: Path) -> list[str]:
35+
def check(site: Path, source_dir: Path, root: Path) -> list[str]:
3536
problems: list[str] = []
3637
pages = sorted(site.rglob("*.html"))
3738
if not pages:
@@ -116,6 +117,20 @@ def check(site: Path, source_dir: Path) -> list[str]:
116117
for stray in re.findall(r"§\d+[a-z]?", prose):
117118
problems.append(f"{page.relative_to(site)}: {stray} is not a link — "
118119
"no such chapter in _quarto.yml's chapter-map?")
120+
# 7. Every console recipe points at a chapter that exists. The landing page is a hand-drawn
121+
# console (console.js on the research site, garage.js on the toolkit site) whose controls link to
122+
# chapters by slug, and it builds those links in JavaScript at runtime -- so they never appear in
123+
# the rendered HTML and check 4 cannot see them. A retitled chapter changes its slug and leaves
124+
# the recipe pointing at nothing, which is exactly how the landing page went stale on 2026-09-27
125+
# while every static link resolved. Checked against chapters/*.qmd, the sync's output, rather
126+
# than against _site: Quarto never prunes _site, so a stale render of the old slug can still be
127+
# sitting there and would let a dead recipe pass.
128+
chapters = {p.stem for p in (root / "chapters").glob("*.qmd")}
129+
for js in sorted(root.glob("*.js")):
130+
for slug in re.findall(r'slug:\s*"([^"]+)"', js.read_text(errors="replace")):
131+
if slug not in chapters:
132+
problems.append(f"{js.name}: recipe slug {slug} has no chapters/{slug}.qmd — "
133+
"a retitled or removed chapter; update the console's recipe list")
119134
return problems
120135

121136

@@ -135,7 +150,9 @@ def main() -> None:
135150
if not source_dir.is_dir():
136151
sys.exit(f"error: no source copy at {source_dir}")
137152

138-
problems = check(site, source_dir)
153+
# The site root is the parent of the source copy: the console file and chapters/ live there,
154+
# and _site does not (locally it is a symlink to a build directory outside the repository).
155+
problems = check(site, source_dir, source_dir.parent)
139156
if problems:
140157
print(f"{len(problems)} problem(s) in the rendered site:")
141158
for p in problems[:40]:
@@ -145,7 +162,8 @@ def main() -> None:
145162
sys.exit(1)
146163
pages = len(list(site.rglob("*.html")))
147164
print(f"rendered site is clean: {pages} pages, no leaked comments, no raw LaTeX, "
148-
"every image and link resolves, every section reference in prose is a link")
165+
"every image and link resolves, every section reference in prose is a link, "
166+
"every console recipe points at a chapter")
149167

150168

151169
if __name__ == "__main__":

‎scripts/split-chapters.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
"""Slice a single-file document into one Quarto page per chapter.
33
4-
Used by both agentic-AI sites (dss-agentic-research, dss-agentic-toolchain) from their `just sync`.
4+
Used by both agentic-AI sites (dss-agentic-research, dss-agentic-toolkit) from their `just sync`.
55
See training/dss-training-ops/docs/plans/2026-08-30-agentic-sites-conversion-plan.md, Phase 2.
66
77
The chapters are *slices*, not renderings. This script never round-trips the markdown through
File renamed without changes.

0 commit comments

Comments
 (0)