Repository navigation
Conversation
… schema.get, blocks.list) The content-protocol JSON-RPC handler skeleton: envelope and batch handling, request body limits, and the three read methods with their parameter validation. Also adds secrets_test.go (the secret guard from the previous PR plus describe's servablePublicKey). blocks.apply and the write paths follow in the next PR. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
This was referenced Oct 8, 2026
This branch has not been deployed
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 content-protocol JSON-RPC router and its read side: envelope and batch handling, request body limits, and the three read methods
describe,schema.getandblocks.listwith their parameter validation. Also addssecrets_test.go(the previous PR's secret guard plus describe'sservablePublicKey).blocks.applyand the write paths come in the next PR.What to look at
Envelope/batch handling and body limits in
rpc.go/handler.go;ifNoneMatchshort-circuits inschema.get/blocks.list; describe never broadcasts anything but a single PUBLIC KEY PEM block. An unknown method (includingblocks.applyhere) answers method-not-found.Verified:
go vet ./... && go test -race ./...inpackages/sandbox/daemon-gopass on this branch.Stack (Go daemon track 5/9, plan step 16a): previous #7815 · next #7817
🤖 Generated with Claude Code
https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
Summary by cubic
Adds the content-protocol JSON-RPC router and its read side to the Go daemon: envelope and batch handling, request body limits, and the three read methods
describe,schema.get, andblocks.listwith parameter validation.blocks.applyand the write paths land in the next PR.ifNoneMatchshort-circuitsschema.getandblocks.listwith a not-modified response.blocks.applyhere, answer method-not-found.secrets_test.gocovering the secret guard and describe'sservablePublicKey.Written for commit 807184c. Summary will update on new commits.