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 — Your machines pair and sync by themselves; projects list at once and show syncing; >machine:slug by i2cjak · Pull Request #46 · BackplaneWorks/Backplane

Conversation

@i2cjak

@i2cjak i2cjak commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

Your own machines now sync with each other by themselves, in the background. No invite to paste, and no switching machines to see another's threads.

Pairing. Every two minutes a hub lists your online tailnet machines that run Backplane. Each minute it pairs with any it isn't linked to yet. The hub with the lower address asks the other (POST /bots/pair). That route only answers your own devices (tailscale whois, the same trust as the websocket) or loopback. The answer is a fresh invite, joined like a pasted one.

The responder refuses with 403 when:

  • the asker isn't one of the machines it found itself (a link that couldn't reach back), or
  • sync with the asker is off.

It refuses with 409 when a live link already reaches the asker.

A hub started with --no-tailscale pairs only with hubs named in BACKPLANE_PEERS, so a throwaway or test hub never links itself to real ones.

Choosing. Settings has a new "Your machines" section on all four clients. Each machine shows its status (linking, in sync, catching up N projects, away) and an On/Off switch (sync.<name>). Off means:

  • nothing is pushed or pulled,
  • it isn't asked to pair, and is refused if it asks,
  • its projects leave the sidebar.

Catching up without pop-in. A pull's answer now carries the owner's catalog: each shared project with its title, latest activity, and the log number of its last shared change. The owner tracks these numbers per project as its feed grows. Clients list every project at once, in its final place. Each is faded and titled "Board · desk (syncing)" until the mirror passes its number; projects that have arrived work meanwhile. This reaches the window, the web and both phone apps through Label.title/Label.syncing and the phones' existing quiet flag, with no native app changes.

>machine:slug references.

  • The composer offers synced threads as >desk:fix-perf, with the machine's name on each row. >desk: narrows the popup to that machine.
  • The hub tells the agent what the thread is, from its mirror (src/core/xref.bend).
  • thread_read on a far thread is answered from the mirror.
  • >fix: it fails still names the local thread fix.

Tour. The "Other machines" step now explains discovery, background sync, the syncing state, >desktop:, and where to turn a machine off.

Not changed: the machine-switch cache is still home plus one other hub. The laws hub_cache_bounded and hub_cache_remote_short fix that limit, and raising it needs the owner's OK.

Testing:

  • scripts/check.sh passes: everything type-checks and every law proves (new: mate_* ×14, far_catalog_*, far_scope_*, refs_machine_word, refs_colon_after_stays_here).
  • scripts/test.sh passes; far_test and refs_test gained catalog, machines and reference checks.
  • far_e2e now pairs its two hubs without an invite and checks there's one link, that asking again gets 409, and that the catalog arrives: 44 ok.
  • bots_e2e: 87 ok. botdir_e2e: 19 ok.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
i2cjak added 7 commits October 4, 2026 05:31
@i2cjak
Owner's machines pair themselves over Tailscale and sync in the backg…
8f41365
…round; a catalog lists a machine's projects at once, faded and (syncing) until caught up; Settings: Your machines; tour explains it
@i2cjak
Pairing guards: a hub without its tailnet pairs only with BACKPLANE_P…
7be7774
…EERS hubs; a hub answers only machines it found; far_e2e pairs without an invite and checks the catalog; client tests for the catalog and Settings' machines
@i2cjak
Threads on another machine as >machine:slug: the composer offers them…
b213efb
… (>machine: narrows to it), the hub names them for the agent from its mirror, thread_read reads them there (xref.bend)
@i2cjak
docs: pairing, choosing machines, catching up, >machine:slug; the tou…
d992597
…r names >desktop:
@i2cjak
Pairing: a hub compares its loopback address with a hub on this machi…
63c179e
…ne's loopback, so exactly one of two asks
@i2cjak
Far: a pull's answer keeps its page's fields beside the catalog (Fr.l…
e140ee2
…og.json, tested)
@i2cjak
far_e2e: a joining client's catalog is the last pull's
0c78d7e
@i2cjak
i2cjak merged commit 1943ed7 into main Oct 4, 2026
2 checks passed

Uh oh!

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

Snaiderbg pushed a commit to Snaiderbg/Backplane that referenced this pull request Oct 9, 2026
i2cjak
Merge pull request BackplaneWorks#46 from i2cjak/backplane/rooms-list…
0a884f8
…ed-once

Each room listed once
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

@i2cjak
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.