GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(id): design plan, research, and n0 relay default by dezren39 · Pull Request #152 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Design plan for the identity/P2P system: index of decisions and open questions, explainers, BeeKEM assessment, and the eight-phase plan with parallel tracks, blockers, and tests.
  • Round 2 research (eleven agents): ed25519, Turso against redb, crash testing, toolchain, range sync configuration, scheme versions, iroh authorize-before-connect, signed tickets, welcome sizes, store traits, Cloudflare relay options. Copies in doc/…/research-round2/.
  • Connectivity: n0 relay by default, shared endpoint policy and dial deadlines (earlier commits on this branch).
  • Tuple encoding fix: strings and bytes end with 00 00 (commit 00dccae), with regression tests.
  • Spikes S1 to S12, C1 re-run, C2 holepunch in namespaces, BeeKEM spike: code and results under doc/…/spikes/.

Notes

  • doc/ is the folder docs/ points at (symlink), so all docs are in the docs folder.
  • No product behaviour changes in this PR except the tuple encoding fix and the n0 default.
  • Merged with a merge commit, as requested. Phase 0 follows in its own PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 8 commits October 11, 2026 07:16
@dezren39
fix(id): end tuple bytes and strings with 0x00 0x00
00dccae
A single 0x00 terminator is a prefix of the escaped NUL (0x00 0xFF), so a full-field prefix such as "a" matched the longer value "a\0b". Bytes and strings now end with 0x00 0x00, which escaped data never contains. The decoder rejects a lone 0x00 and any escape other than 0xFF.

Each terminated field grows by one byte. Keys written in the old format no longer decode; the data can be discarded.
@dezren39
docs(id): record design answers, remaining-work index, task 12, resea…
b0b2302
…rch notes and C1 re-run

Index with the owner's answers, the 19 original decisions with preferred answers and alternatives, and the new open questions N1-N19. Task 12 covers the toolchain and dependency update. Task notes gain dated updates for tuple fix, storage, observe and sync, rotations and warnings, invites, connectivity, and upstream decisions. Research notes are copied under research/ with a README. The C1 t2 and t4 re-run is copied into spikes/c1-rerun.
@dezren39
docs(id): record spike results S7-S12 and BeeKEM, with their code
b45e50d
S7 range sync on real redb stores works and matches S1; keep K=16, T=16. S8 observed-remove tags hold; the clock must cover the causal past, and compaction needs a snapshot. S9 Seitan V2 derivations match Keybase vectors; a ticket cannot carry the token. S10 cap 32 needs the merge rule and the author's own latest event named every time. S11 restart and reconnect measured; systemd KillSignal and metrics exposure need fixing. S12 welcome is 146.6 B per epoch stock and 40.0 B with serde_bytes, which needs a new scheme version. BeeKEM is not adoptable now. The C1 t2 and t4 re-run passes. Spike folders exclude build output and vendored crate sources; S12 variants are stored as patches.
@dezren39
docs(id): record C2 holepunching results and the QAD and address-priv…
dadfe5f
…acy questions

C2 in network namespaces: full cone and port-restricted NATs holepunch (3 of 3 each). Symmetric against symmetric falls back to the relay. QAD provides the public candidate, so a QAD relay must be in the map. Connected peers learn addresses even when tickets hold none. Adds N29 to N32 to the index and updates tasks 08 and the main design doc. The spike folder is in spikes/c2-holepunch, without build output.
@dezren39
docs(id): preferred answers for open items; relay unit fails closed a…
17413fc
…nd stops with SIGINT; spike index

Task 10 gains a preferred answer and alternatives for each item. The relay systemd unit uses KillSignal=SIGINT, because the relay ignores SIGTERM and is hard-killed by it (S11). It also refuses to start without its config, since the relay otherwise starts silently on [::]:80. The spikes README lists the round's results, and the shared brief is copied into spikes/.
@dezren39
docs(id): add open questions for tag compaction and re-add churn warn…
cb40827
…ings

N33 covers snapshots for compaction of observed-remove tags (S8). N34 covers warnings on re-add churn, since cumulative welcome traffic is quadratic (S12).
@dezren39
Merge branch 'main' into feat/id-n0-relay-default
d702af0
@dezren39
docs(id): design plan, round 2 research, decisions, and phased plan
66babb8
Index with every decision and its status; explainers for ChainExt, waiting caps, storms and merges, epochs and history, range versus LogSync, scheme versions, tickets, ed25519, storage, and relays; BeeKEM assessment; the phased plan with tracks, blockers, and tests; round 2 research results and copies. Task docs gain dated updates.
@dezren39
dezren39 requested a review from a team as a code owner October 11, 2026 19:03
@dezren39
dezren39 merged commit bb01622 into main Oct 11, 2026
0 of 2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the feat/id-n0-relay-default branch October 11, 2026 19:03
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Oct 28, 2026
id phase-3: P3.7 real-network holepunch and n0 QAD results — phone leg via #1831 + labelled VM emulation #795
Open
mcpx docs: markdown emitters in the binary and a drift check for every generated page #1846
Closed
mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848
Closed
mcpx docs: plugin pages -- plugins, compatibility, interface and config, opencode v1 and v2, vibeMcp #1855
Closed
mcpx docs: release-version markers and a hierarchical, collapsible section history #1863
Closed
mcpx docs: implement the history renderer and release stamping #1865
Closed
mcpx docs: comparisons (lootbox, opencode code mode, Cloudflare Code Mode, ...) and the project's history #1869
Closed
mcpx docs: research and incidental findings -- AI, harnesses, protocols, TypeScript, and a Nix section #1871
Closed
mcpx docs: the book -- overview, manual and compendium (tracker) #1888
Open
mcpx: the backlog build-out — every theme, in one order, with the disagreements between them (super tracker) #1900
Open
mcpx docs: level 3 -- the compendium, release markers and section history (tracker) #1907
Closed
mcpx docs: an agent-markdown twin of every page, and the bot home page carries the install prompt #1947
Closed
This was referenced Nov 13, 2026
Retroactive record: PR #152 — docs(id): design plan, research, and n0 relay default #9182
Closed
Retroactive home for PR #152: docs(id): design plan, research, and n0 relay default #9185
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
[developing-today-forks/openchamber#2580] feat(agent-tool): allow agents to write project setup commands and project actions (decision on #152) #14139
Closed
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 24, 2026
Open-PR clearance programme 2026-11-24: every open PR merged, fixed+merged, or tasked #14166
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.