Watch
0
0
Fork
You've already forked hyperhive
0

setup assistant creates ruth with logs and metrics; docs for the harness gate, ordering and pass

This commit is contained in:
atlas 2026-11-01 18:27:55 +01:00
commit 8a60f52afa

View file

@ -58,17 +58,24 @@ test("anything but a clear answer is not missing", async () => {
);
});
// The assistant's create form sends `manage_root_agent` with the default
// set, so a new ruth holds it from her first start; the default alone does not.
test("the assistant creates ruth with manage_root_agent", () => {
// The assistant's create form sends `manage_root_agent`, `logs` and `metrics` with
// the default set, so a new ruth holds them from her first start; the default
// alone does not.
test("the assistant creates ruth with manage_root_agent, logs and metrics", () => {
const defaults = ["messaging", "meta", "inbox", "execution"];
const all = [...defaults, "web_tools", "manage_root_agent"];
const all = [
...defaults,
"web_tools",
"manage_root_agent",
"logs",
"metrics",
];
assert.deepEqual(
requestPermissions(
initialSelection(all, defaults, RUTH_EXTRA_PERMISSIONS),
defaults,
),
[...defaults, "manage_root_agent"],
[...defaults, "manage_root_agent", "logs", "metrics"],
);
assert.equal(
requestPermissions(initialSelection(all, defaults, []), defaults),