-
Notifications
You must be signed in to change notification settings - Fork 296
Normalize report formatting in org-health-report and daily-safe-outputs-conformance workflows #17727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize report formatting in org-health-report and daily-safe-outputs-conformance workflows #17727
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -339,18 +339,44 @@ Create a comprehensive markdown report with the following sections: | |||||||||||||||||||||||||||||||||||
| - Brief analysis of what the metrics mean | ||||||||||||||||||||||||||||||||||||
| - Suggestions for maintainers on where to focus | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| ## π Report Formatting Guidelines | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| The discussion title serves as h1, so all content headers should start at h3: | ||||||||||||||||||||||||||||||||||||
| - Use `###` for main sections (e.g., "### π Volume Metrics", "### Summary") | ||||||||||||||||||||||||||||||||||||
| - Use `####` for subsections (e.g., "#### Overall Status", "#### Recent Activity") | ||||||||||||||||||||||||||||||||||||
| - Never use `##` (h2) or `#` (h1) in the report body | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| **Wrap long sections in `<details><summary><b>Section Name</b></summary>` tags to improve readability and reduce scrolling.** | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| Use collapsible sections for: | ||||||||||||||||||||||||||||||||||||
| - "Top 10 Most Active Authors" table | ||||||||||||||||||||||||||||||||||||
| - Full data and methodology details | ||||||||||||||||||||||||||||||||||||
| - Any other verbose tables or data | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| Example: | ||||||||||||||||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||||||||||||||||
| <details> | ||||||||||||||||||||||||||||||||||||
| <summary><b>Top 10 Most Active Authors</b></summary> | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| [Author table here...] | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| </details> | ||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
| ### 3. Report Structure Pattern | |
| Structure the report to surface the most important insights first, then progressively add detail: | |
| - Start with an executive summary that highlights key findings and overall health. | |
| - Follow with high-level metrics sections (e.g., activity, quality, risk) using consistent headings. | |
| - Place detailed tables, methodology notes, and long explanations inside collapsible `<details>` sections. | |
| - Keep section ordering consistent across runs so readers know where to find information. | |
| ### Design Principles | |
| - **Clarity first:** Use concise, descriptive headings and avoid jargon where possible. | |
| - **Scannability:** Optimize for readers who skim; use bullets, short paragraphs, and consistent section ordering. | |
| - **Progressive disclosure:** Put critical insights in the open and defer supporting detail to collapsible sections. | |
| - **Consistency across workflows:** Align formatting and structure with other organization reports to reduce cognitive load. | |
| - **Accessibility:** Ensure that headings, lists, and code blocks use valid Markdown so reports render correctly in all clients. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Report Formatting Guidelines" section is incomplete compared to the established pattern in compliant workflows (daily-observability-report.md:39-99, daily-team-status.md:52-98, copilot-pr-merged-report.md:150-196). The complete pattern includes:
This section is missing the "CRITICAL" emphasis, numbered subsections, "Report Structure Pattern", and "Design Principles" that provide important context about how to structure reports for optimal readability.