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:
@@ -14,6 +14,9 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"uses": [
|
||||
"operator-channel"
|
||||
],
|
||||
"tools": [
|
||||
"zsh_config"
|
||||
],
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user