__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • exec/llm_index/msgs.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat May 30 03:17:44 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4df41adbbcf65978170b2e72
    Modified Files:
    exec/llm_index/msgs.js
    Log Message:
    llm_index/msgs: surface a post's first URL as a citable source line

    Message-base provenance carries no canonical URL (unlike wiki chunks,
    which get "Cite this URL verbatim:" from format_retrieved_context), so an answer grounded in an announcement could state the facts but had no link
    to cite -- e.g. a SyncTERM release answer trailing off at "see the release notes: " with nothing after.

    Extract the first http(s) URL from the post body and prepend it as a
    "Cite this URL verbatim:" line into the chunk text (which the runtime
    emits verbatim, so no engine change is needed -- a re-index suffices).
    De-dupes a doubled scheme ("https://https://", seen in a real syncanno
    post) and trims trailing punctuation.

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net