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.

chore(repo): reconcile preserved laptop work on current main

rahmanef632644d2a0454c
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 97be9d29..06ff67b3 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -52,6 +52,11 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
- `progress` record the 2026-10-18 agent-surface batch and the no-change bench
- `workflows` document proactive turns on durable sessions in workflow graphs
+**Chores**
+
+- `repo` reconcile preserved laptop work on current main
+- `ci` require agent PR readiness evidence
+
**Other**
- Revert "feat(mcp): add fs_stat read capability for bounded path metadata"
@@ -60,11 +65,13 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
**Added**
+- `cli` add hidden local password setup
- `domains` provision persistent managed-app subdomains from CLI
- `models` discover model ids from custom endpoints
**Fixed**
+- `cli` include passwd in command discovery
- `mcp` repair observation workflows and connection diagnostics
**Docs**
@@ -72,6 +79,10 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
- `progress` preserve managed-domain CLI handoff and remaining gates
- `progress` record custom-endpoint discovery deploy and no-service ship limitation
+**Chores**
+
+- `cli` normalize password test file modes
+
## 2026-10-15
**Fixed**
diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md
index d7071c5f..a9759df3 100644
--- a/docs/PROGRESS.md
+++ b/docs/PROGRESS.md
@@ -1,3 +1,11 @@
+## 2026-10-18: Reconcile preserved laptop changes onto current main for review
+
+The laptop-only observation/connection diagnostics, agent PR-readiness policy, and hidden local password setup were preserved as five original commits and replayed onto `53fa602e`. The source changes remain a review candidate in an isolated branch; they have not been merged or deployed. Existing main already contains the custom-provider model-discovery work, which is excluded from this candidate.
+
+History-only conflicts retain both progress records. The local-maintenance extraction keeps main's shared help-before-credentials helper, including that helper in the password fixture. New word-boundary compaction tests now exercise a non-overridden tool at main's existing 24-character limit and explicitly preserve the `workflow_start` first-call override. No profile budget or production ownership guard is relaxed.
+
+Candidate checks so far: 136 focused tests across 16 files, typecheck, zero-warning lint, architecture ratchets, current-reference docs, generated MCP catalog and generated CLI reference pass. Full PR, security and hosted checks remain separate gates; this entry does not claim merge or release readiness.
+
## 2026-10-18: Repair model-discovery findings and separate CodeQL from historical Scorecard posture
The main push at `94c133a2aa6bcb8e54f39286d9b4993a2f47855a` completed its CodeQL analysis, then failed the open-alert gate on four CodeQL findings and Scorecard SAST alert #137. The model-discovery route already injected the pinned provider transport, but its shared helper exposed a raw-fetch default. The helper now owns the mandatory SSRF/DNS-pinned transport. Invalid credentials, provider response bodies and unexpected transport errors cannot be returned as diagnostic text containing API keys. Rejected and oversized responses cancel their bodies. The domain environment regression now checks final content and file permissions through one opened descriptor while retaining its idempotence assertion.
diff --git a/lib/mcp/tool-contract.test.ts b/lib/mcp/tool-contract.test.ts
index fedf4deb..fae7c75e 100644
--- a/lib/mcp/tool-contract.test.ts
+++ b/lib/mcp/tool-contract.test.ts
@@ -41,23 +41,23 @@ describe("MCP advertised tool contract", () => {
});
it.each([
- ["Read bounded workflow details before editing.", "Read bounded workflow details…"],
+ ["Read bounded workflow details before editing.", "Read bounded workflow…"],
["Read bounded workflow snapshots from disk.", "Read bounded workflow…"],
- ["x".repeat(50), `${"x".repeat(29)}…`],
- ["Read a workflow safely now. Continue when ready.", "Read a workflow safely now.…"],
- ["Read a workflow safely now; continue when ready.", "Read a workflow safely now;…"],
- ["First call for multi-step work", "First call for multi-step work"],
+ ["x".repeat(50), `${"x".repeat(23)}…`],
+ ["Read workflow safely. Continue when ready.", "Read workflow safely.…"],
+ ["Read workflow safely; continue when ready.", "Read workflow safely;…"],
+ ["Inspect source safely", "Inspect source safely"],
])("compacts %j within the existing bound without unnecessary word fragments", (description, expected) => {
- const original = TOOLS.find((tool) => tool.name === "workflow_start")!;
+ const original = TOOLS.find((tool) => tool.name === "fs_list")!;
const tool = { ...original, description, chatgptDescription: description };
const compact = toolDescriptor(tool, "chatgpt");
expect(compact.description).toBe(expected);
- expect(compact.description.length).toBeLessThanOrEqual(30);
+ expect(compact.description.length).toBeLessThanOrEqual(24);
expect(toolDescriptor(tool, "full").description).toBe(description);
});
it("keeps the full description when a compact client description is supplied", () => {
- const original = TOOLS.find((tool) => tool.name === "workflow_start")!;
+ const original = TOOLS.find((tool) => tool.name === "fs_list")!;
const description = "Read bounded workflow details before editing. Preserve this complete instruction.";
const tool = { ...original, description, chatgptDescription: "Read bounded workflow snapshots from disk." };
expect(toolDescriptor(tool, "chatgpt").description).toBe("Read bounded workflow…");
@@ -67,4 +67,9 @@ describe("MCP advertised tool contract", () => {
expect(full.outputSchema).toEqual(tool.outputSchema);
});
+ it("preserves the first-call instruction override for workflow_start", () => {
+ const original = TOOLS.find((tool) => tool.name === "workflow_start")!;
+ expect(toolDescriptor({ ...original, chatgptDescription: "Inspect source safely" }, "chatgpt").description).toBe("First call: multi-step");
+ });
+
});