Repository navigation
desk-hub: MW1's reads and capabilities.controls — types, the fake machine's mw1 producer, the spec as built - #153
Merged
Merged
Conversation
…tate, branches, versions, reviews Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
…hine's mw1 producer The hub half of the machine-side wave's MW1 (the desk control surface spec): the protocol's types for the four new reads (UsageRead, ConfigRead, SettingsRead, McpRead) and for capabilities.controls (the lane map's 20 control keys), and the fake machine's `mw1` producer, which carries controls in each bridged session's presence and answers `read usage` (full when asked), `config`, `settings` and `mcp` from the MW1 live check's recording (fake-machine/dx4/mw1-reads.json). The hub relays a presence's capabilities and a read's body unread, so nothing it admits changes; the session-plane test now carries controls through. Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
… check's discoveries Interfaces: DX5's read results as MW1 built them (a dated line), DX4's Capabilities with controls. Surprises: rate limits absent off a subscription, the full breakdown's token-count cost, MCP names in tool spelling, the project key of .claude.json, the engine's text config rows, the harness's marketplace clone. Decision Log: MW1 as built. The MW1 Progress tick is left to the orchestrator. Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The spec's Decision Log took both sides: master's MW5 review entry, then this branch's pre-flight and MW1-as-built entries. Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
…e and project key The MW1 review's two fixes, folded into the as-built text: the plane reads the legacy .config.json while it is nonempty, and keys a linked worktree by its primary checkout, as 2.1.310 does (Interfaces' dated MW1 paragraph, the Surprises observation with the w1 and l1 live runs, the Decision Log's MW1 entry). Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…and B4 step 3 take DL 86's two checks Follows P5 Decision Log 86, which is on this branch through the merge with master. - M5b's Touches and Decisions name the staging check's retirement. O13 M7's phone run supersedes it. - sminos's opt-in DX2 tests are deferred to after B4 (board #153). - B1 step 7 watches the first production `json_extract`. - B4 step 3 checks `node` on the VM's PATH before the merge. - One dated Decision Log entry records the retirement. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hub half of MW1 ("reads") in the desk control surface spec's machine-side wave, plus the spec's record of how MW1 was built.
What it builds
apps/desk-hub/src/protocol/session.ts, the one place each shape is written):Capabilities.controls?asControlCapabilities, keyed byCONTROL_KEYS, the lane map's 20 control names. A missing key means unavailable.UsageRead,ConfigRead(withConfigRow),SettingsRead(withPermissionRule) andMcpRead(withMcpServerStatus). Each is path-neutral: lane B's optional fields are named, and lane A leaves them out.capabilitiesis relayed and kept whole, unread, socontrolspasses through as it is. The session-plane test now carriescontrolsto prove it.mw1producer:capabilities.controls, and the machine'sdesk.sminosis 1.11.0.read usage(the full count when{breakdown: 'full'}is asked),config,settingsandmcp. A bad breakdown is answeredfailed, and an agent's subscriptionunsupported.fake-machine/dx4/mw1-reads.json, whose sha256 the README pins and a test checks.Capabilitieswithcontrols.Validation Evidence
scripts/ci-gate.sh /tmp/maws-desk-mw1 --gates static,uniton4dca95608:ci-gate: run 40279718715 success(plan, static, unit 1/4–4/4 success): https://github.com/SSFSKIM/MAWS/actions/runs/40279718715npx vitest run test/fake-machine/desk-mw1.test.ts test/fake-machine/desk-m0.test.ts test/session-plane.test.ts: 3 files passed, 70 tests passed. After the recording-hash test was added,desk-mw1.test.tsalone showed 5 passed.desk-mw1.test.ts, run against the previous fake machine: 3 failed, e.g.expected undefined to be '1.11.0'andno six answers within 10000 ms. The M1 control test passed, as it should.tsc --noEmitovertsconfig.json,tsconfig.protocol.jsonandtsconfig.test.jsonexits 0.eslinton the changed files is clean.Machine half: SSFSKIM/doperpowers#395
Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers on macbook)