Files
mesh-catalog/modules/zsh/module.json
T
mesh-tools 652b00b25b
mesh/merge-gate checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/repo-check checking again: the gate refused `unknown` because the controller judged with a node-engine validator pinned before mesh-host #117; mesh-co…
mesh/delivery-group group feat/owned-paths checking: 0 of 2 member(s) ready
mesh/delivery superseded: a newer head of the same pull request
Say on every directory how it treats files it does not know, and check it (issue 1024, ADR 0422)
Every directory and archive resource carries `unknown`: move-out for a home folder whose program writes nothing there (the node-engine, delivered in mesh-host #117, moves the rest to ~/.local/state/mesh-moved/<module>/ with a list), module for ~/.ssh and ~/.claude, program elsewhere; `knows` keeps what a program or the operator relies on (powerlevel10k's compiled files, i3's scripts and the asus/g14 drop-ins, dunst's slack rule, betterbird's records, node-env's forge credential, issue 1033). Two shared folders are no longer declared. Each module's README says it. checks/owned holds every manifest to it; checks/sshdir stays while main's merge check runs it (issue 1035). Tests that pin a manifest follow the new key only. Reviewed in three rounds.
2026-10-17 16:23:03 +00:00

161 lines
3.4 KiB
JSON

{
"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"
}
]
}
}