Skip to content

[test] docsUrl anchor not actually fetched — README rewording could silently break recovery URL #95

Description

@kiki830621

Problem

che-telegram-all-mcp-wrapper.sh:125 docsUrl hardcodes #multi-session-limitation anchor. Logic Reviewer verified by mental algorithm only — no curl test, no test-script assertion. Future README rewording (em-dash in title, CJK translation, duplicate section name) could silently break the URL.

Surfaced by Devil's Advocate (Challenge #4 LOW).

Expected

Add 5-line test:

test_case "test_docsUrl_anchor_exists_in_readme"
README="$SCRIPT_DIR/../README.md"
DOCS_URL=$(grep -oE '"docsUrl":"[^"]+' "$WRAPPER" | head -1)
ANCHOR="${DOCS_URL##*#}"
SECTION_TITLE=$(grep '^## ' "$README" | sed 's/^## //; s/ /-/g' | tr 'A-Z' 'a-z')
echo "$SECTION_TITLE" | grep -q "^${ANCHOR}$" && pass "anchor matches" || fail "anchor missing"

Priority

P3 — regression sentinel.

Source: surfaced during /idd-verify che-msg#31 (sister bug from verify ensemble — Codex + Devil's Advocate flagged convergently)

Verify report: #90 (comment)
Related issue: PsychQuant/che-msg#31
Related PR: psychquant-claude-plugins#90 (PR-1 ships v1.3.2)

🤖 Filed by /idd-verify Step 5b follow-up triage.

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