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.
104 lines
2.2 KiB
JSON
104 lines
2.2 KiB
JSON
{
|
|
"module": "records",
|
|
"version": "1",
|
|
"slug": "records",
|
|
"requires": [
|
|
"git"
|
|
],
|
|
"binds": {
|
|
"git": "${dir:mesh-state}/git.json"
|
|
},
|
|
"consumes": [
|
|
"gitea.pull.merged"
|
|
],
|
|
"tools": [
|
|
"records_search",
|
|
"records_read",
|
|
"records_list",
|
|
"records_decisions",
|
|
"records_status",
|
|
"records_sync"
|
|
],
|
|
"data": {
|
|
"own": [
|
|
{
|
|
"id": "checkout",
|
|
"path": "${dir:checkout}",
|
|
"class": "rebuildable",
|
|
"why": "a clone of the record, cloned again"
|
|
}
|
|
]
|
|
},
|
|
"config": {
|
|
"repository": {
|
|
"type": "string",
|
|
"description": "The repository the records module keeps a checkout of and serves the record from, as owner/name on the mesh's forge; the operator's, with no default (novox/hq ADR 0112).",
|
|
"pattern": "[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+",
|
|
"trusted": true,
|
|
"required": true
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "mesh-state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "mesh",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "checkout",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "config",
|
|
"type": "file",
|
|
"path": "${dir:mesh-state}/config.json",
|
|
"mode": "0600",
|
|
"template": "files/config.json",
|
|
"takes-config": ["repository"],
|
|
"merge": "json"
|
|
},
|
|
{
|
|
"id": "origin",
|
|
"type": "file",
|
|
"path": "${dir:mesh-state}/origin",
|
|
"mode": "0600",
|
|
"template": "files/origin"
|
|
},
|
|
{
|
|
"id": "git",
|
|
"type": "package",
|
|
"package": "git"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "code",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/records",
|
|
"binary": "records",
|
|
"loads": [
|
|
"records"
|
|
],
|
|
"env": {
|
|
"MESH_RECORDS_CONFIG_FILE": "${dir:mesh-state}/config.json",
|
|
"MESH_RECORDS_ORIGIN_FILE": "${dir:mesh-state}/origin",
|
|
"MESH_RECORDS_DIR": "${dir:checkout}"
|
|
}
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|