The node-engine owns the composition it alone runs (H1, H2)
ADR 0593 §1 and §7: compose, its bus reader and runtime reader, takein, validate, the overlay generator, the composer's run and mesh-compose, and the judgement of a move leave mesh-sdk for the node-engine's internal packages, so no other module composes and a change to them rebuilds only the node-engine. The shapes others read (the composer's request and verdict, the overlay's names, compositions and answers) stay in mesh-sdk. The node's grant is now a golden file of what the grants part composes, since the composer of the bus's user list leaves mesh-sdk too. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"module": "zsh",
|
||||
"version": "1",
|
||||
"moved": true,
|
||||
"capabilities": [
|
||||
"package-manager"
|
||||
],
|
||||
"claims": [
|
||||
{
|
||||
"name": "node-login-shell",
|
||||
"scope": "node",
|
||||
"serves": [
|
||||
"execute"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tools": [
|
||||
"zsh_config"
|
||||
],
|
||||
"config": {
|
||||
"execute": {
|
||||
"type": "string",
|
||||
"description": "Whether this machine offers execute, which runs any command as the operator account and so can become root without a person: serve, or withhold on a machine that does not offer it (novox/hq ADR 0268), such as the control-node until a call to it needs a person's approval.",
|
||||
"enum": [
|
||||
"serve",
|
||||
"withhold"
|
||||
],
|
||||
"trusted": true,
|
||||
"default": "serve"
|
||||
}
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "editor",
|
||||
"attributes": {
|
||||
"kind": "variable",
|
||||
"name": "EDITOR"
|
||||
},
|
||||
"template": "files/env-editor"
|
||||
},
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "visual",
|
||||
"attributes": {
|
||||
"kind": "variable",
|
||||
"name": "VISUAL"
|
||||
},
|
||||
"template": "files/env-visual"
|
||||
},
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "xdg-config-home",
|
||||
"attributes": {
|
||||
"kind": "variable",
|
||||
"name": "XDG_CONFIG_HOME"
|
||||
},
|
||||
"template": "files/env-xdg-config-home"
|
||||
},
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "path-local-bin",
|
||||
"attributes": {
|
||||
"kind": "path",
|
||||
"at": "start",
|
||||
"order": "10"
|
||||
},
|
||||
"template": "files/env-path-local-bin"
|
||||
},
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "path-scripts",
|
||||
"attributes": {
|
||||
"kind": "path",
|
||||
"at": "start",
|
||||
"order": "20"
|
||||
},
|
||||
"template": "files/env-path-scripts"
|
||||
},
|
||||
{
|
||||
"collection": "environment",
|
||||
"name": "path-scripts-bin",
|
||||
"attributes": {
|
||||
"kind": "path",
|
||||
"at": "start",
|
||||
"order": "30"
|
||||
},
|
||||
"template": "files/env-path-scripts-bin"
|
||||
}
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"id": "package",
|
||||
"type": "package",
|
||||
"package": "zsh"
|
||||
},
|
||||
{
|
||||
"id": "env",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.zshenv",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"into": "block",
|
||||
"at": "start",
|
||||
"template": "files/zshenv"
|
||||
},
|
||||
{
|
||||
"id": "rc",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.zshrc",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"into": "block",
|
||||
"at": "start",
|
||||
"template": "files/zshrc"
|
||||
},
|
||||
{
|
||||
"id": "login",
|
||||
"type": "user",
|
||||
"name": "${machine:account}",
|
||||
"shell": "/usr/bin/zsh"
|
||||
},
|
||||
{
|
||||
"id": "state",
|
||||
"type": "directory",
|
||||
"place": ".",
|
||||
"owner": "root",
|
||||
"mode": "0755",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "tools-conf",
|
||||
"type": "file",
|
||||
"path": "${dir:state}/tools.conf",
|
||||
"owner": "root",
|
||||
"mode": "0644",
|
||||
"template": "files/tools.conf"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "tools",
|
||||
"kind": "bundle",
|
||||
"language": "typescript",
|
||||
"entrypoints": [
|
||||
"tools/index.js"
|
||||
],
|
||||
"env": {
|
||||
"ZSH_TOOLS_CONF": "${dir:state}/tools.conf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user