ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk carries no composition rule. The catalogue functions only the node-engine's composition reaches (Resolve, Resolution's Compose, Declaration, DataItems, LeftOut, Rules and the rest, the settings, placeholder and template refusals, the rendering helpers) are copied with their tests into internal/compose/resolution; a method of a mesh-sdk shape becomes a function taking it first. The composition calls its own copies, and the captured catalogue its tests read lives here now, shared by mesh-compose's tests. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
58 lines
970 B
Plaintext
58 lines
970 B
Plaintext
{
|
|
"module": "mesh-files",
|
|
"version": "1",
|
|
"claims": [
|
|
{
|
|
"name": "node-files",
|
|
"scope": "node",
|
|
"serves": [
|
|
"stat",
|
|
"readlink",
|
|
"list",
|
|
"read",
|
|
"search",
|
|
"account",
|
|
"write",
|
|
"copy",
|
|
"move",
|
|
"delete",
|
|
"mkdir",
|
|
"chmod",
|
|
"chown",
|
|
"trash",
|
|
"restore"
|
|
]
|
|
}
|
|
],
|
|
"invokes": [
|
|
"seat:operator-channel.tell"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-files",
|
|
"binary": "mesh-files",
|
|
"loads": [
|
|
"mesh-files"
|
|
],
|
|
"env": {
|
|
"MESH_FILES_STATE": "${dir:state}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|