Skip to content

Docs: generated Share a Bot and Update guides are committed and drift from their sources #1255

Closed

Description

@DoodleBears

Problem

scripts/sync-docs.mjs generates apps/docs/src/content/{docs,docs-zh}/docs/share-bot.mdx and update-deepseekbot.mdx from docs/*.md. Unlike every other generated guide (listed in .gitignore), these four files are committed.

#1224 changed docs/share-bot.md and docs/share-bot.zh.md (the Profile banner) without regenerating the committed copies. Since then:

  • the committed share-bot.mdx pair is stale against its sources (the deployed site is unaffected, because the build syncs first);
  • apps/docs/test/changelog-public-surfaces.test.ts runs astro build in place, and the Astro config calls syncDocs(), so every full pnpm test leaves the two files modified in the working tree.

Expected

Generated guide pages are never committed, like the rest. A regression test fails if any sync-docs page output is tracked by Git.

The product site (deepseekbot-site) syncs from the docs/*.md sources, not these outputs, so it is unaffected.

Activity

  1. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Claude Code
    • Task: claude/local/docs-generated-drift (not a DSH Session)
    • Issue scope: untrack the generated guide pages and guard against tracking sync-docs outputs
    • Branch: claude/docs-generated-drift
    • Started: 2026-10-09 05:32 UTC
    • State: active
  2. added
    ready-for-agentFully specified, ready for an AFK agent
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 9, 2026
  3. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

  4. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 9, 2026
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

    ready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions