Skip to content

Commit 1f0de55

Browse files
themr0cclaude
andauthored
[RHIDP#12789]: Clean up CQA output: suppress pass noise, unify formats, sentence case (#1954)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1adfe4c commit 1f0de55

22 files changed

Lines changed: 56 additions & 101 deletions

build/scripts/cqa-00-directory-structure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ fi
273273
# Full repo mode (default — no positional arg)
274274
# ═══════════════════════════════════════════════════════════════════
275275

276-
cqa_header "0" "Verify Directory Structure (<category>_<context> naming)"
276+
cqa_header "0" "Verify directory structure (<category>_<context> naming)"
277277

278278
# ── Phase 0: Pre-computation ──
279279

build/scripts/cqa-00-orphaned-modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ for arg in "$@"; do
4343
_prev_arg="$arg"
4444
done
4545

46-
cqa_header "0" "Find Orphaned Modules and Images"
46+
cqa_header "0" "Find orphaned modules and images"
4747

4848
# ── Collect all include:: references ──
4949
declare -A INCLUDED_BASENAMES=()

build/scripts/cqa-01-asciidoctor-dita-vale.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ except: pass
6060
_cqa01_check() {
6161
local target="$1"
6262

63-
cqa_header "1" "Vale AsciiDoc DITA Compliance" "$target"
63+
cqa_header "1" "Vale AsciiDoc DITA compliance" "$target"
6464

6565
# Collect files excluding attributes.adoc
6666
local vale_files=()

build/scripts/cqa-02-assembly-structure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ _fix_context_line() {
6565
_cqa02_check() {
6666
local target="$1"
6767

68-
cqa_header "2" "Verify Assembly Structure" "$target"
68+
cqa_header "2" "Verify assembly structure" "$target"
6969

7070
# Filter to assembly files only
7171
local assembly_files=()

build/scripts/cqa-03-content-is-modularized.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ _fix_section_lists() {
116116
_cqa03_check() {
117117
local target="$1"
118118

119-
cqa_header "3" "Verify Content Type Metadata" "$target"
119+
cqa_header "3" "Verify content type metadata" "$target"
120120

121121
for file in "${_CQA_COLLECTED_FILES[@]}"; do
122122
[[ -f "$file" ]] || continue

build/scripts/cqa-04-modules-use-official-templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cqa_parse_args "$0" "$@"
2828
_cqa04_check() {
2929
local target="$1"
3030

31-
cqa_header "4" "Verify Module Templates" "$target"
31+
cqa_header "4" "Verify module templates" "$target"
3232

3333
for file in "${_CQA_COLLECTED_FILES[@]}"; do
3434
[[ "$file" != *.adoc ]] && continue

build/scripts/cqa-05-modular-elements-checklist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ readonly PATTERN_BLOCK_TITLE='^\.[A-Z]'
2727
_cqa05_check() {
2828
local target="$1"
2929

30-
cqa_header "5" "Verify Required Modular Elements" "$target"
30+
cqa_header "5" "Verify required modular elements" "$target"
3131

3232
for file in "${_CQA_COLLECTED_FILES[@]}"; do
3333
[[ -f "$file" ]] || continue

build/scripts/cqa-06-assemblies-use-the-official-template-assemblies-ar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cqa_parse_args "$0" "$@"
2525
_cqa06_check() {
2626
local target="$1"
2727

28-
cqa_header "6" "Verify Assemblies Follow Official Template (One User Story)" "$target"
28+
cqa_header "6" "Verify assemblies follow official template (one user story)" "$target"
2929

3030
for file in "${_CQA_COLLECTED_FILES[@]}"; do
3131
[[ "$file" != *.adoc ]] && continue

build/scripts/cqa-07-toc-max-3-levels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cqa_parse_args "$0" "$@"
2323
_cqa07_check() {
2424
local target="$1"
2525

26-
cqa_header "7" "Verify TOC Depth (Max 3 Levels)" "$target"
26+
cqa_header "7" "Verify TOC depth (max 3 levels)" "$target"
2727

2828
for file in "${_CQA_COLLECTED_FILES[@]}"; do
2929
[[ "$file" != *.adoc ]] && continue

build/scripts/cqa-08-short-description-content.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SELF_REF_REMOVABLE=(
5454
_cqa08_check() {
5555
local target="$1"
5656

57-
cqa_header "8" "Verify Short Description Content Quality" "$target"
57+
cqa_header "8" "Verify short description content quality" "$target"
5858

5959
for file in "${_CQA_COLLECTED_FILES[@]}"; do
6060
[[ "$file" != *.adoc ]] && continue

0 commit comments

Comments
 (0)