mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-03 12:48:37 -06:00
* docs: scope AI documentation drafts to the merged change Draft PRs were titled by number, filled with the review loop, and restyling whole pages because pre-open review treated every line as new. Co-authored-by: Cursor <cursoragent@cursor.com> * docs: strip HTML comment delimiters from AI draft summaries An unmatched comment opener in the model summary is an HTML block through the end of the pull request body, which hides the editorial-review notice. Co-authored-by: Cursor <cursoragent@cursor.com> * docs: drop a draft summary that does not match the accepted revision An accepted revision with no summary fence was keeping the previous pass's summary, so the draft pull request could describe files that had already been replaced. Co-authored-by: Cursor <cursoragent@cursor.com> * docs: match sibling spacing when a draft adds a section The command reference puts each label on the line above its fence. Drafts were inserting a blank line there, which made a new command harder to scan than the rest of the page. Co-authored-by: Cursor <cursoragent@cursor.com> * docs: let related brief actions share a section Forcing a heading per gap-brief action split behaviours that belong together on the page. Co-authored-by: Cursor <cursoragent@cursor.com> * docs: keep the writer trail and the full action list The pre-open trail disappeared with the runner, and a maxed gap brief could drop the last action before review. Co-authored-by: Cursor <cursoragent@cursor.com> * docs-ai: use git diff --no-index for pre-open review diffs Co-authored-by: Cursor <cursoragent@cursor.com> * docs-ai: keep prior draft when a revision reverts the page; fold draftTitle into author-loop Co-authored-by: Cursor <cursoragent@cursor.com> * docs-ai: never draft changelogs, upgrade notes, or the version archive Co-authored-by: Cursor <cursoragent@cursor.com> * docs-ai: keep gap analysis recommendations unchanged Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>