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.

docs: bound Cognitive Runtime claims to verified evidence

Rahman567b419a3b85
diff --git a/README.md b/README.md
index 0a454ed1..2cb5395a 100644
--- a/README.md
+++ b/README.md
@@ -75,15 +75,21 @@ For a real deployment, put MSO behind **Tailscale, a VPN, or a TLS reverse proxy
- **Use BYOK AI** — Alfa and the terminal MSO Agent use credentials stored on your server, not committed to the repo. Bare `mso` opens the interactive setup/operations agent. `mso models` manages AI provider/API/OAuth connections; `mso model` only selects the active model from providers that are already connected.
- **Automate deployment providers without handing tokens to the model** — Dokploy and Cloudflare are built-in feature apps; `mso provider` also supports Hostinger DNS. Secrets stay in owner-only MSO state while bounded provider tools perform live checks and approved deployment/DNS operations. See [docs/INFRASTRUCTURE-PROVIDERS.md](./docs/INFRASTRUCTURE-PROVIDERS.md).
-- **Drive the box from ChatGPT, Codex, Claude Code, Cursor, Gemini CLI or VS Code** — MSO exposes one generic OAuth MCP server. ChatGPT gets a compact 29-tool scan profile with complete title/safety/security metadata, resource-bound OAuth + rotating refresh tokens, while other MCP clients can use the full catalog. Project-owned MCP tool names never enter the global list: discover/call them dynamically through the generic `project_mcp_tools` / `project_mcp_call` seam. See the [ChatGPT custom MCP guide](./docs/CHATGPT-PLUGIN.md) and [MCP reference](./docs/MCP.md).
+- **Drive the box from ChatGPT, Codex, Claude Code, Cursor, Gemini CLI or VS Code** — MSO exposes one generic OAuth MCP server. ChatGPT gets a source-generated compact static profile with complete title/safety/security metadata, resource-bound OAuth + rotating refresh tokens, while other MCP clients can use the full catalog. Exact current counts and hashes live in [the generated MCP catalog](./docs/generated/MCP-CATALOG.md) so this README does not freeze a stale scanner count. Project-owned MCP tool names never enter the global list: discover/call them dynamically through the generic `project_mcp_tools` / `project_mcp_call` seam. See the [ChatGPT custom MCP guide](./docs/CHATGPT-PLUGIN.md) and [MCP reference](./docs/MCP.md).
- **Message live local sessions by a short name** — every durable same-principal MSO session gets a unique familiar handle such as `@milo`, `@luna`, or `@nara`, independent from its longer auto-generated session title. `/rename <name>` changes that handle, while `/title <text>` changes the session description. `@milo …` resolves only agents with a current lease **and** a live receiver subscription, then creates an explicitly correlated request; replies relay deterministically into the originating conversation while notify-only events remain passive. Presence lease (`idle`/`busy`/`offline`) and receiver subscription (`consumerConnected`) are reported separately so an idle-but-unsubscribed target is diagnosable. For ChatGPT/MCP sessions, `local_agent_inbox(wait_ms=...)` temporarily turns the foreground MCP call into that live receiver for up to 20 seconds, enabling direct two-way session messaging without a worker, DB, webhook, or broker. See [Local Agents](./docs/LOCAL-AGENTS.md).
- **Spawn focused same-session subagents** — `/spawn` and `agent_subagent_run` create bounded foreground workers with isolated context, explicit delegated scope, turn/timeout caps, no recursive spawn, and final-result-only return. They are not Local Agent peers and do not run autonomously after the parent call returns. See [Subagents](./docs/SUBAGENTS.md).
- **Delegate between remote agents with standard A2A v1** — register public HTTPS peers, attach private API-key/Bearer/OAuth access-token profiles, stream remote tasks over SSE, or expose MSO's authenticated inbound Agent Card when a public HTTPS origin is configured. Inbound credentials are owner-minted `read | write | exec` capabilities and run in a memory-isolated task context. See [A2A](./docs/A2A.md).
-- **Keep agents efficient independently of the model provider** — the MCP-first [Cognitive Runtime](./docs/COGNITIVE-RUNTIME.md) isolates conversations from OAuth identity, budgets model context/tool output, uses the RASMIC catalog-first router to select a tiny per-turn capability pack without weakening scopes, compacts durable sessions with sanitized 30-day backup archives, learns only verified workflow recipes, promotes repeated procedures only through the eval-gated Tool Forge, and batches/filter/aggregates independent reads through `read_pipeline` before raw data reaches the model. `bun run bench:cognitive`, `bun run bench:memory:calibration`, `bun run bench:memory:lifecycle`, `bun run bench:memory:retrieval-calibration`, `bun run bench:pipeline`, isolated scratch-fixture `bun run bench:corpus`, deterministic repeated `bun run bench:corpus:repeat`, and observation-only `bun run bench:cache-calibration` guard routing, memory correction/privacy/retention semantics, frozen-session behavior, lexical/local-semantic/relationship retrieval evidence gates, correctness, policy compliance, repeat coverage/spread, latency, context savings, cache telemetry, and proof-gated normalized provider usage so cache/reasoning details are never double-counted or guessed.
+- **Keep agents efficient independently of the model provider** — the MCP-first [Cognitive Runtime](./docs/COGNITIVE-RUNTIME.md) isolates conversations from OAuth identity, budgets model context/tool output, uses the RASMIC catalog-first router to select a small per-turn capability pack without weakening scopes, compacts durable sessions with sanitized 30-day backup archives, learns only verified workflow recipes, gates repeated procedures through Tool Forge, and batches/filter/aggregates independent reads through `read_pipeline` before raw data reaches the model. Executable Tool Forge candidates require the explicitly provisioned local Forge sandbox and fail closed when that image is absent. `bun run bench:cognitive`, `bun run bench:memory:calibration`, `bun run bench:memory:lifecycle`, `bun run bench:memory:retrieval-calibration`, `bun run bench:pipeline`, isolated scratch-fixture `bun run bench:corpus`, deterministic repeated `bun run bench:corpus:repeat`, and observation-only `bun run bench:cache-calibration` guard routing, memory correction/privacy/retention semantics, frozen-session behavior, retrieval evidence gates, correctness, policy compliance, repeat coverage/spread, latency, context savings, cache telemetry, and proof-gated normalized provider usage.
- **Make orchestration risk-aware and self-improving** — [RASMIC](./docs/RASMIC.md) classifies task risk/contention, retrieves compact repo-local memory, records manual user tests and Evidence Receipts, detects path/shared-resource collisions before merge conflicts, and promotes repeated safe routes from observed traces → recipes → tested bounded scripts.
- **Add app slices** — features are modular under `frontend/slices/<slug>/`.
- **Personalize the interface** — macOS, Windows, iOS, and Android shell layouts are UI preferences, not the core product.
+### Cognitive Runtime evidence boundary
+
+The public Cognitive Runtime claim baseline was revalidated on **2026-09-04** against source/main/origin and the deployed build at `1d65a6a`. Current deterministic gates at that SHA report **100% required-tool routing recall**, **96.6% average active-schema reduction**, **8/8 typed-memory fixtures**, **6/6 P9 correction/privacy calibration scenarios at 200 corrections**, and **8/8 P10 lifecycle scenarios**. The P10 retrieval gate is intentionally mixed: lexical retrieval is **4/6**, the existing local semantic candidate is **3/6**, and the bounded two-hop relationship fixture is **3/3**; therefore MSO does **not** claim that vector or graph memory is universally unnecessary.
+
+The strongest currently revalidated MSO↔Hermes comparison is the exact P7+P8 **five-run, nine-scenario, matched `openai-codex/gpt-5.6-terra` corpus**: both agents are **5/5 perfect full runs**. On those exact runs, MSO observed **74.7% fewer normalized tokens/attempt**, **12.8% lower mean average latency**, and **34.1% lower mean per-run p50**. These are corpus-specific observations, **not** a claim that MSO is universally faster, smarter, cheaper, or more reliable. Cost is not ranked; cache-hit frequency is not ranked; OpenClaw is not ranked without an equivalent provider/model path. Older P4/P5 numeric tables remain historical release notes and are not the current public benchmark baseline because this audit could not independently revalidate the exact raw artifacts behind those specific numbers. See [Cognitive Runtime → Evidence status and claim boundaries](./docs/COGNITIVE-RUNTIME.md#evidence-status-and-claim-boundaries) and the versioned [claim-audit evidence manifest](./docs/evidence/cognitive-runtime-claim-audit-2026-09-04.json).
+
## What can you do with MSO?
**Fix a server issue from your phone**
@@ -455,7 +461,7 @@ Deep dive: [docs/ARCHITECTURE.md](./docs/ARCHITECTURE.md).
## Comparison
<!-- comparison:start -->
-**Positioning:** MSO is designed to be the most complete mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.
+**Positioning:** MSO is designed as a mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.
Strong = a first-class product strength · Partial = available with scope limitations · Not offered = not a core product surface
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 73861c77..3c3fea1a 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -43,6 +43,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Docs**
+- bound Cognitive Runtime claims to verified evidence
- refresh maintainability changelog
- `agent` record P9 memory calibration
- `agent` record P8 calibration baseline
diff --git a/docs/COGNITIVE-RUNTIME.md b/docs/COGNITIVE-RUNTIME.md
index fc5715a3..97d54f4a 100644
--- a/docs/COGNITIVE-RUNTIME.md
+++ b/docs/COGNITIVE-RUNTIME.md
@@ -4,7 +4,7 @@ MSO treats the LLM as a replaceable reasoning engine. The durable product advant
**provider-neutral harness** around it: conversation identity, context budgeting, memory, tool discovery,
permissions, verification, learned workflows, and reproducible evaluation.
-This document is the current contract for the MCP-first Cognitive Runtime through P1. Provider-specific features may be
+This document is the current contract for the MCP-first Cognitive Runtime through P10. Provider-specific features may be
used when available, but correctness must not depend on OpenAI-, Anthropic-, Google-, Qwen-, GLM-,
DeepSeek-, or other vendor-specific hidden state.
@@ -24,6 +24,20 @@ DeepSeek-, or other vendor-specific hidden state.
conversation's active workflow.
6. **Optimization is benchmark-gated.** A smaller prompt is not a win if tool recall or task success drops.
+## Evidence status and claim boundaries
+
+A claim audit on **2026-09-04** revalidated source, `main`, `origin/main`, loopback health and public health at commit `1d65a6a175fd52a5db5b6a28fee6ea2450b90431` (`1d65a6a`). The audit distinguishes three evidence classes instead of treating every historical number as equally current:
+
+1. **Current reproducible gates** — rerun successfully at `1d65a6a`: `bench:cognitive`, `bench:memory`, `bench:memory:calibration -- --corrections 200`, `bench:memory:lifecycle`, and `bench:memory:retrieval-calibration`. Current results are 100% required-tool recall / deterministic routing, 96.6% average active-schema reduction, typed memory 8/8, P9 calibration 6/6, P10 lifecycle 8/8, lexical retrieval 4/6, existing local semantic candidate 3/6, and bounded two-hop relationship retrieval 3/3.
+2. **Raw-artifact-revalidated historical comparisons** — P6, the canonical P7 two-run artifact, P8 three-run artifact, and P8 cache artifact still exist and their SHA-256 plus aggregate arithmetic were rechecked. The exact canonical P7 artifact is `/tmp/mso-p7-repeat-full-2x9.json` with SHA-256 `a0c12961d142420f6ac334ff021bde7ab82faa89f9294107d3bd46823606a530`; a similarly named older `/tmp/mso-p7-repeat-full-2runs.json` is a different run and must not be used as evidence for the 18/18 P7 baseline. P8 three-run SHA-256 is `f70e2f5e8132f0808976ed69e2cb6769d2cec861d58612a8cca2ef5d80a7d838`; cache SHA-256 is `b4a2b1be5dc6edfb2ce8282eae64e3a4fc206cd043ecb825a1eae6a617c9f871`; P6 final post-lifecycle SHA-256 is `e0b5e1e30a9f1e5b34624e42d4bb5195792e50129b74de7d4006906a99716ba5`.
+3. **Historical release-reported metrics only** — the exact P4/P5 numeric tables below are retained for chronology, but this audit did not find a retained raw artifact that independently reproduces those exact table values. A retained P4 artifact has different observed timing values, and no exact P5 artifact was found. Therefore P4/P5 numbers are **not approved as the current public benchmark baseline** and should not be quoted externally without rerunning the exact fixture.
+
+The strongest currently revalidated cross-agent claim is deliberately narrow: combining the canonical P7 two-run artifact and P8 three-run artifact yields five matched `openai-codex/gpt-5.6-terra` nine-scenario runs where **both MSO and Hermes are 5/5 perfect**. Independently recomputed means are 16,907.6 vs 66,791.1 normalized tokens/attempt, 18,985.9 vs 21,779.8 ms average latency, and 14,130.8 vs 21,457.2 ms per-run p50: observed deltas of 74.7%, 12.8%, and 34.1% respectively in MSO's direction. These measurements do **not** establish universal product superiority, universal reliability, a provider-wide speed claim, a cost advantage, or causality from any one MSO component. Structural measurements such as schema reduction and read-pipeline byte reduction are separately reproducible; the cross-agent token/latency deltas are observed corpus outcomes.
+
+Tool Forge also has an operational precondition worth making explicit. The proposal/evaluation/promotion code and non-Docker regression suite pass, but executable project-function fixtures require the locally cached `mso-forge-sandbox:node22-v1` image. At this validation checkpoint that image was **not provisioned**, so the three Docker-only Forge tests were skipped and runtime evaluation correctly fails closed with a provisioning instruction. Do not describe executable Forge promotion as currently runnable on a host unless that image is present and its sandbox tests have been exercised there.
+
+Cost remains withheld unless both compared runners expose comparable attributable USD semantics. Cache-hit frequency remains observation-only until request envelopes are equivalent. OpenClaw remains unranked until an equivalent usable provider/model path exists. The compact machine-readable receipt for this audit is [`docs/evidence/cognitive-runtime-claim-audit-2026-09-04.json`](./evidence/cognitive-runtime-claim-audit-2026-09-04.json).
+
## Identity and workflow hierarchy
```text
@@ -162,7 +176,7 @@ A non-interactive full MSO tool loop is available as `mso agent --oneshot <promp
These numbers are reproducible harness baselines, not an overall quality leaderboard. P4 permits a bounded corpus ranking only when every compared runner covers the same full corpus with 100% model-family/provider evidence matching the requested provider; one-task smoke latency is never an overall-agent claim.
-## Current P3 + RASMIC baseline
+## Historical P3 + RASMIC baseline
P3 runs on the catalog-first RASMIC router rather than the older lexical active-tool selector. The merged deterministic harness now reports:
@@ -182,7 +196,9 @@ P3 runs on the catalog-first RASMIC router rather than the older lexical active-
The Hermes comparison above is **tool-schema footprint only** and does not establish product superiority. The P4 section below is the separate matched-provider task-quality corpus; its ranking is bounded to those six scenarios. OpenClaw still exposes no equivalent configured provider/model path on this host and remains outside that ranking.
-## P4 comparable task-quality baseline
+## P4 comparable task-quality baseline — historical release report
+
+**Claim status:** retained for historical chronology; the 2026-09-04 audit did not independently recover a raw artifact matching every exact numeric value in this P4 table, so do not use these numbers as the current public benchmark baseline.
P4 turns the benchmark harness into an engineering gate rather than a one-task demo. `bench:corpus` creates **six seeded, semantically identical task fixtures per agent in separate private 0700 scratch directories** so write tasks cannot contaminate another runner. Every outcome is scored from the exact scenario filesystem tree/result state rather than trusting the model's prose. Fixture isolation is not an authority sandbox: each runner keeps its normal tool authority, the harness reports `runnerAuthoritySandboxed=false`, and `policyObservationScope=scenario-tree` means policy compliance is proven only for the exact observable fixture tree—not for the whole host. Agent execution is scenario-major with rotating runner order to reduce warm-up/order bias:
@@ -205,7 +221,7 @@ The final post-optimization head-to-head uses the **same `openai-codex/gpt-5.6-t
| Reported tokens / successful task | 3,495.2 | 56,718.2 |
| Tool telemetry coverage | 100% | unavailable from the Hermes one-shot report |
-Comparability is fail-closed: every attempted scenario must report matching model-family evidence and the same **requested** provider before a quality ranking is eligible. Both runners satisfied that contract for this run. Because task success and scenario-observable policy compliance tie, the P4 quality ranking uses p50/average latency only as a descriptive tie-breaker: **MSO ranks ahead of Hermes on this six-scenario corpus**, with about **26.4% lower average latency** and **25.6% lower p50 latency**. This is a bounded corpus result, not a claim that MSO is universally better on every workload.
+Comparability is fail-closed: every attempted scenario must report matching model-family evidence and the same **requested** provider before a quality ranking is eligible. The historical P4 release report said both runners satisfied that contract and used p50/average latency only as a descriptive tie-breaker after a task/policy tie. Because the 2026-09-04 claim audit did not recover a raw artifact matching every exact P4 number, **do not use the reported P4 ordering or percentages as the current public benchmark baseline**; rerun the exact fixture first.
### Token/cost accounting is deliberately separate
@@ -221,7 +237,9 @@ The final `multi-read` scenario uses exactly one `read_pipeline` call. Recovery
OpenClaw remains installed and testable, but the current host does not expose an equivalent usable `openai-codex/gpt-5.6-terra` path for its main agent. P4/P5 **do not change competitor credentials/configuration just to manufacture comparability**, and they therefore emit no OpenClaw quality ranking yet.
-## P5 normalized provider-usage semantics
+## P5 normalized provider-usage semantics — historical release report
+
+**Claim status:** the implementation semantics remain source/test covered, but the 2026-09-04 audit did not find the exact raw P5 corpus artifact behind the numeric table below. Keep the numbers as historical release notes only; do not quote them as the current public benchmark baseline without a fresh matched rerun.
P5 makes token accounting auditable without adding prompt context or inventing missing values. A provider-neutral usage envelope now preserves the provider's raw categories plus an explicit accounting mode:
@@ -248,7 +266,7 @@ A full six-scenario candidate run on the same `openai-codex/gpt-5.6-terra` provi
| Accounting proof | explicit inclusive contract | exact exclusive-cache sum |
| Cost semantics comparable | no | no |
-On this bounded corpus, MSO uses about **94.1% fewer normalized tokens per successful task (~17× smaller)**, with **29.0% lower average latency** and **27.2% lower p50 latency** in this run. This is a corpus result, not a universal product/model claim; quality ranking still prioritizes task success and scenario-policy, with latency only as its descriptive tie-breaker. Token efficiency is reported as a separate now-comparable metric and still does not override correctness/policy. Cost remains withheld because MSO has no comparable cost field and Hermes reports included cost with source `none`.
+The historical P5 release report calculated **94.1% fewer normalized tokens per successful task (~17× smaller)** for MSO, with **29.0% lower average latency** and **27.2% lower p50 latency** on that run. Those values remain chronology only: the 2026-09-04 audit did not recover the exact raw P5 corpus artifact, so they are **not approved for current public quoting without a fresh matched rerun**. The implementation-level accounting contract remains source/test covered, and cost remains withheld because comparable attributable USD semantics are still absent.
The candidate run also preserves the structural P3/P4 behaviors: `multi-read` uses one `read_pipeline`, security uses one `fs_read`, and recovery's one failed primary read remains expected task evidence.
@@ -278,7 +296,7 @@ The final post-lifecycle full run used the same `openai-codex/gpt-5.6-terra` pro
| Accounting proof | explicit inclusive contract | exact exclusive-cache sum |
| Cost semantics comparable | no | no |
-On that exact full run, the formal quality ranking is eligible and orders **MSO > Hermes** because correctness precedes policy and latency. The only Hermes task miss was `multi-read`: its scenario tree stayed unchanged and the process exited normally, but the exact aggregate answer was wrong. That miss was **not reproduced** in a follow-up alternating-order stability check: MSO passed 3/3 and Hermes passed 3/3 `multi-read` repeats. Therefore P6 records the 8/9 full-run outcome as observed run variance, **not** as evidence that MSO is universally more reliable.
+On that exact raw P6 artifact, the benchmark ranking field is eligible and orders **MSO > Hermes** because correctness precedes policy and latency. The only Hermes task miss was `multi-read`: its scenario tree stayed unchanged and the process exited normally, but the exact aggregate answer was wrong. That miss was **not reproduced** in a follow-up alternating-order stability check: MSO passed 3/3 and Hermes passed 3/3 `multi-read` repeats. Therefore the validated P6 artifact is evidence for that one run, **not** evidence that MSO is universally more reliable; the five-run P7+P8 set is the preferred public comparison baseline.
Efficiency is less sensitive to that one miss. On all nine attempts, MSO averaged **16,683.4 normalized tokens/attempt vs 67,433.1** for Hermes — about **75.3% fewer (~4.04× smaller)**. Tokens/success are **78.0% lower (~4.55× smaller)** in the formal run, but that denominator also charges Hermes's failed attempt, so tokens/attempt is the cleaner cross-run efficiency comparison here. MSO's p50 was **34.4% lower**, while its average latency was **2.6% higher** because `repo-debug` and `repo-migration` were slower; P6 therefore does not claim a blanket latency win. Cost remains withheld.
@@ -342,7 +360,7 @@ P8 then added three more complete independently seeded nine-scenario runs, also
On these three P8 runs, correctness/reliability is a tie. MSO used about **75.5% fewer normalized tokens per attempt (~4.08× smaller)**, with about **14.5% lower average latency** and **30.3% lower aggregate p50**. Those are bounded observed-run measurements, not provider/model-wide claims.
-Combining the raw P7 two-run artifact and raw P8 three-run artifact gives a five-run descriptive history on the same corpus/provider/model. Both agents are **5/5 perfect**. Mean normalized tokens/attempt are **16,907.6 MSO vs 66,791.1 Hermes** (~**74.7% lower**, Hermes ~3.95× higher); mean per-run average latency is **18,985.9 vs 21,779.8 ms** (~**12.8% lower** for MSO); mean per-run p50 is **14,130.8 vs 21,457.2 ms** (~**34.1% lower**). Run-level token CV is 5.5% vs 2.7%. Five runs are enough to expose observed spread and remove the earlier one-run reliability anomaly, but still too small for an inferential reliability claim.
+Combining the raw P7 two-run artifact and raw P8 three-run artifact gives a five-run descriptive history on the same corpus/provider/model. Both agents are **5/5 perfect**. Mean normalized tokens/attempt are **16,907.6 MSO vs 66,791.1 Hermes** (~**74.7% lower**, Hermes ~3.95× higher); mean per-run average latency is **18,985.9 vs 21,779.8 ms** (~**12.8% lower** for MSO); mean per-run p50 is **14,130.8 vs 21,457.2 ms** (~**34.1% lower**). Run-level token CV is 5.5% vs 2.7%. The specific earlier one-run reliability anomaly is absent from this five-run set, but five runs are still too small for an inferential or universal reliability claim.
## P8 next direction
diff --git a/docs/COMPARISON.md b/docs/COMPARISON.md
index b30eb70f..cedf34c7 100644
--- a/docs/COMPARISON.md
+++ b/docs/COMPARISON.md
@@ -3,7 +3,7 @@
Last reviewed: **2026-08-29** · freshness gate: **90 days**
-MSO is designed to be the most complete mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.
+MSO is designed as a mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.
## Method
diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md
index 05b411dd..90191f00 100644
--- a/docs/PROGRESS.md
+++ b/docs/PROGRESS.md
@@ -1,4 +1,5 @@
# mso — Progress Log
+- **Cognitive Runtime claim audit / public evidence boundary (2026-09-04):** revalidated source/main/origin and loopback/public production on the latest concurrent baseline, then reran the deterministic Cognitive Runtime/memory gates: routing recall 100%, active-schema reduction 96.6%, typed memory 8/8, P9 6/6 at 200 corrections, P10 lifecycle 8/8, lexical/local-semantic 4/6 vs 3/6, and bounded graph fixture 3/3. Raw P6/P7/P8 artifacts were independently re-hashed and their aggregate arithmetic recomputed; the canonical P7 two-run artifact is `mso-p7-repeat-full-2x9.json` (`a0c12961...`), not the similarly named older `mso-p7-repeat-full-2runs.json`. Canonical P7+P8 yields 5/5 perfect full runs for both MSO and Hermes and the documented 74.7% token / 12.8% average-latency / 34.1% p50 observed deltas on that exact nine-scenario matched corpus. P4/P5 exact tables are downgraded to historical release-reported metrics because this audit could not independently recover raw artifacts matching those exact values. README now removes the stale 29-tool ChatGPT count, removes the unsupported "most complete" positioning superlative, and states explicit no-universal-superiority/no-cost/no-cache/no-OpenClaw boundaries. Tool Forge executable evaluation is documented as fail-closed until its explicit local Docker sandbox image is provisioned; that image was absent during this audit.
- **Play Together secure iframe / Surface v3 (2026-09-04):** MCP server `1.9.2` / toolset `2026.09.04.3` upgrades `ui://mso/surface-v3.html` so Play Together can render live inside ChatGPT without relaxing the whole app. The Surface allowlists only `https://game.rahmanef.com`, starts it at `/embed`, revalidates the exact origin plus `/embed` path prefix in-browser, and retains a sandbox without popups/top-navigation. The Play Together deployment reciprocally keeps normal routes anti-frame and gives only `/embed` + `/embed/*` the exact `mso-ui.rahmanef.com` ancestor permission. Auth remains normal; no demo bypass or raw HTML/arbitrary URL input is added.
- **MSO Surface v1 scope correction / v2 resource (2026-09-04):** MCP server `1.9.1` / toolset `2026.09.04.2` removes accidental cross-project catalog entries from Fresh 3. `ui://mso/surface-v2.html` keeps the generic secure Surface architecture but its current VPSKU app catalog contains only **Play Together** (`https://game.rahmanef.com`) as a `remote` target because that app currently sends `frame-ancestors 'self'`. The Surface CSP therefore has **no third-party `frameDomains` at all**. Raw HTML/arbitrary URLs remain rejected, project anti-framing headers are never stripped, and app identities from other MSO server scopes are not copied into this connector.
- **MCP App contextual landing hardening (2026-09-03):** `Open in MSO` no longer lands on an idle desktop. Workflow/VPS/project/diff cards target `/assistant/mcp`, `/monitor`, `/files`, and `/code`; the shell also recognizes ChatGPT's root `redirectUrl=https://chatgpt.com/c/...` handoff and redirects it to Alfa → MCP Activity so an already-cached v2 widget still produces a visible result. Assistant deep-link payloads now select their requested tab even when reusing an existing singleton window. MCP tool count, scopes, output schemas, and v2 resource URIs are unchanged.
diff --git a/docs/TESTING-HANDOFF.md b/docs/TESTING-HANDOFF.md
index b3d9d6e3..2991e3fe 100644
--- a/docs/TESTING-HANDOFF.md
+++ b/docs/TESTING-HANDOFF.md
@@ -5,9 +5,10 @@ Update this file at the end of every manual or automated test session. Keep it f
## Current status
-The current release target is **MSO CLI 1.12.0**, MCP server `1.9.1`, toolset `2026.09.04.2`; use `mso --version` plus `/api/health` for the exact Git build because documentation-only release commits also advance that identity. The v1.10/v1.11 findings and the v1.12 sectioned-terminal/recoverable-error work below are resolved and retained as historical test evidence. Do not re-open a resolved finding from prose alone: reproduce it against the current build first. There is no known 1.12 release blocker in this handoff.
+The current release target is **MSO CLI 1.12.0**, MCP server `1.9.2`, toolset `2026.09.04.3`; use `mso --version` plus `/api/health` for the exact Git build because documentation-only release commits also advance that identity. The v1.10/v1.11 findings and the v1.12 sectioned-terminal/recoverable-error work below are resolved and retained as historical test evidence. Do not re-open a resolved finding from prose alone: reproduce it against the current build first. There is no known 1.12 release blocker in this handoff.
Current verified behavior:
+- **2026-09-04 Cognitive Runtime public-claim audit:** source/main/origin + loopback/public production were revalidated on the latest concurrent baseline. Fresh reruns pass `bench:cognitive`, `bench:memory`, P9 200-correction calibration, P10 lifecycle, and P10 retrieval calibration. Current deterministic evidence: 100% required-tool recall, 96.6% active-schema reduction, memory 8/8, P9 6/6, P10 lifecycle 8/8, lexical/local-semantic 4/6 vs 3/6, graph fixture 3/3. Canonical raw comparison artifacts were re-hashed: P6 `e0b5e1e30a9f1e5b34624e42d4bb5195792e50129b74de7d4006906a99716ba5`, P7 two-run `a0c12961d142420f6ac334ff021bde7ab82faa89f9294107d3bd46823606a530`, P8 three-run `f70e2f5e8132f0808976ed69e2cb6769d2cec861d58612a8cca2ef5d80a7d838`, P8 cache `b4a2b1be5dc6edfb2ce8282eae64e3a4fc206cd043ecb825a1eae6a617c9f871`. The canonical P7 file is `mso-p7-repeat-full-2x9.json`; the similarly named `mso-p7-repeat-full-2runs.json` is a different, non-canonical run. Recomputed P7+P8 evidence is 5/5 perfect for both MSO and Hermes with 74.7% fewer normalized tokens/attempt, 12.8% lower mean average latency, and 34.1% lower mean per-run p50 for MSO on that exact matched nine-scenario corpus. P4/P5 exact numeric tables are historical-only because their exact raw artifacts were not independently revalidated in this audit. Cost/cache/OpenClaw remain unranked. Tool Forge source/non-Docker tests pass, but the local Forge Docker image was absent, so three Docker-only tests were correctly skipped and executable evaluation fails closed until explicitly provisioned.
- Fresh 3 current MCP contract: server `1.9.2` / toolset `2026.09.04.3`; ChatGPT receives **64 transport tools = 63 model/operator actions (34 read / 17 write / 12 exec) + app-only `workflow_status`**, while the full transport catalog is 88 tools / 87 model tools. Every ChatGPT action advertises `outputSchema`, the dedicated MCP Apps widget origin is `https://mso-ui.rahmanef.com`, and five official digest-verified Skills are exposed through the MCP Skills/resource extension. Five MCP Apps are published: the four existing v2 operator cards plus `ui://mso/surface-v3.html`. The Surface accepts no raw HTML/arbitrary URL; its only frame domain is `https://game.rahmanef.com`, and every Play Together iframe URL must remain under `/embed`. The normal Play Together shell stays anti-frame, while the dedicated embed namespace allows only `mso-ui.rahmanef.com`. Other MSO server scopes are not copied into this catalog.
- MCP App navigation acceptance: a ChatGPT-opened root URL carrying `redirectUrl=https://chatgpt.com/c/...` must 307 to `/assistant/mcp`, then authenticated browser E2E must show the Alfa `MCP Activity` view. Contextual widget targets are workflow→`/assistant/mcp`, VPS→`/monitor`, project→`/files`, diff→`/code`. This changes no MCP tool/schema/resource URI, so existing Fresh 3 registrations remain compatible.
- P10 memory retention/lifecycle: isolated fixtures now archive only cold finished claims before the hard 2,000-record / 2 MiB live-ledger limits. Trigger/target are 1,400 -> <=1,000 live records (or ~1.4 MiB -> ~1 MiB); archive segments are content-addressed, owner-only and archive-before-ledger atomic. `bench:memory:lifecycle` is **8/8 deterministic** with a 1,400-correction seed ending at **1,000 live + 401 archived / two segments** and a 56-byte resolved projection. It verifies explicit archived-history retrieval, historical temporal resolution, aggregate-only no-content telemetry, `0700/0600` permissions, interrupted-commit live-wins semantics, backdated replacement over immutable archive, and frozen session A / fresh session B / resume-copy behavior. The P10 retrieval gate is **4/6 lexical** (synonym + Indonesian/English misses remain explicit); P10D also calibrates the existing local `mso-local-hybrid-v1` encoder on the same rows and gets **3/6** with zero network calls / zero persisted memory vectors, so production vector storage stays blocked by measured non-improvement rather than assumption. **3/3 two-hop relationship fixtures** keep graph storage blocked. The exact-history crowding bug (`Runtime-1` vs `Runtime-10...`) is fixed by exact phrase/token scoring; legacy `bench:memory` remains 100%.
@@ -16,8 +17,8 @@ Current verified behavior:
- P7 repeatability gate: `bench:corpus:repeat` adds explicit/deterministic seeds, alternating starting-agent order, and strict per-run/per-agent scenario + provider/model identity checks before any cross-run ranking. The first two complete 9-scenario runs from source `5bd5788` on `openai-codex/gpt-5.6-terra` were 18/18 task + 18/18 scenario-policy for both agents and 2/2 perfect runs each. Aggregate MSO vs Hermes: 17,271.3 vs 65,073.3 normalized tokens/attempt (~73.5% lower for MSO), 18,922.6 vs 21,077.4 ms average latency, and 13,761 vs 20,513.5 ms p50. All 36 token-proof arithmetic checks passed. This is a bounded two-run baseline, not statistical reliability proof; cost remains non-comparable.
- Historical MCP 1.7 hardening baseline: ChatGPT was fail-closed to a 29-tool compact MSO-only profile (~31.8 KiB descriptor JSON / ~8k rough tokens), full MSO remains 73 transport tools, and project-specific MCP names stay dynamic behind `project_mcp_tools` / `project_mcp_call`. OAuth resource binding + rotating refresh credentials, Streamable HTTP protocol handling, and legacy registered ChatGPT-client profile detection have focused regression coverage. Deterministic security gates (Trivy/OSV/Gitleaks/Semgrep/ShellCheck) pass; Codex Security AI scanning is explicitly incomplete because executor/cost guards stopped it, with 0 findings in the targeted partial reports.
- P6 `mso-agent-quality-v2` expands the matched corpus to nine scenarios with repo-debug, schema migration, and transactional rollback. Final `openai-codex/gpt-5.6-terra` full run: MSO 9/9 task + 9/9 scenario-policy, Hermes 8/9 + 9/9; normalized tokens/attempt 16,683.4 vs 67,433.1 (~75.3% lower for MSO), p50 15,285 vs 23,294 ms, while MSO average latency was ~2.6% higher. The Hermes `multi-read` miss did not reproduce in a 3/3-vs-3/3 alternating-order follow-up, so it is not treated as a universal reliability claim. P6 also fixes over-broad manual-test routing, restores explicit exec validation for repo tasks, and prevents duplicate `workflow_start` inside long single-user turns. Cost remains non-comparable.
-- P5 provider-usage normalization preserves Codex/OpenAI cache/reasoning details without double counting, keeps unknown fields unknown, and proof-gates canonical token semantics. A full candidate MSO↔Hermes run on `openai-codex/gpt-5.6-terra` remained 6/6 task + 6/6 scenario-policy for both; token semantics are now comparable at 3,510.8 vs 59,743.2 normalized tokens/success, while cost semantics remain non-comparable. MSO's proof is `explicit-inclusive-contract`; Hermes is `exact-exclusive-cache-sum`.
-- P4 `bench:corpus` uses six seeded, per-agent isolated 0700 scratch scenarios, exact scenario-tree scoring (`policyObservationScope=scenario-tree`, not whole-host sandbox proof), and rotating scenario-major runner order. The reproduced full provider+model-matched MSO↔Hermes run on `openai-codex/gpt-5.6-terra` is 6/6 task + 6/6 scenario-observable policy for both; MSO measured 10,759.5 ms average / 10,646.5 ms p50 versus Hermes 14,624 ms / 14,304.5 ms. This is a bounded corpus tie-break, not an overall-product claim. Token/cost accounting remains explicitly non-comparable and is not a ranking input; OpenClaw is unranked until an equivalent model/provider path exists.
+- P5 provider-usage normalization preserves Codex/OpenAI cache/reasoning details without double counting, keeps unknown fields unknown, and proof-gates canonical token semantics. **The P5 numeric comparison below is historical release-reported evidence only; the 2026-09-04 claim audit did not recover its exact raw corpus artifact, so do not use it as the current public baseline without a fresh matched rerun.** The historical run reported 6/6 task + 6/6 scenario-policy for both and 3,510.8 vs 59,743.2 normalized tokens/success; cost semantics remained non-comparable. MSO's proof was `explicit-inclusive-contract`; Hermes was `exact-exclusive-cache-sum`.
+- P4 `bench:corpus` uses six seeded, per-agent isolated 0700 scratch scenarios, exact scenario-tree scoring (`policyObservationScope=scenario-tree`, not whole-host sandbox proof), and rotating scenario-major runner order. **The exact P4 numeric table is historical release-reported evidence only; the 2026-09-04 audit found retained P4 artifacts with different timing values and therefore did not approve the old table as the current public baseline.** The release report recorded 6/6 task + 6/6 scenario-observable policy for both on `openai-codex/gpt-5.6-terra`; OpenClaw remains unranked until an equivalent model/provider path exists.
- every durable session has a unique short public `name` (`milo`, `luna`, `nara`, …) independent from its longer `title`; `/rename` changes the handle and `/title` changes the description;
- human `@name` mention routing resolves active agents only; internal `agent-a` aliases remain compatibility data for explicit APIs;
- composer drafts wrap dynamically to terminal width/height, repaint on resize, and ↑/↓ navigate visual rows before history;
diff --git a/docs/comparison-data.json b/docs/comparison-data.json
index 39828116..a5c978c7 100644
--- a/docs/comparison-data.json
+++ b/docs/comparison-data.json
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"reviewedAt": "2026-08-29",
"expiresAfterDays": 90,
- "positioning": "MSO is designed to be the most complete mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.",
+ "positioning": "MSO is designed as a mobile-first, AI-native private Linux workspace for an owner or small trusted team. It does not claim to replace specialist products at their strongest specialty.",
"legend": {
"strong": "Strong",
"partial": "Partial",
diff --git a/docs/evidence/cognitive-runtime-claim-audit-2026-09-04.json b/docs/evidence/cognitive-runtime-claim-audit-2026-09-04.json
new file mode 100644
index 00000000..a9d94c7e
--- /dev/null
+++ b/docs/evidence/cognitive-runtime-claim-audit-2026-09-04.json
@@ -0,0 +1,251 @@
+{
+ "schemaVersion": 1,
+ "kind": "mso-cognitive-runtime-public-claim-audit",
+ "validatedAt": "2026-09-04",
+ "sourceAndProductionAtAudit": {
+ "fullSha": "1d65a6a175fd52a5db5b6a28fee6ea2450b90431",
+ "shortSha": "1d65a6a",
+ "sourceMainOriginAligned": true,
+ "loopbackHealthMatched": true,
+ "publicHealthMatched": true
+ },
+ "currentReproducibleGates": {
+ "commands": [
+ "bun run bench:cognitive",
+ "bun run bench:memory",
+ "bun run bench:memory:calibration -- --corrections 200",
+ "bun run bench:memory:lifecycle",
+ "bun run bench:memory:retrieval-calibration"
+ ],
+ "results": {
+ "routingRequiredToolRecallPct": 100,
+ "routingCatalogHitPct": 100,
+ "deterministicRouting": true,
+ "averageActiveTools": 2.6,
+ "activeSchemaReductionPct": 96.6,
+ "typedMemory": {
+ "passed": 8,
+ "total": 8
+ },
+ "p9Calibration": {
+ "passed": 6,
+ "total": 6,
+ "corrections": 200,
+ "projectionReductionPct": 99.96
+ },
+ "p10Lifecycle": {
+ "passed": 8,
+ "total": 8,
+ "seedRecords": 1400,
+ "liveAfter": 1000,
+ "archivedAfter": 401,
+ "archiveSegments": 2
+ },
+ "retrievalEvidenceGate": {
+ "lexicalPassed": 4,
+ "lexicalTotal": 6,
+ "localSemanticPassed": 3,
+ "localSemanticTotal": 6,
+ "semanticDeltaPassedCases": -1,
+ "twoHopGraphPassed": 3,
+ "twoHopGraphTotal": 3
+ },
+ "readPipeline": {
+ "modelRoundTripReductionPct": 75,
+ "modelVisibleByteReductionPct": 99.2,
+ "exact": true
+ }
+ }
+ },
+ "rawArtifactRevalidation": {
+ "p6": {
+ "artifactBasename": "mso-p6-corpus-final-post-lifecycle.json",
+ "sha256": "e0b5e1e30a9f1e5b34624e42d4bb5195792e50129b74de7d4006906a99716ba5",
+ "provider": "openai-codex",
+ "model": "gpt-5.6-terra",
+ "scenarioCount": 9,
+ "comparability": {
+ "level": "full",
+ "provider": "openai-codex"
+ },
+ "aggregates": {
+ "mso": {
+ "attempted": 9,
+ "taskSuccesses": 9,
+ "policyCompliant": 9,
+ "perfectRuns": null,
+ "averageLatencyMs": 22776,
+ "p50LatencyMs": 15285,
+ "normalizedTokensPerAttempt": 16683.4,
+ "tokenAccountingProof": "explicit-inclusive-contract"
+ },
+ "hermes": {
+ "attempted": 9,
+ "taskSuccesses": 8,
+ "policyCompliant": 9,
+ "perfectRuns": null,
+ "averageLatencyMs": 22189.3,
+ "p50LatencyMs": 23294,
+ "normalizedTokensPerAttempt": 67433.1,
+ "tokenAccountingProof": "exact-exclusive-cache-sum"
+ }
+ },
+ "note": "One exact run only; Hermes multi-read miss did not reproduce in 3/3 follow-up for either agent."
+ },
+ "p7Canonical": {
+ "artifactBasename": "mso-p7-repeat-full-2x9.json",
+ "sha256": "a0c12961d142420f6ac334ff021bde7ab82faa89f9294107d3bd46823606a530",
+ "baseSeed": "p7-baseline-20260903",
+ "provider": "openai-codex",
+ "model": "gpt-5.6-terra",
+ "scenarioCount": 9,
+ "requestedRuns": 2,
+ "exactCoverage": true,
+ "aggregates": {
+ "mso": {
+ "attempted": 18,
+ "taskSuccesses": 18,
+ "policyCompliant": 18,
+ "perfectRuns": 2,
+ "averageLatencyMs": 18922.6,
+ "p50LatencyMs": 13761,
+ "normalizedTokensPerAttempt": 17271.3,
+ "tokenAccountingProof": "explicit-inclusive-contract"
+ },
+ "hermes": {
+ "attempted": 18,
+ "taskSuccesses": 18,
+ "policyCompliant": 18,
+ "perfectRuns": 2,
+ "averageLatencyMs": 21077.4,
+ "p50LatencyMs": 20513.5,
+ "normalizedTokensPerAttempt": 65073.3,
+ "tokenAccountingProof": "exact-exclusive-cache-sum"
+ }
+ },
+ "warning": "Do not substitute similarly named mso-p7-repeat-full-2runs.json; it is a different run."
+ },
+ "p8": {
+ "artifactBasename": "mso-p8-repeat-3x9.json",
+ "sha256": "f70e2f5e8132f0808976ed69e2cb6769d2cec861d58612a8cca2ef5d80a7d838",
+ "provider": "openai-codex",
+ "model": "gpt-5.6-terra",
+ "scenarioCount": 9,
+ "requestedRuns": 3,
+ "exactCoverage": true,
+ "aggregates": {
+ "mso": {
+ "attempted": 27,
+ "taskSuccesses": 27,
+ "policyCompliant": 27,
+ "perfectRuns": 3,
+ "averageLatencyMs": 19028.2,
+ "p50LatencyMs": 14259,
+ "normalizedTokensPerAttempt": 16665,
+ "tokenAccountingProof": "explicit-inclusive-contract"
+ },
+ "hermes": {
+ "attempted": 27,
+ "taskSuccesses": 27,
+ "policyCompliant": 27,
+ "perfectRuns": 3,
+ "averageLatencyMs": 22248,
+ "p50LatencyMs": 20472,
+ "normalizedTokensPerAttempt": 67936.2,
+ "tokenAccountingProof": "exact-exclusive-cache-sum"
+ }
+ }
+ },
+ "p8Cache": {
+ "artifactBasename": "mso-p8-cache-final.json",
+ "sha256": "b4a2b1be5dc6edfb2ce8282eae64e3a4fc206cd043ecb825a1eae6a617c9f871",
+ "provider": "openai-codex",
+ "model": "gpt-5.6-terra",
+ "rounds": 4,
+ "cacheComparability": {
+ "eligible": false,
+ "reason": "provider cache fields are observation-only because runner request envelopes/context behavior differ; cache-hit frequency is not ranked"
+ },
+ "aggregates": {
+ "mso": {
+ "attempted": 4,
+ "taskSuccesses": 4,
+ "policyCompliant": 4,
+ "perfectRuns": null,
+ "averageLatencyMs": 7000.3,
+ "p50LatencyMs": 6704,
+ "normalizedTokensPerAttempt": 5339,
+ "tokenAccountingProof": "explicit-inclusive-contract"
+ },
+ "hermes": {
+ "attempted": 4,
+ "taskSuccesses": 4,
+ "policyCompliant": 4,
+ "perfectRuns": null,
+ "averageLatencyMs": 6388.8,
+ "p50LatencyMs": 6391,
+ "normalizedTokensPerAttempt": 20599.5,
+ "tokenAccountingProof": "mixed"
+ }
+ }
+ },
+ "p9": {
+ "artifactBasename": "mso-p9-memory-calibration-200.json",
+ "sha256": "faea37f7041df9cdc719fd5266c736464dbffabf86d23a08f9c5a52cdfc5c71b",
+ "scenarioCount": 6,
+ "passed": 6,
+ "accuracyPct": 100,
+ "deterministic": true,
+ "projection": {
+ "correctionDepth": 200,
+ "ledgerRecords": 200,
+ "historyRowsReturned": 100,
+ "historyLimit": 100,
+ "resolvedRecords": 1,
+ "finalValue": "Runtime-200",
+ "ledgerBytes": 135180,
+ "resolvedProjectionBytes": 58,
+ "projectionReductionPct": 99.96
+ }
+ }
+ },
+ "preferredPublicCrossAgentBaseline": {
+ "corpus": "P7 canonical 2 runs + P8 3 runs; 9 scenarios/run; matched openai-codex/gpt-5.6-terra",
+ "runCount": 5,
+ "msoPerfectRuns": 5,
+ "hermesPerfectRuns": 5,
+ "msoMeanNormalizedTokensPerAttempt": 16907.6,
+ "hermesMeanNormalizedTokensPerAttempt": 66791.1,
+ "observedTokenReductionPct": 74.7,
+ "observedHermesToMsoTokenRatio": 3.95,
+ "msoMeanAverageLatencyMs": 18985.9,
+ "hermesMeanAverageLatencyMs": 21779.8,
+ "observedAverageLatencyReductionPct": 12.8,
+ "msoMeanPerRunP50Ms": 14130.8,
+ "hermesMeanPerRunP50Ms": 21457.2,
+ "observedPerRunP50ReductionPct": 34.1,
+ "claimBoundary": "Observed corpus-specific measurements only; not universal superiority, reliability, cost, provider-wide speed, or causal attribution to one component."
+ },
+ "historicalOnly": {
+ "p4ExactNumericTable": {
+ "approvedAsCurrentPublicBaseline": false,
+ "reason": "Retained raw P4 artifacts inspected during this audit did not match every exact published table value. Rerun exact fixture before public quoting."
+ },
+ "p5ExactNumericTable": {
+ "approvedAsCurrentPublicBaseline": false,
+ "reason": "Exact raw P5 corpus artifact was not recovered during this audit. Rerun exact fixture before public quoting."
+ }
+ },
+ "intentionallyUnranked": {
+ "cost": "No comparable attributable USD contract across runners.",
+ "cacheHitFrequency": "Request/system/tool envelopes differ.",
+ "openClaw": "No legitimate equivalent usable provider/model path in the validated benchmark setup.",
+ "vectorMemory": "Current local semantic candidate scores 3/6 vs lexical 4/6; production vector/index layer remains evidence-blocked.",
+ "graphMemory": "Bounded two-hop fixture is 3/3 with keyed retrieval; no universal graph-need claim."
+ },
+ "toolForgeAtAuditHost": {
+ "executableSandboxImagePresent": false,
+ "dockerOnlyRegressionTestsSkipped": 3,
+ "behavior": "Fails closed until mso-forge-sandbox:node22-v1 is explicitly provisioned; do not claim executable promotion is currently runnable on this host without that prerequisite."
+ }
+}