fix(unify): repair what the night merges broke between lanes
937c2c0 added the line prefix KEPT to watch.py, which shadowed the state directory path watch.KEPT that gates.py and the queue cleanup use; the prefix is now KEPT_LINE. The receipts page test gets an identity revealed() since page-dom.js wraps names through it after the firewall merge, the operator tasks test expects the Home tab of 008, and the hub view id fixture uses a non-ASCII word the English check accepts. Accepted MEDUSA false positives, re-keyed by the rename: MM-SCAN-058 at watch.py:1417 and WM-SCAN-354 at watch.py:1418.
🎯 Fix: 92 %
💥 Break: 2 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 90
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0470152304
commit
1e5aac8a37
4 files changed
+6
-6
No files matched your search
@@ -285,7 +285,7 @@ class TestOperatorPage(unittest.TestCase):
|
||||
|
||||
def test_the_tasks_entry_carries_the_waiting_count_hidden_at_zero_and_no_inbox_entry_exists(self):
|
||||
status = self.data["status"]
|
||||
self.assertEqual(status["keys"], ["stream", "rules", "agents", "artifacts", "tasks", "resources"])
|
||||
self.assertEqual(status["keys"], ["home", "stream", "rules", "agents", "artifacts", "tasks", "resources"])
|
||||
self.assertEqual((status["text"], status["hidden"], status["urgent"], status["title"]), ("3", False, "badge urgent", "(3) Agent Orchestrator"))
|
||||
self.assertEqual(status["zero"], [True, "Agent Orchestrator"])
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ const find = (node, test, out = []) => {
|
||||
return out;
|
||||
};
|
||||
const sandbox = {
|
||||
Receipts, RadioSet, Node, NS: "svg", HUMAN: "Operator", DAY: 86400, WEEKDAYS: [],
|
||||
Receipts, RadioSet, Node, NS: "svg", HUMAN: "Operator", DAY: 86400, WEEKDAYS: [], revealed: String,
|
||||
document: {createElement: (tag) => new Node(tag), createElementNS: (ns, tag) => new Node(tag)},
|
||||
relative: {format: () => "ago"}, absolute: {format: (date) => `at ${date.getTime() / 1000}`},
|
||||
Faces: {of: () => ({parts: []}), SIZE: 10}, speech: {current: null}, look: {hidden: new Set()}, PRESENCE: {}, STATUS: {},
|
||||
|
||||
@@ -161,7 +161,7 @@ const caught = (run) => {
|
||||
const long = "x".repeat(300);
|
||||
console.log(JSON.stringify({
|
||||
unknown, wide, listSet, local, stored, combined, adopted, rebased, merged, churned, gaveUp, refused, during, kept, beforeLeave, atLeave, landed, sent, server: left, hooks: hooks.pagehide, error: V.error(), notRestored, restored,
|
||||
ids: [V.id("host", "CPU"), V.id("disk", "/"), V.id("util", "0000:01:00.0"), V.id("agent", "Stage (this session) [5d88e9]"), V.id("a:b", "c"), V.id("a", "b:c"), V.id("a_3a_b"), V.id("agent", long), V.id("agent", `${long}y`), V.id("agent", "Ärger 🦫")],
|
||||
ids: [V.id("host", "CPU"), V.id("disk", "/"), V.id("util", "0000:01:00.0"), V.id("agent", "Stage (this session) [5d88e9]"), V.id("a:b", "c"), V.id("a", "b:c"), V.id("a_3a_b"), V.id("agent", long), V.id("agent", `${long}y`), V.id("agent", "Çelik 🦫")],
|
||||
}));
|
||||
})();
|
||||
""".replace("@PIN@", json.dumps(PIN)).replace("@PIN_ID@", PIN["id"])
|
||||
|
||||
Reference in new issue
Block a user