Repository navigation
feat(lynx): define typed slot-delta protocol (issue-66 A1) - #67
Merged
Merged
Conversation
Add the versioned flat RUN/SET/REMOVE/MOVE/BRANCH encoding with self-delimiting operation frames, instance/range removal addresses, header-only validation, opaque slot values, malformed-input coverage, and the living-spec status entry. Agent-Authored-By: TraeCode <[email protected]> Trae-Session: 01a015c8-dc52-71b3-b929-2b5d818926bf
This was referenced Aug 18, 2026
Huxpro
changed the base branch from
claude/octane-issue-58-l3-direct-first-screen
to
new-lynx
August 19, 2026 18:27
Huxpro
marked this pull request as ready for review
August 19, 2026 18:27
This was referenced Aug 19, 2026
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.
Summary
Stacked on #65; Phase A1 of #66. This adds the standalone typed delta protocol that the specialized Lynx background driver and main-thread applier will consume in later slices:
RUN,SET,REMOVE,MOVE, andBRANCHThe protocol is deliberately not wired into the runtime in this slice, keeping the operational risk and behavior delta at zero.
Differential evidence / measurement
delta-protocol.jsdid not exist.MOVE.beforedecoding to require an integer failed the round-trip test; restoring it returned the suite to green.node benchmarks/lynx-table/run.mjs 2, feat(lynx): direct-emission first screen with unchanged adoption capture (issue-58 L3) #65 baseline then candidate: identical at both 1k and 10k across create, update10th, select, swap, update storm, and select storm. At 10k both reported create=1, update10th=1000, select=2/225B, swap=2/368B, updateStorm=50 commits/50000 commands, selectStorm=30/60. Runtime wall-clock is not measured because A1 has no runtime consumer.Validation
pnpm syncpnpm format:files:check packages/lynx/src/core/delta-protocol.ts packages/lynx/tests/delta-protocol.test.ts docs/lynx-specialized-target-l0.md .changeset/lynx-delta-protocol.mdpnpm typecheck:files packages/lynx/src/core/delta-protocol.ts packages/lynx/tests/delta-protocol.test.ts./node_modules/.bin/vitest run --project lynx --reporter=dot— 27 files / 359 testspnpm typecheck/ package-wide legacytsc: inherited feat(lynx): direct-emission first screen with unchanged adoption capture (issue-58 L3) #65 error atpackages/lynx/src/main-thread.ts:2246where the conditional acknowledgement object widensadoptiontostring; touched files pass scoped tsgo.pnpm test(full repository; Lynx owning project is green)Risk / follow-ups
Provenance
agent-authored)