Repository navigation
desk DC7: the machine's controls — session plane, policy, requests, RPCs, Resume (7.157.0) - #196
Merged
Merged
Conversation
# Conflicts: # tests/sminos/run-sminos-tests.sh
…dering, machine policy default, stand-in)
…s, and DX4 subscriptions joining the transcript with the bridge's stream in one order (DX5's agreed cut and notices), served on the uplink's stream
…d8): notices trail the flush, a row past the cut is released by its own notice, a later row's, or 2 s; bridge probes leave the uplink's thread; a pid seen dead is checked anew
…ocal hub too (DESK_HUB names its stand-in for Access): enrolled through its code, subscribed as a browser over DX3
… end, from DX5's step end or the turn's end cutting it off, relayed after its block-rows, by scope
…o a pid reused between two polls, alive at both, is found out within that bound
…tep end) queued for M1's real-child wave
…ing) governs delivery at deliver_next; requests and settlements reach the hub as DX4 raised/settled with codes, the complete pending set on every connect; delivery outcomes of outside-origin events as DX4 delivery
…d terminal session reported recorded once and kept owed, delivered after it is back; uncertain outcome; raised carries agentId and truncated); the pending set waits for the bridges' snapshots; every unseen settlement relayed once, kept across restarts and never dropped by the outbox cap; an outcome not written leaves the event owed
…der the session's delivery lock, so it never lands after a delivered; a raise the outbox cap drops owes the complete set on the open stream
…ness) for M1's real-child wave
…s seeded cut), a 503 is retried within the reconnect window; the scripted endpoint matches the real child, and every engine case runs against sminos bridge too; M2's request tests post under the hello's nonce and send the mod's first resync
…ional spawn seat waits; model changes serialized per session; by is the member; every compaction relayed; a bridgeless steer to an idle session is idle
…t answered, never on a stale kept file; unknown after a lost answer
…e under the session lock; no daemon cache
…nowhere here, a copy stopped and failed copy-started; the daemon sweeps the bridge's files of ended sessions; the scripted endpoint applies a resync's streaming
…bad-shape before the claim (composite dd908dfa); Resume's live check against the engine
…signature unchanged (the tests that stand in for it)
… dialog belongs to (composite 43a27604); the dialog's own tool call and result are not posted; the daemon carries it into DX4 raised
…s own launch only, and is done only once its job's process holds the session; the sweep keeps a freshly kept file; an ambiguous ask pairing names no call; the bridge-requests load flake in TECH-DEBT
…r the launch's evidence and checks its attribution; test_rpcs runs its call path against the stand-in
….0 via bump-version.sh
…ed terminal session from outside is settled refused-read-only under its delivery lock, never delivered once the session is back
… machine's membership within a week as not running, so one that ended while the stream was down is not left present at the hub
…ntil the compaction ends, so one run after a restart still carries the nonce; an HTTP read failure at the bridge calls, and any breakage while planning, is a reported refusal, never an RPC left unanswered
…the last connect the hub took (a mark kept under daemon/, moved only once the POST carrying that presence is answered 200; none kept says every one), replacing the week's window
…epaired ledger, a claim write's non-OSError, the uplink tick-loop candidate flake)
…he watcher may settle first under load); TECH-DEBT corrected
This was referenced Oct 16, 2026
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 desk's child DC7, "the machine's controls", is the daemon side of the session plane and the RPCs. The plan is
docs/doperpowers/plans/2026-10-15-desk-dc7-controls.md. The composite spec is MAWSdocs/doperpowers/specs/2026-10-15-desk-design.mdon branchsmns-erb, and its writer ruled on every contract question; the rulings are in the plan's Decision Log. Version 7.157.0, over main's 7.156.1.What it adds
sminos_plane.pycarries presence and DX4 subscriptions.rows,diffandstep-end, and ends on a discontinuity.sminos_policy.pyand thesminos daemon policyverb hold the policy: read-only and the permission ceiling.deliver_next, the one point every delivery goes through.sminos_requests.pyandsminos_outcomes.pycarry pending requests, settlements and delivery outcomes.raisedandsettledcarry codes, and the complete pending set is republished on every connect.delivered,recorded,refused-read-only,uncertainorfailed.sminos_rpc.pycarries the RPCs of composite §5.sminos.raised.toolUseIdfor the ask mod's dialog, and who-won fields on the bridge's 409 refusals.docs/doperpowers/TECH-DEBT.mdrecords the residue.Validation Evidence
tests/sminos/run-sminos-tests.shatda98a3ff2 of 1742 assertions FAILED. The first is "the say lands within two seconds", the git-mirror timing flake in TECH-DEBT.md; it also fails on main. The second is "the terminal won, as a field", a race in DC7's own assertion, fixed ind7bac20e:tests/sminos/test-bridge-requests.shthen printedall 75 bridge request assertions passed.tests/mods/run-mods-tests.sh298 pass,0 fail,ask search: all checks passedpython3 tests/sminos/test_session_plane.py,test_policy_requests.py,test_rpcs.pyda98a3ff)DESK_HUB=http://127.0.0.1:<port>with the Uplink classes, hub at MAWS349f2512a190a6d8,test_rpcs.py30/30 at01ba7519python3 tests/mods/live-resume-check.py(claude 2.1.301, temporary HOME)doperpowers:reviewer-highoveref55e89e..6ee5293c3e89aa1e,5dfa5150,da98a3ff) and its re-review verdict is "correct".These Resume behaviours are proven only against a stand-in for
claude, not live: two Resumes at once, delivery after Resume, claim reconciliation, and the seat cases.Unresolved Review Findings
These are left open on purpose; each is logged in
docs/doperpowers/TECH-DEBT.md.sminos_rpc.py). A compaction already queued is then relayed withrpc: null. Left because it only affects display and needs a ledger unreadable at start.OSErrorfrom the claim write would leave that RPC unanswered (Rpcs.run()). Left because nothing can raise it today: the claim holds only strings and numbers.modelverb cannot close it (plan Decision Log).Residue
sminossuites' fixed-sleep timing assertions. Under load above about 150 they fail intermittently: the git-mirror 2 s bound, the bridge window cases, the uplink tick loop. TECH-DEBT.md proposes event-driven waits, which is worth its own ticket once the CI-opt move to GitHub-hosted runners lands.