Answer architecture round 6: a manifest's reads names namespaces, loadReached notes only those nothing loaded provides, a mounted module labels its files by its namespace, Source.Load checks its mount, and the README keeps namespace and reads in an edited copy

This commit is contained in:
2026-10-11 12:41:11 +02:00
committed by Lillem4n
parent 3750770735
commit 89cafb1a21
13 changed files with 102 additions and 78 deletions
+3 -3
View File
@@ -131,9 +131,9 @@ replacement, and each removed path, column or flag.
and the CLI carries them all. `New` loads the modules `WithDataFS(modules...)` names and
the folders `WithDataPath` names, and fails, naming `WithDataFS`, where no such option
is given. A manifest's `namespace` mounts its source under a dot path, and its `reads` lists the
modules its source reads by default; a reference to a path nothing provides fails to
load, asking whether a module is missing and naming every module the loaded manifests
read, or saying there are none.
namespaces of the modules its source reads by default; a reference to a path nothing
provides fails to load, asking whether a module is missing and naming each namespace
read that nothing loaded provides, or saying no loaded manifest names a module to add.
- A data source whose root holds a `.fejkdata.json` manifest with an `index` loads each
category on the first call reaching it, as each shipped module does. Data failing to load,
in `New` or on that first call, gives an error matching `ErrLoad`, and the CLI exits 1.