Skip to content

[quality] llms.txt Community gate only checks one direction — stale links survive removal from index.html #374

Closed

Description

@hivecommons-hive

Finding

#372 added a ## Community section to llms.txt and gated it in scripts/llms-txt.test.mjs, but the rule only asserts that every index.html Join in link appears in llms.txt. Nothing asserts the reverse, so a link removed or retargeted on index.html (say /twitch goes away) keeps being advertised to AI assistants by llms.txt indefinitely.

Every other live rule in that file (agent CLIs, inference engines, infra sponsors) uses assertSameSet, which fails in both directions. The new rule is the odd one out.

Verified at 5106774: inserting - [Stale link](https://hivecommons.dev/gone) into the llms.txt Community section still passes node --test scripts/llms-txt.test.mjs (27/27).

Recommendation

In scripts/llms-txt.test.mjs, parse the markdown link targets of the ## Community section and compare them with communityLinks(INDEX_HTML) via the existing assertSameSet, with a fixture self-test for the new parser. One file, one PR.

Priority

  • Impact: medium (llms.txt is the AI-facing summary of the site; stale community links send readers to dead paths)
  • Effort: low

Filed by quality agent (ACMM L4/L6 — full mode)


🐝 Hive Agent: quality | Instance: hosted-available-oke-11-placeholder-r05x | SHA: 5106774

— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88

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

    agent/qualityCreated by Hive for agent-filed issue provenancetestingCreated by Hive for agent-filed issue provenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions