The facility file: sources under data/facility, one facility file, a view per service On the left, the sources under data/facility. Imported sources are written by osprey facility import mml, from a Middle Layer export, into imported/mml, and by osprey facility import list, from a channel list, into imported/list; each import rewrites its own directory. Authored sources are edited by hand: records, models and decks; fixes.yaml; limits.yaml and seeds.yaml; measurement and scenarios; identity.yaml and classes.yaml; and the knowledge pages. osprey build loads, combines, applies the fixes, validates against the facility-agnostic schema (core.yaml and vocabulary.yaml, LinkML carried from NARAD) and computes, giving one file, build/facility.json, with places, devices, channels, groups, models and limits, plus identity, classes and scenarios, and the provenance of every record. From it the build writes one view per service: the channel-finder index of the selected pipeline, read by the channel-finder server; the graph, data/graph/facility.ttl, seeded into the graph store by osprey up; the simulator view, served by the virtual accelerator; a pyAML configuration per measured model, read by the measurement tools in the python executor; the Bluesky devices, read by the Bluesky worker; the benchmark queries, read by osprey channel-finder benchmark; the limits, read by the write checks; and the facts, read into the agents' prompts and the facility_description tool. The knowledge pages are read in place by the facility-knowledge server; the build checks that each page's device link names a device. SOURCES · data/facility/ THE FACILITY FILE VIEWS · build/data/ READ BY IMPORTED · REWRITTEN BY EACH IMPORT Middle Layer export import mml → imported/mml/ channel list (CSV) import list → imported/list/ AUTHORED · EDITED BY HAND records/ · models.yaml · decks/ places, devices, channels, groups, models fixes.yaml set · add · drop a record, by id limits.yaml · seeds.yaml write limits · simulated channel behaviour measurement/ · scenarios/ what a model measures · simulated faults identity.yaml · classes.yaml who the facility is · classes it adds knowledge/ pages, linked to devices by id osprey build · combine · apply fixes · validate · compute build/facility.json generated · never edited places the facility's own tree devices a class from the vocabulary channels address · role · pair · signal groups named sets of devices models engine · deck · wiring limits from limits.yaml + identity · classes · scenarios every record: id + where it came from minimum: a channel list facility-agnostic schema core.yaml + vocabulary.yaml LinkML, carried from NARAD channel-finder index the profile's pipeline mode only channel-finder server finds addresses graph graph/facility.ttl · NARAD terms graph store seeded by osprey up simulator simulator/ · addresses, models, seeds virtual accelerator serves every address pyAML pyaml/<model>/ · per measured model measurement tools in the python executor Bluesky devices settable = setpoint + its readback Bluesky worker plans limits channel_limits.json write checks see Safety Chain facts facility_facts.json, .md agent prompts + facility_description tool READ IN PLACE · LINKS CHECKED AT BUILD facility-knowledge server procedures, terms LEGEND imported: corrected through fixes.yaml, never by hand authored the facility file a view: generated, never edited