bd links, automatically: **Beads:** line in every PR body + a MessageDisplay linkify hook nf-abda ← Beads

in_progress priority 1 task bork

Aedan, in chat (2026-08-21):

> "We just moved all the issues to Beads, I need beads URLs to appear > systematically in PR descriptions, and in claude chatter to me. For the > second one, can you add a claude hook for this. e.g. linkify things like > nf-758.9 to be https://nfold.dev/nf-758.9 ... For all this, we should > avoid / minimise relying on .md descriptions / text instructions to > agents, instead preferring to script / automate where possible and keep > things simple for devs / agents."

Two mechanisms, no CLAUDE.md prose:

1. dev.py pr adds a **Beads:** link line to every PR body, deriving the ids from the session's own bd claims (`bd list --assignee <topic> --status in_progress) plus any id in the body/commit subjects. --bd` overrides. Never blocks a PR. 2. A MessageDisplay hook (tools/beads/linkify.py) rewrites bare bd ids into dashboard URLs on screen as a message streams. Display-only: the stored transcript and the model's view keep the bare id.

Shared shape in nflib.bdlink — the bare short link (/nf-758.9), so the server resolves issue-vs-epic. Also collapses import_github._dashboard_url onto it.

Dependencies

None.

Comments

No comments.

Add a comment