Skip to content

bug(docs): guessed localized docs addresses still return 404 #5037

Closed

Description

@yannickmonney

Summary

A pilot reports "many 404 errors" when the assistant looks things up on docs.tale.dev. Much of the original report is already fixed:

Addresses that a model guesses by translating a path still return 404, for example /de/plattform/skills and /de/plattform/wissen/webseiten. Similar guesses such as /de/plattform/agenten and /de/verwaltung/api-schluessel redirect, because they happen to be in the legacy map.

Proposed

  1. Pull the docs site's 404s for the last 30 days, grouped by path. Separately pull those with the user agent TaleAssistant/1.0 (+chat web_fetch), which is chat's web_fetch, to see what is actually requested.
  2. Resolve localized paths in general rather than one at a time. Map each translated segment to its canonical slug (plattform → platform, verwaltung → admin, wissen → knowledge, webseiten → websites, …) and redirect. When nothing matches, redirect to the closest section page, or to a search with the path's words, instead of a bare 404.
  3. Give the 404 page, and the 404 response body, a pointer to /llms.txt, so a model that lands there can recover. (bug(docs): 404 suggestions show English slugs, section pages lose Previous/Next, the search button's name doesn't match its label, and copy buttons fail silently #4909 covers the 404 page's own suggestions.)
  4. Add a regression test with a list of guessed paths.

Done when

  • The guessed paths above, and those found in the logs, resolve to a real page.
  • The 404 rate for the TaleAssistant user agent is close to zero over a week.

Scope for parallel work

This touches the docs service only (services/docs), and optionally the wording of web_fetch's 404 result. It is independent of the platform issues from the same pilot.

Activity

  1. added
    priority: medium
    bug
    docs
    on Oct 23, 2026
  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    50f0705
  4. added a commit that references this issue on Oct 30, 2026
    27c01fb
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-readybugdocspriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions