[docs] Self-healing documentation fixes from issue analysis - 2026-03-27#23240
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
[docs] Self-healing documentation fixes from issue analysis - 2026-03-27#23240github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
Add documentation for the two audit subcommands that were missing from cli.md: audit diff (cross-run behavioral comparison) and audit report (cross-run security audit). Also restructure the audit section to use h5 subsections consistent with the secrets command pattern. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self-Healing Documentation Fixes
This PR was automatically created by the Daily Documentation Healer workflow.
Gaps Fixed
gh aw audit diff— not documented incli.md. This subcommand compares behavioral drift between two workflow runs (new/removed domains, MCP tool changes, metrics).gh aw audit report— not documented incli.md. Added in feat:gh aw audit report— cross-run security audit reports #23047 (merged 2026-03-26), this subcommand generates cross-run security audit reports by aggregating firewall data across multiple runs.The
auditsection was restructured from a flat command into h5 subsections (audit <run-id>,audit diff,audit report) following the same pattern used by thesecretscommand.Root Cause
audit reportwas merged at 23:06 UTC on 2026-03-26 (#23047), after DDUw's daily 6am UTC run. DDUw therefore had no opportunity to document it before this healer run.audit diffpredated the 7-day window but was never documented.The systemic pattern: late-day merges (after DDUw's 6am window) are not picked up until the next daily run. If the doc-healer runs before DDUw the next day, it can catch these gaps.
💡 DDUw Improvement Suggestions
DDUw Improvement Suggestions
Pattern: Features merged after DDUw's 6am UTC run create a ~24-hour documentation lag. The doc-healer can bridge this gap but only if it runs after the merge and before the next DDUw run.
Suggested fix: DDUw could optionally run a second lightweight scan at ~22:00 UTC to catch late-day merges, or the doc-healer could be scheduled closer to midnight UTC so it catches same-day late merges before they become stale.
Second pattern: The
auditcommand has subcommands (diff,report) but the docs treated it as a single command. DDUw's commit-scanning heuristic should flag newcmd.AddCommand(...)calls in audit.go as triggering a documentation review of the parent command's section.Related Issues
Closed issues analyzed:
References: