Skip to content

feat(daemon): content-protocol blocks.apply and write paths - #7817

Open
tlgimenes wants to merge 2 commits into
split/16a-daemon-rpc-readsfrom
split/16-daemon-content-rpc
Open

tlgimenes wants to merge 2 commits into
split/16a-daemon-rpc-readsfrom
split/16-daemon-content-rpc

Conversation

@tlgimenes

@tlgimenes tlgimenes commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Part of the v8 Studio stack, split from #7728, #7770 and #7766 (closed). Base: #7796. The top of the stack, #7843, has the same code as those three PRs combined.

The content-protocol write path on top of #7847's router and read methods: blocks.apply (normalize, static and schema validation, ifMatch, the commit plan and the retry/backoff loop), its parameter validation, and the OnCommit/OnAsset hooks on the handler.

What to look at

blocks.apply ifMatch and retry in methods.go; the set/delete/ifMatch parameter rules in params.go. The router, envelope/batch handling, body limits and the read methods were reviewed in #7847 and are unchanged here.

Stack (Go daemon track 6/9, plan step 16): previous #7847 · next #7818

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

…, blocks.apply)

The content-protocol JSON-RPC handler: envelope and batch handling, the four methods, blocks.apply ifMatch and retry, and request body limits. Also adds secrets_test.go (the secret guard from the previous PR plus describe's servablePublicKey).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

# Conflicts:
#	packages/sandbox/daemon-go/internal/content/handler.go
#	packages/sandbox/daemon-go/internal/content/methods.go
#	packages/sandbox/daemon-go/internal/content/params.go
#	packages/sandbox/daemon-go/internal/content/params_test.go
#	packages/sandbox/daemon-go/internal/content/rpc.go
@tlgimenes tlgimenes changed the title feat(daemon): content-protocol RPC (describe, schema.get, blocks.list, blocks.apply) feat(daemon): content-protocol blocks.apply and write paths Oct 8, 2026
@tlgimenes
tlgimenes changed the base branch from split/15-daemon-secrets to split/16a-daemon-rpc-reads October 8, 2026 22:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude PR authored by a coding agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant