Skip to content

Enforce HTTPS downloads and complete main Sonar triage - #362

Merged
brettheap merged 4 commits into
mainfrom
sonar-main-findings-20261113
Nov 13, 2026
Merged

brettheap merged 4 commits into
mainfrom
sonar-main-findings-20261113

Conversation

@brettheap

@brettheap brettheap commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The complete main Sonar analysis computes all six unchanged quality-gate conditions and correctly exposed 4 bugs and 16 vulnerabilities. Twelve are substantiated false positives with published source-flow/regression proof; eight were real curl download paths that permitted HTTPS-to-HTTP redirects.

Restrict the three assembly-launcher calls to HTTPS on initial requests and redirects, retaining certificate validation and the provider's existing TLS floor. Consume the five-call implementation repair from code PR #63 and the full canonical-launcher coverage regression from code PR #64, at merged code bb25361. Consume the governing/triage evidence from spec PR #41 and spec PR #43, at dedef8348f32802af87f1ff23dfc661c68f31e66. Standard bump-leg tooling advanced each gitlink, pin and digest together. The selected provider and root's ten copied shape files are unchanged.

The protocol regressions capture actual function arguments and exercise native curl against ephemeral HTTPS/HTTP servers. The added public-CLI case executes a byte-identical standalone launcher through commit lookup, pin retrieval, gitlink validation and a failed nonempty implementation download. It must refuse without executing that partial payload. The production Bash collector freshly recorded all three changed coverable root lines (279, 311, 344) against the complete canonical source SHA; source bytes stayed unchanged. Function extraction is not counted as canonical-source execution.

Source validation:

  • Code PR wip init's owed-candidate index check compares blob content but never the staged mode #63 full run 43470015710 passed all jobs; all 5253 cases were accounted for in each mode, with only 3 explicit added assembly-context skips. Main run 43476514960 passed full test/package CI.
  • Code PR wip init pushes an adopted checkout's local HEAD verbatim, unreviewed, even when this run wrote nothing #64 exact-head full run 43481431999 passed all jobs at e2ebf0f5c466d477ab25b55b04b6a43e39a1945a. Ordinary: 5081 passed/173 explained skips; no-submodule: 3732 passed/1522 explained skips; 5254 distinct cases in each mode. The one added case needs the real assembly and runs in composed context. Package passed without skips.
  • The merged code also preserves the independently published delivery diagnostics from code PR #62, which passed full CI and qualification. Its delta is confined to delivery_route.py, its regressions and its runbook; launcher/runtime/provenance files match our tested head. Combined-main targeted validation passed 203 cases with zero skips. The combined main's full run 43487813248 passed every test/package job. Independent JUnit audit accounts for 5261 distinct cases per mode: ordinary 5088 passed/173 explained skips; no-submodule 3739 passed/1522 explained skips. The seven added owner-diagnostic cases passed and existing skip reasons are unchanged.
  • make validate, actionlint, bash -n and git diff --check pass. Mounted composed launcher/installer/delivery feedback passed all 312 cases with zero skips; full composed/provider CI passed on these selected merged pins (run 43489328096). Composed: 5255 passed/6 explained skips; provider: 22480 passed/360 explained skips. The two 64-file reports have identical per-file executable denominators; their measured union is Python 31922/36045 and shell 16398/20088. Both exact-copy probes credit 190 observations and zero modified copies. No old-commit coverage or acceptance is reused.

Sonar readback confirms exactly 12 new issues RESOLVED/FALSE-POSITIVE with per-issue evidence comments; all 8 real download issues remain OPEN pending automatic closure in a fresh main scan. The original 12 remain resolved/closed. Keep all six Sonar way conditions and thresholds, the oldest retained manual baseline, complete source/test scope, existing required checks and failed diagnostic history. The separate code-project Sonar check is neutral (“Quality Gate not computed”) and is not used as Sonar acceptance; this repair's required complete assembly analysis includes code and provider sources with measured coverage.

Work is confined to isolated maintenance checkouts. Preserve active sessions, shared worktrees, lane bindings, installed tools and the owner's separate delivery changes; invoke no queue. Sonar's valid-Bash parser warnings, intentional UTF-8 negative-test warnings and submodule blame limitation remain documented. Complete index/coverage is not a claim of perfect native parser support. Hosted Codex reviews were requested but quota-blocked; those responses are not review approval. T009/T012 stay open through normal landing and actual main acceptance.

Current PR Sonar receipt: analysis 8e727dea-d650-4391-b5a8-bd88b7dcf7ea, tested merge revision 2ad29d7. All six unchanged conditions computed OK, including 100.0% coverage of the three eligible changed root lines, with ignoredConditions=false. Full-index and main coverage-import receipt flags remain false for this PR: actual current-main acceptance still requires a fresh post-merge run, complete index/per-file coverage readback and the retained real period. The user confirmed keeping service repairs scoped to the complete assembly project.

Brett Heap and others added 3 commits November 13, 2026 17:20
9311051d340a -> dedef8348f32, tree b57873274c6caba3bcf77bbefa1d2704ba22830184e6e9fb933307687e851662.

No workflow reference names this leg, so the gitlink and the pin file are the whole of it.

The gitlink at spec, `commit:` and `digests.tree_sha256` in contracts/spec-pin.yaml, and every workflow reference to opensoft/openRepoTools-spec move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change.

Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted.
22aac02 -> 338eb42, tree ef0483909d771d79a05373edb9cb072853df3fe5b608761ac30127151bf6b096.

No workflow reference names this leg, so the gitlink and the pin file are the whole of it.

The gitlink at code, `commit:` and `digests.tree_sha256` in contracts/code-pin.yaml, and every workflow reference to opensoft/openRepoTools-code move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change.

Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted.
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

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-13T22:35:57.334123Z
We couldn’t complete this review. Comment @codex review to try again.
4fe566e 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

Configuration

Advance the code submodule pin and its recorded tree digest together to the commit containing the HTTPS-download repair and launcher regression coverage.

  • contracts/code-pin.yaml L24, L39

Advance the spec submodule pin and its recorded tree digest together to the commit containing the Sonar triage evidence.

  • contracts/spec-pin.yaml L24, L39

Lock files and vendored code

Consume the merged code submodule containing the assembly-launcher HTTPS enforcement and coverage changes.

  • code L1

Consume the merged spec submodule containing the governing and triage evidence.

  • spec L1

Other changes

Files not grouped.

  • openRepoTools L279, L311, L344

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

338eb42 -> bb25361, tree 671067103efc41c13df32100d8c72ef25f6400b3ea5b7836ac8c949de5dadd23.

No workflow reference names this leg, so the gitlink and the pin file are the whole of it.

The gitlink at code, `commit:` and `digests.tree_sha256` in contracts/code-pin.yaml, and every workflow reference to opensoft/openRepoTools-code move in ONE commit because `scripts/validate-pins.py` refuses when they disagree — a gitlink advanced alone is red on the next pull request, and on somebody else's change.

Written by openRepoShape's `scripts/bump-leg.py`; the digest is recomputed from the leg's own objects, not adjusted.
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@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.

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review November 13, 2026 22:35
@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 18 hours and 47 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@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.

@brettheap
brettheap merged commit 4377a70 into main Nov 13, 2026
7 checks passed
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