AM-K1: the zsh module uses operator-channel for its marked execute

Builds: design 46 7-approval-mark §21 (milestone G approval mark)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-12 05:05:08 +01:00
parent 741239a506
commit 2d5358b8b9
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -14,6 +14,9 @@
]
}
],
"uses": [
"operator-channel"
],
"tools": [
"zsh_config"
],
+4
View File
@@ -28,6 +28,10 @@ test("it claims node-login-shell serving execute, and declares no seat", () => {
assert.deepEqual(m.claims, [{ name: "node-login-shell", scope: "node", serves: ["execute"] }]);
});
test("it uses operator-channel, since its seat's verb execute is marked needs-approval (design 46/7 section 21)", () => {
assert.deepEqual(m.uses, ["operator-channel"]);
});
test("the .zshrc block is at the start and holds the three slots in order, after the defaults' header", () => {
const rc = resource("rc");
assert.equal(rc.path, "${machine:account-home}/.zshrc");