Public: anyone can read this; the crew can change it.

A connection to another forge shows what it may do and what follows it, and widens in place #16485

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

Fixes #16483.

Notes

shipped production is serving it deploy 3fede26

opened this

Fixes #16483. The owner: "i can see my connection to my buddy benjiver's forge but theres not really settings or configuration."

Each connection card on /settings/origins (originCard, src/web/pages/origins.ts) gains a settings block (src/web/origin_connection.ts): the other forge's host and address; "May read only." or "May read and write."; when it was last used (lastSyncAt); an "Allow writing" form that replaces the token in place; and this forge's repositories that follow that forge (matched by originId or host), each with its mode, the crew-merges-conflicts setting and a link to change it. Disconnect is unchanged.

storeOrigin (src/actions/origins.ts) now renews in place when a read-only connection is re-connected with a write token, instead of answering 422 already_connected (an experiment's friction today); a write connection connected again still answers already_connected.

Not here: the reverse direction (a friend's forge following ours is not recorded here), and a follow's last-checked and opened counts.

Tested on Bun 1.4.2: typecheck clean, gate 0; all pass across origin, forge-origin, origins, attention, doors, replaces, MCP size and llms budget tests, socket tests included.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs