Some checks are pending
build-gate / build (push) Waiting to run
Driver 2026-09-21: 'a folder called deployment which will store the capacitor
folder, wordpress folder and tauri folder', and 'a folder called documentation
to store the contributing folder so docs are in one place'.
docs/ + contributing/ + CONTRIBUTING.md -> documentation/ (three doc homes into
one). capacitor/ + wordpress/ + src-tauri/ -> deployment/.
The public/ -> dist/ rename the Driver asked about is NOT here: after seeing the
measured blast radius (855 tracked files, 54 source refs, and public/ is the
served web-root four consumers point at) the Driver withdrew it - 'keep the
public folder the same'.
Path references were rewritten mechanically (258 across 87 files), but three
classes needed hand fixes because a prefix regex cannot see them:
- join(ROOT,'docs',...) in 10 internal scripts - a quoted SEGMENT, not a prefix
- tauri frontendDist '../public' -> '../../public', since src-tauri is now one
level deeper; check:tauri caught this exactly as the card predicted
- the WordPress contract test's dirname(__DIR__,2) -> 3, same reason
Also reverted one over-reach: the rewrite renamed a FINDING-CATEGORY label
'docs' in public-hygiene-check.mjs, which is a rule name in its own header, not
a path.
Verified: full build ALL GUARDS PASS, SRI consistent; check:tauri, check:mobile
(cap sync + webDir OK), check:wp-embed, quoted-scripts, capability-citations,
capability-exemplars, library-index, public-hygiene, parse and drop all pass.
1.6 KiB
1.6 KiB
library/colors/ — how pins get colored
Each file here is one color strategy — a way to color the map's pins (by language family, prayer
progress, religion, …). Drop a <name>.js in and it's auto-discovered; no registration.
library/colors/ a map picks a mode
┌──────────────────────────┐ ┌───────────────────────┐
│ language-family.js │ │ getColorStrategy( │
│ prayer-progress.js │──auto───► │ 'language-family') │──► colored pins
│ religion.js engagement.js│ glob │ │
│ _registry.js (the scanner)│ └───────────────────────┘
└──────────────────────────┘
shared set a single map can add/override its own in
plugin-designs/<map>/src/colors/ (that map only)
- Shared here = reused by every map. Your map's own color → put it in your bundle's
src/colors/(it merges over the shared set, for your map only — never edit the library to recolor one map). - Filename = mode key (
prayer-progress.js→prayerProgress). Files starting with_/.are skipped.
Writing or overriding a strategy? The full contract (required exports, legend wiring, checklist) is in ../../documentation/architecture/color-strategies.md.