blog: data primitive for the agent loop post outline.#4055
Merged
Conversation
✅ Deploy Preview for electric-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
9e2ee5b to
7972c02
Compare
7972c02 to
2113586
Compare
Drop the About link at 768-1360px and shift each link-padding, social-icon and DocSearch-placeholder compression bucket up one step on pages with a sidebar, so the nav fits without knocking the CTA off. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keeps the menu from knocking the CTA off the right of the screen in that range on home/non-sidebar layouts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On sidebar pages the nav is tighter, so drop the durable-streams, tanstack and pglite icons in that range to leave room for X, Discord and GitHub alongside the menu and CTA. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Drop the JS-based pipe geometry, ResizeObserver, and log translate dance in favour of a CSS container-query layout. Positions for the pipe and log are now expressed in cqw units derived directly from the spawn path's viewBox coordinates, so the pipe stays flush to the spawn slice and the log's first entry bar without runtime measurement. Also wraps the animation in a Card for visual framing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use an IntersectionObserver to drive start/stop so the animation only runs while it's on screen. The composable now uses a supervisor loop that reconciles a wantRun intent flag — scrolling out then back in picks up the new intent after the prior cycle unwinds and kicks off a fresh cycle, so the animation reliably restarts each time it returns to view. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
samwillis
approved these changes
Apr 8, 2026
Contributor
samwillis
left a comment
There was a problem hiding this comment.
This is great. One small thing on offsets, and a note that forking isn't out yet.
Neither a blocker though
| Durable Streams are: | ||
|
|
||
| - **persistent** so agent sessions are durable and survive disconnects and restarts | ||
| - **addressable** so people, agents and systems can find them (every stream has a URL, every position an opaque monotonic offset) |
Contributor
There was a problem hiding this comment.
offsets are not monotonic at the moment, they are opaque.
| - **addressable** so people, agents and systems can find them (every stream has a URL, every position an opaque monotonic offset) | ||
| - **reactive** so humans and agents can collaborate on the same session in real time | ||
| - **replayable** so you can join, audit or restart from any point | ||
| - **forkable** so users and agents can branch sessions to explore alternatives |
Contributor
There was a problem hiding this comment.
forking is planed to land tomorrow
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.
Blog post focusing on the new "data primitive for the agent loop" framing of Durable Streams:
https://deploy-preview-4055--electric-next.netlify.app/blog/2026/04/08/data-primitive-agent-loop