Repository navigation
Conversation
…nt's device, and devices lists only its own (#475)
…ent's device, and devices lists only its own (#475) 2 failing -> 1 failing. Adds route and RPC method lists, the request rules, the devices filter, and the platform list on the host status. The streamed progress test installs an upload now, since an install without one is refused by rule 8. The diagnostics route test still fails: the proxy answers 401 for a session not named <tenant>:<session>.
…ck and a malformed batch (#475) 1 failing -> 1 failing. HTTP-API.md lists the new messages and the devices filter; COMPONENTS.md names the new front and wire parts. The remaining failure is the diagnostics route test, which sends session s1 where the proxy needs <tenant>:<session>.
…o keep complexity down (#475) 1 failing -> 1 failing.
…ity down (#475) 1 failing -> 1 failing.
Contributor
Author
Decision takenQuestion: the spec's test sends Options:
Taken: 1. It matches what agent-device does today, adds no code, and is the easiest to undo. Reverting: add the prefix mapping in the front's diagnostics route, and change the test back to Written by an agent. |
This was referenced Oct 13, 2026
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
V3RON
marked this pull request as ready for review
October 13, 2026 11:12
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 #475
Status
Implement: done (314/314 unit) Review: passed (round 2 + 2 fix checks; 1 test fix unreviewed) Hardware: n/a Gate: waiting for the stack
Next: merge with the #466 stack
Done when
pnpm exec vitest run --project unit src/agent-device/edge.test.ts. Checked: thesrc/agent-deviceunit run is green.FakeAgentDevice's received requests. Checked: the audit broke each rule once, and each break failed its own test.testwith no--devicereachesFakeAgentDevicewith the token's leased devices of its platform as itsdevice. Checked: the rule 10 tests.Assumptions
tok_one:s1(decided in delivery, pending the maintainer; see the Decision taken comment).AgentDeviceHosttakes the leased platforms as aplatformsconstructor argument. It is the smallest way to let the front pick a shardedtest's devices by platform without a new lookup.Review
Spec review: 2 blocking, 2 fixed, 1 notes. Code review: 10 blocking, 10 fixed, 3 notes. Claims review: 1 blocking, 1 fixed, 0 notes.
Rounds: 2. Tokens: 8.6M.
Fixed unreviewed: a test for an empty device key (
edge.test.ts).Rejected:
allocate.ts:325the "absent target reads as mobile" rule is decided twice — not blocking: both places give the same answer today, and no rule is brokenWritten by an agent.