Skip to content

fix: read a member's descriptor from the page's own rel=openwebring link - #201

Merged
ralyodio merged 1 commit into
mainfrom
fix/ring-descriptor-link
Sep 13, 2026
Merged

fix: read a member's descriptor from the page's own rel=openwebring link#201
ralyodio merged 1 commit into
mainfrom
fix/ring-descriptor-link

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Read a member's descriptor from the page's own rel=openwebring link

The check fetched only <origin>/.well-known/openwebring.json, so a member whose site is a path on a shared host (Chovy's Blog at dev.profullstack.com/~anthony/blog/, the first active member of any ring) was marked active from its page links but made_by stayed unstated although the page carries <link rel="openwebring" href="openwebring.json"> and the file says both / ai-assisted. descriptorLinkFrom(html, pageUrl) finds that pointer (any rel list containing openwebring, attribute order free, href resolved against the page) and checkRingMember follows it when the origin yields no descriptor. Test added; web and ingest suites pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XYae2mH3khdwiXUVzcVMDw

A site that is a path on a shared host (a blog under /~name/) cannot put a
file at that host's /.well-known/, which is why the spec's second discovery
route is a <link rel="openwebring" href="..."> on the page. The check only
tried the origin, so the first active member of any ring (Chovy's Blog,
which links to the Profullstack ring and points at its own openwebring.json)
came back with made_by unstated. The origin's well-known file is still
tried first; when it yields no descriptor, the page's pointer is followed,
resolved against the page, attribute order not assumed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYae2mH3khdwiXUVzcVMDw
@ralyodio
ralyodio merged commit d73d001 into main Sep 13, 2026
3 checks passed
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