Repository Layout
anatomy/├── apps/ # the tools a mission's gates run: log_compare, two logs equal but for the header fields left out;│ # trace_compare, the first edge two edge traces differ on├── cmake/ # deps, warnings, test registration (compile_all), composition and flow (a mission's baselines)├── docs/ # the documents: the source of this site├── docs-site/ # the Starlight site generated from docs/, published to GitHub Pages├── glue/ # branes::anatomy_glue: adapters from reflex components to the slots├── mobility/ # branes::anatomy_mobility: a roaming vehicle's contracts and their domains, profile, configs, slots, dump├── sdk/ # branes::anatomy (core): time, geometry, camera, domains and signatures, profile, slots, baseline, log and its comparison, harness, util├── sim/ # branes::anatomy_mobility_sim: the closed-loop simulator on the reflex dynamics├── tests/ # Catch2 tests, one executable per tests/<layer>/<name>.cpp; fixtures/ holds their data├── workbench/ # branes::anatomy_workbench: patterns with closed-form oracles, and workbench_run; not installed└── yaml/ # branes::anatomy_yaml: the YAML helpers for config loaders, anatomy's and a mission'sThe core’s headers are under <branes/anatomy/...> and the mobility profile’s under <branes/anatomy/mobility/...> (ADR 0001). Every header compiles alone against its own library: the headers_* object libraries in tests/ check it as part of the default build when the tests are enabled.
The domain flow vocabulary (ADR 0004) is in <branes/anatomy/flow/...>: domain.hpp (extents, domains, records), data.hpp (the value of a domain, stored by its structure), signature.hpp (ports, state, signatures), window.hpp (what an accumulate edge’s reader reads), domains.hpp (the core messages’ domains), builder.hpp (a mission’s graph described in C++, checked as it is built, and the CPU stack that runs it) and graph.hpp (the checked graph, its canonical form and its hash). The mobility profile’s message domains, and the neutral composites’ signatures and bindings, are in <branes/anatomy/mobility/flow/...>.
The workbench (ADR 0005, plan) is in <branes/anatomy/workbench/...>: driver.hpp and sources.hpp (a pattern’s inputs, merged in time order), codecs.hpp (trace codecs for data<D> and windows), mtl5.hpp (MTL5 views of data<D>, for a pattern’s arithmetic; the workbench links MTL5, the SDK doesn’t), pattern.hpp (what a pattern provides, its oracle’s report, and its run) and patterns/ (one header per pattern: its operators, graph, hand-wired run and oracle; mlp.hpp, kalman.hpp, dsp.hpp). workbench/apps/workbench_run/ runs a pattern and prints its oracle’s report. It is built with the tests (ANATOMY_BUILD_WORKBENCH), and no mission links it. The workbench is its guide.
Next: a walkthrough in Visual Studio, which builds the repository, runs the workbench’s patterns, and steps through a firing. The documentation map lists every document.