Section 04 ยท Scripts
๐Ÿช“ Sickle ยท Scripts

Small, sharp tools.

The command-line utilities that keep the wiki honest โ€” validators, drift, RAG indexing, the demo and the export bundler, all one make target away.

7
Make targets
3
CI validators
27
Tests, all green
0
New deps (stdlib)

The Makefile

One entry point for everything (run from automation/).

TargetWhat it doesCommand
syncinstall/refresh deps with uvmake sync
demorun the end-to-end pipeline on fixturesmake demo
testrun the unit test suite (pytest)make test
validatefront-matter + link validators over the wikimake validate
rag-demochunk the wiki, write a mock AI Search payloadmake rag-demo
driftprint the documentation drift report (Teams-ready)make drift
serverun the auto-docs flow HTTP API (console at /)make serve
๐Ÿช“ Open the Makefile Every target in one place โ€” the single entry point. automation/ โ†’

The validators

Three CI gates that fail the build before bad docs merge.

Tools of the trade

The scripts behind drift, RAG indexing, the demo and offline sharing.

Quick runs

Copy-paste from the repo root and watch it work.

cd automation
make test                 # 27 tests, all green
make demo                 # see a page drafted end-to-end
make validate             # front-matter + links across the wiki
make drift                # what's drifted from source
No new dependencies: the API and scripts are stdlib-only; only pyyaml + pytest are used.

Where to go next

Neighbouring sections of the workspace.