Skip to content

fix(analysis): use H3 and H4 for report headings - #2174

Merged
lizhengfeng101 merged 1 commit into
mainfrom
fix/analysis-report-headings
Dec 2, 2026
Merged

lizhengfeng101 merged 1 commit into
mainfrom
fix/analysis-report-headings

Conversation

@lizhengfeng101

Copy link
Copy Markdown
Contributor

Description

Use ### for sections and #### for subsections in newly generated --analysis reports, so the report body starts one level below H2. Apply the same rule to the optional pre-merge decisions section and to reports submitted in the final round. Existing reports are not rewritten; the viewer keeps their heading spacing and applies it to H4 as well.

Type of Change

  • Bug fix (non-breaking report formatting change)

How Has This Been Tested?

  • make check passed.
  • make test PACKAGES=./internal/config/template passed, including assertions for heading levels in all three report-writing prompts. The full test suite was not run locally.
  • ocr review --audience agent reported no findings across the two selected items.

Checklist

  • Project formatting and vet checks pass.
  • Regression tests cover the heading guidance.
  • Contributor self-review of AI-generated changes and PR text.

AI Disclosure

OpenAI Codex CLI (gpt-6.2-astra) was used to prepare the changes and this PR. Open Code Review (gpt-6.2-astra) was used for the pre-commit review.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

OpenCodeReview · Complete review: 2 of 2 selected files covered

0 findings.

Review info

Reviewed commits: c445fb4e377d7ece749468c0c80870deb60fe473 → 3775d68dbe6eb3a6e9bcf7e297d89ea55f165c80

File Result
internal/viewer/static/style.css Reviewed
internal/config/template/behavior_template.json Reviewed

@css521 css521 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 0305812 into main Dec 2, 2026
13 checks passed
@lizhengfeng101
lizhengfeng101 deleted the fix/analysis-report-headings branch December 2, 2026 13:43
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