Skip to content

docs: fix documentation drift — missing create-pull-request config options#495

Merged
jamesadevine merged 2 commits into
mainfrom
docs/fix-create-pr-config-options-b51fc700be55b8ac
May 11, 2026
Merged

docs: fix documentation drift — missing create-pull-request config options#495
jamesadevine merged 2 commits into
mainfrom
docs/fix-create-pr-config-options-b51fc700be55b8ac

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Documentation Freshness Audit

This audit compared the source code against all documentation files (AGENTS.md, docs/*.md, README.md, prompts/create-ado-agentic-workflow.md).

Findings

Area Issue File(s)
Safe Outputs create-pull-request config section missing 7 options present in CreatePrConfig struct docs/safe-outputs.md

Details

The CreatePrConfig struct in src/safeoutputs/create_pr.rs defines these fields that were not documented in the docs/safe-outputs.md configuration options section:

Field Type Default Description
title-prefix Option<String> (none) Prefix prepended to all PR titles
if-no-changes enum "warn" Behavior when patch is empty: warn, error, ignore
max-files usize 100 Maximum files allowed in a single PR
protected-files enum "blocked" File protection policy: blocked or allowed
excluded-files Vec<String> [] Glob patterns for files to exclude from patch
allowed-labels Vec<String> [] Allowlist of labels the agent may apply
fallback-record-branch bool true Record pushed branch name in failure result

All other areas checked were accurate:

  • AGENTS.md architecture tree matches actual src/ files
  • CLI commands (init, compile, check, mcp, mcp-http, execute, configure) match src/main.rs
  • All template markers in base.yml/1es-base.yml are documented in docs/template-markers.md
  • All 23 safe output tools in src/safeoutputs/ are documented
  • Default model (claude-opus-4.7), network domains, and schedule syntax are all accurate
  • prompts/create-ado-agentic-workflow.md is accurate for the fields it documents

Applied Fixes

  • Added title-prefix, if-no-changes, max-files, protected-files, excluded-files, allowed-labels, and fallback-record-branch to the create-pull-request configuration options in docs/safe-outputs.md

This pull request was created by the automated documentation freshness check.

Generated by Documentation Freshness Check · ● 5.6M ·

Add missing config options to the create-pull-request section in
docs/safe-outputs.md. The following fields existed in CreatePrConfig
but were not documented:

- title-prefix: prefix prepended to all PR titles
- if-no-changes: behavior when patch is empty (warn/error/ignore)
- max-files: maximum files in a single PR (default: 100)
- protected-files: file protection policy (blocked/allowed)
- excluded-files: glob patterns for files to exclude from patch
- allowed-labels: allowlist of labels the agent may apply
- fallback-record-branch: record branch info on PR creation failure

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesadevine jamesadevine marked this pull request as ready for review May 11, 2026 09:20
@jamesadevine
Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

…nfig-options-b51fc700be55b8ac

# Conflicts:
#	docs/safe-outputs.md

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

@copilot resolve the merge conflicts in this pull request

Resolved. I merged origin/main into this branch, fixed the conflict in docs/safe-outputs.md, and pushed commit c83a238.

No UI changes were made in this PR, so there is no UI screenshot to provide.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • spsprodeus21.vssps.visualstudio.com
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 sync_trait.a0ce32b56b003c25-cgu.01.rcgu.o sync_trait.a0ce32b56b003c25-cgu.02.rcgu.o sync_trait.a0ce32b56b003c25-cgu.03.rcgu.o sync_trait.a0ce32b56b003c25-cgu.04.rcgu.o sync_trait.a0ce32b56b003c25-cgu.05.rcgu.o f.006607excnbrprqp637f7y53i.1r1fq5i.rcgu.o f.04ihlpyw73h878m5ii3u14z4w.1r1fq5i.rcgu.o f.05s581wfkj8h57yyfztyfopmr.1r1fq5i.rcgu.o f.0a5uivvqg0yudio4gs881kurk.1r1fq5i.rcgu.o f.0avko3xidh2wk8781opolbaij.1r1fq5i.rcgu.o f.0g5xkpur9po42a3k6jocdfert.1r1fq5i.rcgu.o f.0gsn8ev1cnkk8096ejd9eaqnc.1r1fq5i.rcgu.o f.0hnyc0p3974v12h5g8kkwz19v.1r1fq5i.rcgu.o f.0xonaogqri1qh024baqfa7x2d.1r1fq5i.rcgu.o f.12nfqzyx5t92gdliu6u9j2t23.1r1fq5i.rcgu.o f.1bcwhu0k0xfbj80ouktlgq7gg.1r1fq5i.rcgu.o f.1bhjf3uobqgssktgi0e14aqnn.1r1fq5i.rcgu.o f.1hqz8k3c94266bfgrfbuybt2z.1r1fq5i.rcgu.o f.1huk6ich8t6qwyn0rf9m9q3l0.1r1fq5i.rcgu.o (dns block)
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 --cfg feature=&#34;futures-util&#34; --cfg cgu.�� cgu.o cgu.o bin/rustc cgu.o cgu.o -gnu/bin/self-co-Wl,--no-undefined-version bin/rustc k/ad�� k/ado-aw/ado-aw//home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/derive_more_impl-46e9b1cf09dfacc k/ado-aw/ado-aw//home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/derive_more_impl-46e9b1cf09dfa-m64 bin/rustc k/ado-aw/ado-aw/bash og0pep.1441emo.r--norc pg33e9.1441emo.r--noprofile bin/rustc (dns block)
  • spsprodweu4.vssps.visualstudio.com
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 sync_trait.a0ce32b56b003c25-cgu.01.rcgu.o sync_trait.a0ce32b56b003c25-cgu.02.rcgu.o sync_trait.a0ce32b56b003c25-cgu.03.rcgu.o sync_trait.a0ce32b56b003c25-cgu.04.rcgu.o sync_trait.a0ce32b56b003c25-cgu.05.rcgu.o f.006607excnbrprqp637f7y53i.1r1fq5i.rcgu.o f.04ihlpyw73h878m5ii3u14z4w.1r1fq5i.rcgu.o f.05s581wfkj8h57yyfztyfopmr.1r1fq5i.rcgu.o f.0a5uivvqg0yudio4gs881kurk.1r1fq5i.rcgu.o f.0avko3xidh2wk8781opolbaij.1r1fq5i.rcgu.o f.0g5xkpur9po42a3k6jocdfert.1r1fq5i.rcgu.o f.0gsn8ev1cnkk8096ejd9eaqnc.1r1fq5i.rcgu.o f.0hnyc0p3974v12h5g8kkwz19v.1r1fq5i.rcgu.o f.0xonaogqri1qh024baqfa7x2d.1r1fq5i.rcgu.o f.12nfqzyx5t92gdliu6u9j2t23.1r1fq5i.rcgu.o f.1bcwhu0k0xfbj80ouktlgq7gg.1r1fq5i.rcgu.o f.1bhjf3uobqgssktgi0e14aqnn.1r1fq5i.rcgu.o f.1hqz8k3c94266bfgrfbuybt2z.1r1fq5i.rcgu.o f.1huk6ich8t6qwyn0rf9m9q3l0.1r1fq5i.rcgu.o (dns block)
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-3136f96127ec4700 --cfg feature=&#34;futures-util&#34; --cfg cgu.�� cgu.o cgu.o bin/rustc cgu.o cgu.o -gnu/bin/self-co-Wl,--no-undefined-version bin/rustc k/ad�� k/ado-aw/ado-aw//home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/derive_more_impl-46e9b1cf09dfacc k/ado-aw/ado-aw//home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/derive_more_impl-46e9b1cf09dfa-m64 bin/rustc k/ado-aw/ado-aw/bash og0pep.1441emo.r--norc pg33e9.1441emo.r--noprofile bin/rustc (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from jamesadevine May 11, 2026 09:30
@jamesadevine jamesadevine merged commit 9bbb01c into main May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants