catalogue's working set starts empty and a host gives it the seats it read (UseSeats over SeatsFromDefinitions); the node-engine's verbs and events take the seat's name from the caller. Tests take their seats from seatlisttest. Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
15 lines
667 B
Go
15 lines
667 B
Go
package catalogue
|
|
|
|
// FilesSeat is the role that reads and manages a node's files and accounts (novox/hq ADR 0394).
|
|
const FilesSeat = "node-files"
|
|
|
|
// FilesOwnedPaths is the word the holder of node-files is given beside the secret places: a JSON object from
|
|
// each absolute path a module owns on its node to "module (tool to use)" (novox/hq ADR 0394 §5).
|
|
const FilesOwnedPaths = "MESH_OWNED_PATHS"
|
|
|
|
const (
|
|
filesAsAccount = "as the node's operator account, through sudo -n where its rights do not reach; a place a " +
|
|
"secret is kept, or a known credential file, is refused by name"
|
|
overrideWord = "a reason, to change a path a module owns anyway (optional)"
|
|
)
|