MCPcopy Create free account
hub / github.com/Open-Quant/openquant / walk

Function walk

docs-site/scripts/check-content-schema.mjs:6–19  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

4
5const docsRoot = path.resolve(process.cwd(), 'src/content/docs');
6
7/**
8 * The status taxonomy. The ordering is deliberate: each value claims strictly
9 * more human attention than the one before it.
10 *
11 * generated — machine-emitted from src/data/moduleDocs.ts. Nobody has read it.
12 * draft — hand-written, known to be incomplete. Claims nothing.
13 * reviewed — a human read the page and it stands on its own.
14 * validated — reviewed AND checked against the code it describes.
15 *
16 * Each status names the date field that backs it. `draft` and `generated` cannot
17 * claim `last_validated`, because neither has been validated by anyone — that is
18 * the whole point of the taxonomy, and the gate below enforces it.
19 */
20const STATUS_DATE_FIELD = {
21 generated: 'last_generated',
22 draft: null,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected