Skip to content

docs(nest-skill): explain agent-owned git repos and automatic auth#1437

Open
tlongwell-block wants to merge 1 commit into
mainfrom
docs/nest-skill-git
Open

docs(nest-skill): explain agent-owned git repos and automatic auth#1437
tlongwell-block wants to merge 1 commit into
mainfrom
docs/nest-skill-git

Conversation

@tlongwell-block

Copy link
Copy Markdown
Collaborator

What

Adds a short Git Repositories section to the managed-agent nest skill (desktop/src-tauri/src/managed_agents/nest_skill.md).

Why

A managed agent (and its human) got stuck trying to create a git repo — they assumed the human had to own the repo and run repos create with a private key, and went in circles. Both assumptions are wrong:

  • repos create signs the announcement with the agent's own key, so the agent owns the repo. The clone-URL owner segment is the agent's own pubkey (hex, not a username).
  • Git auth is automatic: the harness configures the git-credential-nostr helper, so plain git clone/push/pull work over NIP-98. No private key ever touches a git command line, and the human never needs to hand over a key.

The nest skill previously covered relay/CLI mechanics but said nothing about git — exactly the gap that bit. Four lines close it.

Scope

One section, 4 inserted lines. No behavior change — documentation only.

Sources: docs/git-on-object-storage.md, crates/git-credential-nostr/README.md, crates/buzz-dev-mcp/src/shim.rs (harness credential-helper wiring).

Managed agents hit a wall creating git repos: they assumed the human
had to own the repo and run repos create with a private key. Neither is
true — repos create signs with the agent's own key (agent owns the repo)
and the git-credential-nostr helper handles NIP-98 auth automatically, so
no key ever touches a git command line. Add a short Git Repositories
section to the nest skill covering ownership, the automatic credential
helper, the clone-URL owner segment, and the announce+push flow.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
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.

1 participant