Skip to content

Generated assets and dependencies ​

Closed inventory of derived repository assets and dependency-policy gates; authored language specifications and conformance fixtures are source.

FamilyCanonical input and producerOutputFreshness and class
Embedded fonts and noticesscripts/font-assets.json; scripts/generate-font-assets.py with pinned archives and scripts/font-requirements.txtpackages/render/src/text/generated-fonts.ts; packages/render/third_party/fonts/Font tests plus API, package, and static checks; tracked derived
PWA iconsFixed algorithm in scripts/generate-pwa-icons.mjspackages/diagram-editor/public/icons/coral-192.png and coral-512.pngPWA byte checks; tracked derived
PWA visual referenceReviewed icon artpackages/diagram-editor/public/icons/coral-source.svgProvenance-marker test and visual review; manually synchronized and not generator input
Tree-sitter parserpackages/tree-sitter-coral/grammar.js; pinned tree-sitter generatepackages/tree-sitter-coral/src/parser.c, packages/tree-sitter-coral/src/grammar.json, packages/tree-sitter-coral/src/node-types.json, packages/tree-sitter-coral/src/tree_sitter/alloc.h, packages/tree-sitter-coral/src/tree_sitter/array.h, packages/tree-sitter-coral/src/tree_sitter/parser.hGeneration, native, corpus, and consumer tests; tracked derived
Reviewed documentation figureSlice 60 Coral source and review recorded by docs/figures.jsondocs/public/figures/coral-overview.svgSource/output hashes, SVG metadata, and human review; tracked derived
npm dependency graphRoot and workspace manifests plus approved policy; npm 12.0.2package-lock.jsonClean install, policy, audit, build, and test gates; tracked derived
Site and test outputTracked source and the owning build or testdocs/.vitepress/dist/, build/, package distributions, coverage, reports, and temporary consumersOwning command and cleanup; disposable

Regeneration boundaries ​

  • Ordinary install, build, test, and publication use the committed fonts and do not download or regenerate them. Font regeneration is maintainer-only, needs Python plus the pinned requirements, and acquires only pinned archives.
  • npm run generate:pwa-icons regenerates deterministic PNG bytes. The SVG is reviewed reference art and remains manually synchronized.
  • npm run generate -w tree-sitter-coral updates parser artifacts from grammar.js; native and corpus checks validate the result.
  • The reviewed documentation figure changes only with its Coral source, manifest hashes, exported SVG, and human visual decision together.
  • Generated site, package, coverage, report, and consumer directories are disposable. Never treat them as canonical input.

Dependency update policy ​

PolicyOwner and evidence
Compatible dependency updatesDependabot groups development and production minor and patch updates separately; review the lockfile and owning gates
Deferred major updatesTypeScript 7 and Node 26 types remain intentional deferrals until a separately reviewed migration
Runtime and release pinsRoot and workspace manifests plus package-lock.json; exact-toolchain and consumer checks
GitHub ActionsEvery external Action uses a full commit SHA with an exact version comment; workflow-policy tests enforce it
Vulnerabilitiesnpm audit --audit-level=high is the blocking high/critical audit; fragment review stays separate
Install scriptsRoot allowScripts is the closed approval for reviewed build dependencies and native tooling
LicencesRoot and package licences, embedded-font notices, package manifests, API compatibility, and static-delivery checks

Update canonical inputs first, regenerate only the affected family, and run its focused freshness gate before widening verification to the blast radius.