Skip to content

GRAPH_REPORT.md Community Hubs emits [[_COMMUNITY_*]] wikilinks that dangle unless the opt-in --obsidian export ran #1712

Closed

Description

@Pwongchaiya

Summary

GRAPH_REPORT.md renders the "Community Hubs (Navigation)" section as Obsidian wikilinks:

## Community Hubs (Navigation)
- [[_COMMUNITY_Frontend API Client|Frontend API Client]]
- [[_COMMUNITY_Group Storage Broker|Group Storage Broker]]
...

The _COMMUNITY_* note files those links target are only created by the opt-in --obsidian export. On a default run (no --obsidian), every one of those links dangles.

This is the same portability problem that was fixed for export wiki in #1444 / PR #1465 (0.8.50), but GRAPH_REPORT.md still emits raw wikilinks.

Why it hurts

If graphify-out/ sits inside (or gets synced into) an Obsidian vault — a common setup, since the report deliberately uses Obsidian syntax — the unresolved links pollute the vault's graph view. In our case: 181 communities produced two dead-link "starbursts" of _COMMUNITY_* phantom nodes hanging off the report note. Outside Obsidian, the [[...]] links render as literal brackets and navigate nowhere.

Reproduction

  1. graphify <any repo> — default flags, no --obsidian
  2. Open graphify-out/<date>/GRAPH_REPORT.md inside an Obsidian vault
  3. Graph view shows one unresolved phantom node per community hub; clicking any hub link offers to create a new empty note

Observed on a 351-file corpus → 2090 nodes, 202 communities (report dated 2026-07-06).

Expected

The report should only use wikilink syntax when the Obsidian export actually exists. Either:

Workaround

Exclude graphify-out/ from the vault graph via .obsidian/app.json → userIgnoreFilters: ["graphify-out/"].

Activity

  1. safishamsi commented on Jul 7, 2026

    @safishamsi
    Member

    Fixed on v8 (next release), went with your first option (plain text by default).

    You're right that it's the same portability problem as #1444/#1465. Since GRAPH_REPORT.md is written at build time — before the opt-in --obsidian export runs — it can't know whether the _COMMUNITY_*.md notes will exist, so emitting wikilinks unconditionally left them dangling. generate() now defaults the Community Hubs section to a plain list; the wikilink form is behind an obsidian=True opt-in. The Obsidian export's community notes already cross-link each other, so the vault stays navigable without the report's links. Thanks for the clear repro and the vault-graph-view detail.

  2. added a commit that references this issue on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions