Skip to content

Govern findings exposed by complete main Sonar analysis - #41

Merged
brettheap merged 1 commit into
mainfrom
sonar-main-findings-20261113
Nov 13, 2026
Merged

brettheap merged 1 commit into
mainfrom
sonar-main-findings-20261113

Conversation

@brettheap

@brettheap brettheap commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The first complete main Sonar analysis now computes all six unchanged quality-gate conditions. It correctly fails on 4 bugs and 16 vulnerabilities while coverage (86.0%), duplication (2.6%), maintainability and hotspot review pass.

Record all 20 newly exposed issues with exact keys and evidence revision, and govern the bounded repair of the eight real HTTPS redirect findings in the implementation and assembly launchers. The twelve proposed false positives require source-flow and regression proof before disposition. Preserve the original twelve findings and the retained manual baseline; T009 stays open through full fresh CI, main gate and preservation verification. The separate delivery activation in #39/#40 remains unchanged.

Validation: strict OpenSpec validation; JSON parse; git diff --check. Native curl reproduced all eight insecure redirects against ephemeral loopback servers. Main run 43429604689 and analysis d61100b9-ea1e-4b47-9400-d0d68868e601 are retained as failed diagnostic evidence.

Summary by Sourcery

Govern the 20 findings exposed by the complete main Sonar analysis while preserving the existing assurance baseline and defining repairs for genuine HTTPS redirect defects.

New Features:

  • Document the complete-main Sonar analysis findings and add a governed workflow for triaging and repairing newly exposed issues.
  • Specify HTTPS-only behavior for installer and assembly-launcher downloads, including redirected requests.

Enhancements:

  • Record the failed complete-main analysis, quality-gate results, coverage evidence, and preservation constraints.
  • Add an inventory and source-flow disposition record for all 20 newly exposed findings while preserving the original findings baseline.
  • Extend the assurance plan with bounded transport repair, regression evidence, and fresh main-gate verification tasks.

Documentation:

  • Update the README and assurance documentation with the additional finding inventory, triage, and diagnostic evidence.

Tests:

  • Require loopback transport regression coverage for the eight insecure redirect paths and source/regression proof for proposed false-positive dispositions.

Chores:

  • Keep T009 open until full fresh CI, main-gate, and preservation verification complete.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 4 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T17:06:50.465347Z
We couldn’t complete this review. Comment @codex review to try again.
227a148 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sourcery-ai

sourcery-ai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

Data structures

Record the exact 20 additional Sonar issue identities and proposed dispositions in a structured inventory.

  • specs/010-sonar-assurance/main-findings.json L1-884

Documentation

Update the assurance requirements to govern additional findings and HTTPS redirect handling.

  • openspec/changes/repair-sonar-assurance/specs/sonar-assurance/spec.md L41, L53-61

Document the complete-main analysis evidence, including the retained gate failure, coverage results, and known limitations.

  • specs/010-sonar-assurance/evidence.md L356-386

Add the S04 triage record, preserving original findings while documenting the 20 new issue groups and repair evidence.

  • specs/010-sonar-assurance/triage.md L146-174

Extend the checklist for verifying the new findings, repairing HTTPS redirects, and completing fresh CI and main analysis.

  • specs/010-sonar-assurance/tasks.md L19-26

Link readers to the additional finding inventory and its triage record.

  • README.md L46-47

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

1 participant