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.
131 lines
2.7 KiB
JSON
131 lines
2.7 KiB
JSON
{
|
|
"module": "memory-pressure",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"package-manager",
|
|
"service-manager"
|
|
],
|
|
"emits": [
|
|
"pressure.high",
|
|
"pressure.cleared"
|
|
],
|
|
"tools": [
|
|
"memory_status",
|
|
"memory_top",
|
|
"memory_oom_history",
|
|
"memory_zram",
|
|
"memory_oomd",
|
|
"memory_guard"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "zram-generator",
|
|
"type": "package",
|
|
"package": "zram-generator"
|
|
},
|
|
{
|
|
"id": "zram",
|
|
"type": "file",
|
|
"path": "/etc/systemd/zram-generator.conf",
|
|
"mode": "0644",
|
|
"template": "files/zram-generator.conf"
|
|
},
|
|
{
|
|
"id": "sysctl-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/sysctl.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "swap-tunables",
|
|
"type": "file",
|
|
"path": "/etc/sysctl.d/90-memory-pressure.conf",
|
|
"mode": "0644",
|
|
"template": "files/sysctl.conf"
|
|
},
|
|
{
|
|
"id": "sysctl",
|
|
"type": "service",
|
|
"unit": "systemd-sysctl.service",
|
|
"restart-on": [
|
|
"swap-tunables"
|
|
]
|
|
},
|
|
{
|
|
"id": "oomd-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/oomd.conf.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "oomd-limits",
|
|
"type": "file",
|
|
"path": "/etc/systemd/oomd.conf.d/memory-pressure.conf",
|
|
"mode": "0644",
|
|
"template": "files/oomd.conf"
|
|
},
|
|
{
|
|
"id": "root-slice-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/-.slice.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "root-slice",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/-.slice.d/10-oomd.conf",
|
|
"mode": "0644",
|
|
"template": "files/root-slice.conf"
|
|
},
|
|
{
|
|
"id": "user-manager-drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/user@.service.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "user-manager",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/user@.service.d/10-oomd.conf",
|
|
"mode": "0644",
|
|
"template": "files/user-manager.conf"
|
|
},
|
|
{
|
|
"id": "oomd",
|
|
"type": "service",
|
|
"unit": "systemd-oomd.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"oomd-limits",
|
|
"root-slice",
|
|
"user-manager"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools-go",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/memory-pressure",
|
|
"binary": "memory-pressure",
|
|
"loads": [
|
|
"memory-pressure"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|