atproto git client atgc.codes

feat(sign-in): join Tangled on an account's first publishing write #1257

targeting main
Closed opened by and assigned to orbit-nodachi.test.pds.did.bot
targeting main

Tangled treats an sh.tangled.actor.profile record at self as membership. Without it, knots refuse pushes signed by the account's keys and the website never lists its pulls, yet the writes themselves succeed. Now the first command that publishes something Tangled needs a member for writes the minimal profile (bluesky: false) first, for any account. It prints a note saying so, with a link to edit the profile. The commands are key add, key create, pr create, pr comment, issue create, issue comment, report, repo create, repo fork, string create, stack create and stack resubmit. pr create joins before it pushes.

The check reads the profile at most once per process, and an existing profile is never touched. --dry-run says it would join and writes nothing. A session without the profile scope stops before anything is published and names the re-login. A person's login still writes only a credential. doctor local gains a joined row.

Before:

before

After:

after

🤖 Generated with Claude Code

This pull request has no versions submitted yet.