Files
mesh-host/cmd/mesh-compose/testdata/mesh-catalog/modules/i3/module.json.captured
T
jschoubben 9a12f2851f 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
2026-11-02 18:24:05 +01:00

125 lines
2.5 KiB
Plaintext

{
"module": "i3",
"version": "1",
"moved": true,
"capabilities": [
"package-manager"
],
"requires": [
"x11-display"
],
"claims": [
{
"name": "node-display-session",
"scope": "node",
"serves": [
"reload",
"workspaces",
"windows"
]
}
],
"tools": [
"i3_focus",
"i3_move",
"i3_layout_save",
"i3_layout_restore",
"i3_exec",
"i3_kill",
"i3_bindings",
"i3_config_check",
"i3_marks",
"i3_scratchpad"
],
"items": [
{
"collection": "environment",
"name": "xdg-current-desktop",
"attributes": {
"kind": "variable",
"name": "XDG_CURRENT_DESKTOP"
},
"template": "files/env-xdg-current-desktop"
},
{
"collection": "environment",
"name": "xdg-session-desktop",
"attributes": {
"kind": "variable",
"name": "XDG_SESSION_DESKTOP"
},
"template": "files/env-xdg-session-desktop"
},
{
"collection": "shell:xinitrc:last",
"name": "xinitrc-last",
"template": "files/xinitrc-last"
}
],
"resources": [
{
"id": "package",
"type": "package",
"package": "i3-wm"
},
{
"id": "package-dex",
"type": "package",
"package": "dex"
},
{
"id": "config-dir",
"type": "directory",
"path": "${machine:account-home}/.config/i3",
"owner": "${machine:account}",
"mode": "0755",
"unknown": "move-out",
"knows": ["scripts/"]
},
{
"id": "drop-ins",
"type": "directory",
"path": "${machine:account-home}/.config/i3/config.d",
"owner": "${machine:account}",
"mode": "0755",
"unknown": "move-out",
"knows": ["10-asus.conf", "20-g14.conf"]
},
{
"id": "config",
"type": "file",
"path": "${machine:account-home}/.config/i3/config",
"owner": "${machine:account}",
"mode": "0644",
"template": "files/config"
},
{
"id": "session",
"type": "file",
"path": "/etc/lemurs/wms/i3",
"mode": "0755",
"template": "files/wms/i3"
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/i3-tools",
"binary": "i3-tools",
"loads": [
"i3-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}