Take the catalogue's composition rules into the node-engine

ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk
carries no composition rule. The catalogue functions only the
node-engine's composition reaches (Resolve, Resolution's Compose,
Declaration, DataItems, LeftOut, Rules and the rest, the settings,
placeholder and template refusals, the rendering helpers) are copied
with their tests into internal/compose/resolution; a method of a
mesh-sdk shape becomes a function taking it first. The composition
calls its own copies, and the captured catalogue its tests read lives
here now, shared by mesh-compose's tests.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
2026-11-02 19:15:55 +01:00
parent be0226b624
commit d68e241724
686 changed files with 35703 additions and 80 deletions
@@ -0,0 +1,4 @@
# The login keyring (module gnome-keyring, novox/hq ADR 0208, ADR 0102): the password typed at the
# login screen unlocks the keyring, and the login session starts the keyring daemon with it.
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
@@ -0,0 +1,3 @@
# The login keyring (module gnome-keyring, novox/hq ADR 0208, ADR 0102): changing the account's
# password changes the login keyring's with it, so the next login still unlocks it.
password optional pam_gnome_keyring.so
@@ -0,0 +1,5 @@
# The ssh agent (module gnome-keyring, novox/hq ADR 0208): gcr's, which the account's service manager
# starts on first use from its socket. Named here, for the session and every terminal it starts, until
# the account's environment can say a path under the runtime directory (see the module's README).
SSH_AUTH_SOCK="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/gcr/ssh"
export SSH_AUTH_SOCK
@@ -0,0 +1,82 @@
{
"module": "gnome-keyring",
"version": "1",
"moved": true,
"capabilities": [
"package-manager"
],
"claims": [
{
"name": "node-secret-service",
"scope": "node"
}
],
"tools": [
"gnome_keyring_unlocked",
"gnome_keyring_lock",
"gnome_keyring_collections",
"gnome_keyring_ssh_keys"
],
"items": [
{
"collection": "shell:xinitrc:first",
"name": "xinitrc-first",
"template": "files/xinitrc-first"
}
],
"resources": [
{
"id": "package",
"type": "package",
"package": "gnome-keyring"
},
{
"id": "library",
"type": "package",
"package": "libsecret"
},
{
"id": "manager",
"type": "package",
"package": "seahorse"
},
{
"id": "pam-login",
"type": "file",
"path": "/etc/pam.d/login",
"mode": "0644",
"into": "block",
"at": "end",
"template": "files/pam/login"
},
{
"id": "pam-passwd",
"type": "file",
"path": "/etc/pam.d/passwd",
"mode": "0644",
"into": "block",
"at": "end",
"template": "files/pam/passwd"
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/gnome-keyring-tools",
"binary": "gnome-keyring-tools",
"loads": [
"gnome-keyring-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}