Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

test: lock security coverage for new boundaries

Rahmana49eac5fc02b
diff --git a/lib/security/codex-component-results.test.ts b/lib/security/codex-component-results.test.ts
index 3ac4da25..251395f0 100644
--- a/lib/security/codex-component-results.test.ts
+++ b/lib/security/codex-component-results.test.ts
@@ -24,9 +24,16 @@ describe("Codex Security component result gate", () => {
const path = require("node:path") as typeof import("node:path");
const plan = JSON.parse(fs.readFileSync(path.join(process.cwd(), "security/codex-components.json"), "utf8")) as { components: Array<{ name: string; paths: string[] }> };
const assigned = new Set(plan.components.flatMap((component) => component.paths));
- expect(assigned).toContain("lib/infra");
- expect(assigned).toContain("lib/orchestration");
- expect(assigned).toContain("frontend/slices/infrastructure");
+ for (const required of [
+ "lib/infra",
+ "lib/orchestration",
+ "frontend/slices/infrastructure",
+ "lib/capabilities",
+ "lib/contracts",
+ "lib/workflow",
+ "docs/generated",
+ "AGENTS.md",
+ ]) expect(assigned).toContain(required);
});
test("passes complete coverage with no high-or-critical findings", () => {