sync: auto-sync from GURU-5070 at 2026-06-11 08:57:45

Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-06-11 08:57:45
This commit is contained in:
2026-06-11 08:57:57 -07:00
parent 24bf954aaf
commit bf6ffa7da4
3 changed files with 33 additions and 3 deletions

View File

@@ -640,11 +640,15 @@ def run(args) -> int:
ref_slug = slugify_link_target(ref)
if ref_slug not in known_slugs and ref not in known_slugs:
broken_backlinks.append((m.filename, ref))
rpt.add(f"### Broken backlinks: {len(broken_backlinks)}")
rpt.add(f"### Dangling [[backlinks]] — write-me-later candidates: {len(broken_backlinks)}")
if broken_backlinks:
rpt.add(" (NOT errors — intentional markers per the memory convention. Flesh each missing")
rpt.add(" memory out from the session history/logs; do NOT strip the link. See")
rpt.add(" feedback_broken_backlinks_are_writeme_markers.md.)")
for fn, ref in broken_backlinks:
rpt.add(f"- [WARNING] {fn}: [[{ref}]] has no matching memory file")
rpt.add(f"- [INFO] {fn}: [[{ref}]] — memory not yet written (flesh out from session logs)")
if not broken_backlinks:
rpt.add("- [OK] no broken backlinks found")
rpt.add("- [OK] no dangling backlinks")
rpt.add("")
# ----- 3. REFERENCED-ARTIFACT VALIDITY -----