Skip to content

spec: bound omitted Sonar eligibility to proven pin-only PR merges - #56

Merged
brettheap merged 2 commits into
mainfrom
fix/sonar-pin-only-eligibility-20261114
Nov 14, 2026
Merged

brettheap merged 2 commits into
mainfrom
fix/sonar-pin-only-eligibility-20261114

Conversation

@brettheap

@brettheap brettheap commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Scope

Extend existing repair-sonar-assurance / feature010 with S05/T013–T015 for the owner-approved Sonar eligibility compatibility repair exposed by opensoft/openRepoTools#363.

Document a positive exact-CI-merge pin-only proof for the absent-metric/zero-changed-component response. Missing eligibility is not generally zero: real, mixed, mode-changing, unpaired, contradictory and uncertain cases remain failures. Complete main indexing, measured coverage, exact server revision, unchanged thresholds and full suites remain mandatory.

The single executable checklist remains feature010/tasks.md. T013's diagnosis is complete; source implementation/review and fresh CI/assembly/main/SAFE acceptance are distinct gates, not pre-credited as complete. Earlier failed run43594656117 remains failed evidence.

Paired code branch: fix/sonar-pin-only-eligibility-20261114. Local code QA:86 focused Sonar cases pass; actual PR363 Git-object replay proves the intended four-path scope. Independent local expert panel reviewed code7881268 and this specc14c3ec with no actionable findings. Strict OpenSpec and hosted spec checks remain required.

No Sonar/settings/workflow/threshold change, bypass, app access, paid upgrade, release/tag, tool installation, session restart or wider CI scope. Preserve all running work; refresh is separately authorized only after checked assembly/main qualification and fresh all-owner SAFE.

Summary by Sourcery

Bound omitted Sonar PR eligibility to positively verified pin-only merges without weakening main coverage, thresholds, or fail-closed verification requirements.

New Features:

  • Add a narrowly scoped compatibility exception for absent Sonar PR eligibility metrics when an exact pin-only merge is positively proven.

Bug Fixes:

  • Prevent valid pin-only PR merges from failing verification while keeping ambiguous, mixed, contradictory, and non-pin-only cases fail-closed.

Enhancements:

  • Document the exact merge, path, identity, and metric evidence required for the exception while preserving existing main-analysis and threshold requirements.
  • Record S05 evidence, regression results, and remaining qualification gates for the Sonar assurance workflow.

Documentation:

  • Extend the Sonar assurance design, specification, evidence, and task checklist with the pin-only eligibility compatibility rules and acceptance status.

Tests:

  • Add positive and negative regression coverage for pin-only eligibility handling and replay the affected assembly PR's Git objects.

@sourcery-ai

sourcery-ai Bot commented Nov 14, 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 16 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Define the fail-closed pin-only eligibility exception and its limits, then record the follow-up evidence and remaining acceptance gates.

  • openspec/changes/repair-sonar-assurance/design.md L22-38
  • openspec/changes/repair-sonar-assurance/specs/sonar-assurance/spec.md L40-47
  • specs/010-sonar-assurance/evidence.md L500-536
  • specs/010-sonar-assurance/tasks.md L29-56

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

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T17:20:37.274422Z a07e313 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

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: c14c3ec642

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@brettheap

Copy link
Copy Markdown
Contributor Author

Latest governance heada07e3133a1abfc03e1a2ce8dc6eb67b144514546 records actual local evidence and marks only T014 local implementation/review complete. T015 remains open for full source/assembly/main qualification, checked landings and fresh five-owner SAFE-gated refresh. Code is6e324e2;89focusedcasespass,40new/49retained. Strict repair-sonar-assurance validation passes. Exact-head local review refreshed; no release/settings/app/paid/tool/session changes or assembly acceptance is implied.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: a07e3133a1

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap
brettheap merged commit 68796b9 into main Nov 14, 2026
1 check passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Normal checked squash merge completed as68796b93ae545b10aaedb3895d394481a73c2527, soleparent7812b447e25c165b857c20bd4e009850d63f98cc, treed57a68a56b849c075d0f07e7b5622c1afe32fff5 equal to reviewed heada07e313 and its GitHub test-merge tree. Latest-head hosted Codex receipt6881355217 reports no major issues; exact-head local panel and strict repair-sonar-assurance validation pass. Published landing register/blob were current and primary said none open immediately before the normal merge; unrelated working-head/WIP was preserved. Code84 full CI remains running; no assembled acceptance, shared refresh, settings, tool/session or release action is claimed.

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