Skip to content

docs: describe the shipped /pool wire format (coords + axisIds) - #128

Merged
schmug merged 1 commit into
mainfrom
claude/project-thread-nhqkze-33
Oct 11, 2026
Merged

schmug merged 1 commit into
mainfrom
claude/project-thread-nhqkze-33

Conversation

@schmug

@schmug schmug commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Requested by Schmug · project thread

Before: docs/latent-space-navigation-design.md said /pool sends {text, tier, x, y, z} and that each axis carries assignedTo: 'x'|'y'|'z'. The code sends coords: number[] plus axisIds, so a reader comparing the two would suspect a bug.

After: the wire-format section shows the shipped shape (Served from src/types.ts, plus axisIds and depths from drawPool). It explains why coords replaced {x, y, z} (#28), that coords is indexed by the ready axes only, and why axisIds must travel with every draw. The axis sketch drops assignedTo, and the "no embeddings on the wire" reasoning (~245 KB per bucket) is kept.

How: docs only, checked against src/types.ts, src/pool-core.ts (readyAxisIds), src/session-do.ts / src/index.ts (drawPool), and public/pool-client.js (sameAxisIds).

Gates: npm run typecheck passes; npm test 888 passed, 0 failed.

Closes #33

🤖 Generated with Claude Code

https://claude.ai/code/session_01CintFzrnV1q4mp8eD31tTV


Generated by Claude Code

The latent-space design doc still said /pool sends {text, tier, x, y, z}
and that axes carry assignedTo: 'x'|'y'|'z'. Workstream C shipped a
variable-length coords array indexed by the ready axes, plus axisIds to
bind them. Record what shipped and why, keep the no-embeddings-on-the-wire
argument.

Closes #33

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CintFzrnV1q4mp8eD31tTV
@schmug schmug self-assigned this Oct 11, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dewpt c6a6249 Oct 11 2026, 06:30 PM

@schmug
schmug merged commit e8d7e60 into main Oct 11, 2026
5 checks passed
@schmug
schmug deleted the claude/project-thread-nhqkze-33 branch October 11, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the wire format described in the latent-space design doc

2 participants