Repository navigation
feat(cli): simlock rotate and MCP rotate_device - #1123
Merged
Merged
Conversation
…the helper that orientation (callstackincubator#1107)
…tation, and is refused (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ckincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r and gets ROTATION_UNSUPPORTED naming it (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…blet simulator (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s and gets INPUT_UNAVAILABLE with the reason (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… when the helper or the write fails (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…esh helper; a socket open during a rotate keeps its helper (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s sockets and device.rotate (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…gets the op's output (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rotate (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ugh a gateway (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eway (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…wn message (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he unknown message (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ller's lease id (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… <id> to <orientation> (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…on (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…us leases, and exits 12 for ROTATION_UNSUPPORTED (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ase rotates (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…fusal as tool errors (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…llstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…otating (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ate_device (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…stackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nd the manuals name rotate (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
4 tasks done
… test asserts the canonical names (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
leonardoxr
marked this pull request as ready for review
October 31, 2026 05:06
Merged
3 tasks done
…rove rotate's cases (callstackincubator#1107) The coordinator rewrote the worker's lease id only for two codes and with a substring replace; it now maps every coded error's details.leaseId and replaces the id only as a whole token. The rotate e2e test sends all four orientation names, covers a rejected open and a failed shared input, and no longer waits on the daemon's real host-load probe on Linux; the registry's lease-end close and failure drop get a unit test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ls, and reword the orientation claims (callstackincubator#1107) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
Review ledgerRound 1: 7603ff6 {"findings":[{"id":"R1","role":"code","class":"testing 3","outcome":"fixed","path":"src/cli/commands/rotate.ts","round":"1","fix":"33b7b5313766f3deec391a15685f04aed5699fc4"},{"id":"R2","role":"code","class":"testing 3","outcome":"fixed","path":"src/cli/commands/rotate.ts","round":"1","fix":"33b7b5313766f3deec391a15685f04aed5699fc4"},{"id":"R3","role":"code","class":"testing 3","outcome":"fixed","path":"src/mcp/contracts.ts","round":"1","fix":"33b7b5313766f3deec391a15685f04aed5699fc4"},{"id":"R4","role":"code","class":"testing 3","outcome":"nonblocking","path":"src/mcp/session.ts","round":"1"},{"id":"R5","role":"code","class":"testing 3","outcome":"incorrect","path":"src/instructions/index.ts","round":"1"}]}Written by an agent. |
…ut bound (callstackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tackincubator#1108) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
V3RON
added a commit
that referenced
this pull request
Oct 31, 2026
….rotate uses it (#1106) Refs #1105 ADR 0053: the daemon owns each lease's device input, so `device.rotate` works with the input module off. Implemented by #1122, #1123 and #1124 (all merged); this PR flips its status to Accepted. ## Review Spec review: skipped. Code review: skipped. Claims review: skipped. Assessment: complete The maintainer approved the ADR in the #1105 spec session; docs-only ADR PRs get no code review. *Written by an agent.* --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Szymon Chmal <szymon@chmal.it>
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.
Closes #1108
Status
Stacked on #1122; its diff includes #1122's commits until #1122 merges. CodeRabbit is not reviewing this repository at the moment (no activity on any PR since 2026-10-30 20:25 UTC), so this PR had the blind spec/code/claims review only.
server.test.ts's schema-key table (F11) holdingrotate_device. (src/cli/index.test.ts"simlock rotate",src/mcp/server.test.ts"MCP rotate_device" and the smoke test's tool table)simlock rotate --help, the root usage and the CLI reference agree;simlock instructionsand connect-your-agent listrotate_device. (src/cli/commands/rotate.ts,src/cli/index.ts,cli.mdx,src/instructions/index.ts,connect-your-agent.mdx)Assumptions
none
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 3 blocking, 3 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Round 2: Spec review: 1 blocking, 1 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 1 note. Claims review: 0 blocking, 0 fixed, 0 notes.
simlock rotaterow in the CLI reference's command table — aea4fb3simlock rotatethrough a gateway (--gateway) case added to the rotate CLI test — fbfc5a7src/instructions/index.ts, documentation 8 — not fixed (non-blocking)Rounds: 2. Tokens: n/a.
Assessment: complete
Written by an agent.