Skip to content

[docs] docs: condense faq.md - remove verbose and repetitive content#18237

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-faq-84994e76d4e0947a
Feb 25, 2026
Merged

[docs] docs: condense faq.md - remove verbose and repetitive content#18237
pelikhan merged 1 commit intomainfrom
docs/unbloat-faq-84994e76d4e0947a

Conversation

@github-actions
Copy link
Contributor

Reduces bloat in docs/src/content/docs/reference/faq.md by condensing three sections with repetitive or excessively verbose prose.

File improved

docs/src/content/docs/reference/faq.md (357 → 310 lines, −47 lines / −13%)

Changes made

Determinism section (4 paragraphs → 2)

  • Removed the "Continuous AI trifecta" elaboration paragraph (added no new information)
  • Removed the trailing restatement paragraph ("Your first call should be…") which repeated the same point already made

Workflow lock file section (5 paragraphs → 2)

  • The original text repeated the same markdown-vs-frontmatter recompile rule three times across different paragraphs
  • Condensed to one opening paragraph + a two-item bullet list that captures both meanings cleanly

PR creation failure workarounds (~55 lines → ~25 lines)

  • Replaced the "Option 1 / Option 2 / Option 3" numbered structure with compact inline descriptions
  • Removed paragraph-level restatements before/after each code block
  • Removed the [!TIP] callout that restated the default behaviour already shown in the list

What was preserved

All technical accuracy, code examples, external links, and actionable guidance were retained. No information was removed — only redundant restatements.

Screenshots

Screenshots could not be captured: the Playwright container runs with network isolation that prevents it from reaching the local preview server (both localhost and the direct host IP returned ERR_CONNECTION_REFUSED / timeout). The docs build completed successfully (124 page(s) built) and all internal links validated cleanly.

References

🗜️ Compressed by Documentation Unbloat

  • expires on Feb 27, 2026, 12:11 AM UTC

- Determinism section: collapse 4 paragraphs to 2 (removed redundant
  "Continuous AI trifecta" elaboration and trailing restatement)
- Lock file section: collapse 5 paragraphs to 2 (removed three
  repetitions of the same markdown-vs-frontmatter recompile rule)
- PR creation failure section: replace verbose Option 1/2/3 framing
  with compact inline descriptions, removing ~30 lines of boilerplate

Net: -47 lines (-13% by line count; higher % by word count)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Feb 25, 2026
@pelikhan pelikhan marked this pull request as ready for review February 25, 2026 01:51
Copilot AI review requested due to automatic review settings February 25, 2026 01:51
@pelikhan pelikhan merged commit c4f4a4c into main Feb 25, 2026
@pelikhan pelikhan deleted the docs/unbloat-faq-84994e76d4e0947a branch February 25, 2026 01:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Condenses repetitive prose in the FAQ documentation while keeping the same technical guidance and links.

Changes:

  • Shortened the determinism FAQ answer while keeping the “agentic workflows are additive” guidance.
  • Condensed the workflow lock file explanation into a tighter definition plus a two-item commit guidance list.
  • Reworked the “create-pull-request blocked by org policy” section into a compact set of alternatives.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


When the workflow runs, the prompt itself is taken from the markdown file at runtime, so you can edit the markdown without recompiling and see changes in the next run. However, any changes to frontmatter (permissions, tools, triggers) require recompilation to update the lock file.
- **`.md` file**: Your source - edit the prompt body freely; changes take effect at the next run without recompiling
- **`.lock.yml` file**: The compiled workflow GitHub Actions actually runs; must be regenerated after any frontmatter changes (permissions, tools, triggers)
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parenthetical examples of frontmatter changes that require recompilation omit some fields (e.g., network rules) and reads slightly inconsistent with the earlier FAQ entry that lists tools/permissions/triggers/network rules as requiring recompilation. Consider either stating “any frontmatter changes” without enumerating, or expanding the list to include network (and other key frontmatter-driven settings).

Suggested change
- **`.lock.yml` file**: The compiled workflow GitHub Actions actually runs; must be regenerated after any frontmatter changes (permissions, tools, triggers)
- **`.lock.yml` file**: The compiled workflow GitHub Actions actually runs; must be regenerated after any frontmatter changes

Copilot uses AI. Check for mistakes.
Some organizations block PR creation by GitHub Actions via **Settings → Actions → General → Workflow permissions**. If you can't enable it, use one of these alternatives:

**Workaround Options:**
**Automatic issue fallback (default)** — `fallback-as-issue: true` is the default; when PR creation is blocked an issue with the branch link is created instead. Requires `contents: write`, `pull-requests: write`, and `issues: write`.
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor grammar: in “when PR creation is blocked an issue…”, add a comma after “blocked” to avoid a run-on clause.

Suggested change
**Automatic issue fallback (default)**`fallback-as-issue: true` is the default; when PR creation is blocked an issue with the branch link is created instead. Requires `contents: write`, `pull-requests: write`, and `issues: write`.
**Automatic issue fallback (default)**`fallback-as-issue: true` is the default; when PR creation is blocked, an issue with the branch link is created instead. Requires `contents: write`, `pull-requests: write`, and `issues: write`.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants