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
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.
113 lines
2.8 KiB
JSON
113 lines
2.8 KiB
JSON
{
|
|
"module": "ssh-client",
|
|
"version": "1",
|
|
"moved": true,
|
|
"tools": [
|
|
"ssh_client_hosts",
|
|
"ssh_client_resolve",
|
|
"ssh_client_check",
|
|
"ssh_client_keys",
|
|
"ssh_client_authorized",
|
|
"ssh_client_revoke",
|
|
"ssh_client_known_host",
|
|
"ssh_client_test"
|
|
],
|
|
"requires": [
|
|
"forge-account"
|
|
],
|
|
"state": [
|
|
"keys"
|
|
],
|
|
"data": {
|
|
"own": [
|
|
{
|
|
"id": "ssh",
|
|
"path": "${dir:ssh-dir}",
|
|
"class": "valuable",
|
|
"why": "the operator's keys and known hosts"
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "ssh-dir",
|
|
"type": "directory",
|
|
"path": "${machine:account-home}/.ssh",
|
|
"owner": "${machine:account}",
|
|
"mode": "0700",
|
|
"unknown": "module"
|
|
},
|
|
{
|
|
"id": "config-d",
|
|
"type": "directory",
|
|
"path": "${machine:account-home}/.ssh/config.d",
|
|
"owner": "${machine:account}",
|
|
"mode": "0700",
|
|
"unknown": "module"
|
|
},
|
|
{
|
|
"id": "config",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.ssh/config",
|
|
"owner": "${machine:account}",
|
|
"mode": "0600",
|
|
"into": "block",
|
|
"at": "start",
|
|
"template": "files/config"
|
|
},
|
|
{
|
|
"id": "known-hosts",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.ssh/known_hosts",
|
|
"owner": "${machine:account}",
|
|
"mode": "0644",
|
|
"into": "block",
|
|
"template": "files/known_hosts"
|
|
},
|
|
{
|
|
"id": "forge-host",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.ssh/config.d/10-forge",
|
|
"owner": "${machine:account}",
|
|
"mode": "0600",
|
|
"template": "files/forge"
|
|
},
|
|
{
|
|
"id": "git-config",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.config/git/config",
|
|
"owner": "${machine:account}",
|
|
"mode": "0644",
|
|
"into": "block",
|
|
"template": "files/gitconfig"
|
|
}
|
|
],
|
|
"facts": {
|
|
"mesh-hosts": {
|
|
"path": ".ssh/config.d/00-mesh",
|
|
"home": true,
|
|
"template": "# Generated by the mesh. Do not edit — module ssh-client writes this file whenever a machine\n# joins, leaves or is renamed. ~/.ssh/config includes it first, so these hosts win over every\n# later line; a host of your own goes below the mesh's region in ~/.ssh/config.\n{{range .Machines}}{{if ne .Name $.Node}}\nHost {{.Name}} {{.FQDN}}\n HostName {{.FQDN}}\n{{if .Account}} User {{.Account}}\n{{end}}{{end}}{{end}}"
|
|
}
|
|
},
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/ssh-client-tools",
|
|
"binary": "ssh-client-tools",
|
|
"loads": [
|
|
"ssh-client-tools"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|