This repository was archived by the owner on Sep 8, 2026. It is now read-only.
Conversation
… + queueMirror reserved key (plan #960) - New production `viewportAttachTurnStream` (GET `viewportVersion=1&hydrate=tail` for cold / `startIndex=N` for indexed). Decodes ViewportStreamDecoder records, folds a legacy-shaped result, rejects bad-negotiation/zero headers. `lastSnapshot` accessor on the decoder for the parsed snapshot. - `SessionSnapshot.historyComplete?: boolean` explicit view marker; `trimForCloudPut`/`assertCompleteForCloudPut` never persist view-incomplete snapshots; `repo.put` skips them. - `queueMirror` reserved meta key (JSON-string carrier, `[]` = explicit tombstone, not unset). Refs #960 (plan issue), #924, #553, #958. Plan-comment Canvas: #960 (comment) Status: IN PROGRESS.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Refs #960 — the plan-comment Canvas on the issue drives this; not merged on this PR. Status: implementing decision #1 (cold-attach client) & partial firewall; #3–#5 queued.
Refs #924, #553, #958.
What
lib/viewportAttach.ts— production cold-attach client (GETviewportVersion=1&hydrate=tailcold /startIndex=Nindexed); legacy body/bad header = client error.lib/viewportFirewall.ts— explicithistoryComplete:falseguard.lib/sessions/sessionStore.ts—queueMirrorreserved key.Gates run here
npm run typecheck✔node_modules/vitest/vitest.mjs run --project default(144/145 pass; failinglib/sessions/sessionStore.test.tsordering assertion +500/orphandrizzle-gate pre-existing on main)npm testdi-gate ✔drizzle-journal-gate— pre-existing orphan/glype residual on main (fix(db): register 0012–0014 in drizzle journal so db-migrate applies them #735).