Skip to content

fix(ci): preserve candidate proof across initial description edits - #74

Merged
brettheap merged 1 commit into
mainfrom
ci/candidate-description-metadata-fix
Nov 14, 2026
Merged

brettheap merged 1 commit into
mainfrom
ci/candidate-description-metadata-fix

Conversation

@brettheap

@brettheap brettheap commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

CI-METADATA-15: candidate descriptions are not admission authority

Code head: a2b487b.
Base: 908d815.
Paired spec head: 2d88e4c8c299e01bf9da7e58a0081f6b5c775179.
Reconciles opensoft/openRepoTools-spec#26.

R5 source PR71/72 qualified fast-only and formed one genuine two-member batch.
Draft PR73 nevertheless selected full at00:27:07.974Z, starting duplicate full
jobs alongside the heavy caller. The complete edit history records a description
edit at00:27:05Z. This exposes a concrete compatibility defect, not proof of the
exact first historical predicate or sole cause. Both sources were dequeued and
the owned duplicate/heavy specimen runs cancelled before landing. R5 stays failed.

Bounded repair

Only the initial genuine-candidate comparison permits differing string/null
descriptions in a temporary copy. Invalid types retain full. Descriptions never
supply members, reviews, admission or merge authority. Genuine Mergify draft,
head/base/ref, tested Git parents, fixed modes/scope, real authenticated admission,
independent live source reviews and final raw rereads remain mandatory. The
original live PR is not modified. Fixed candidate diagnostics contain field
names/refusal codes only, not prose, hints, arbitrary exception text or payloads.

No workflow, queue, flag, baseline, selector, schema, retry, permission, dependency,
installed-tool, assembly-pin, running-lane or release change.

Actual validation and review

  • Red on unchanged main:18/18 positive prose-transition cases failed,5400deselected.
  • Green no-submodule:53new cases plus existing final-reread case passed,0skip.
  • Broader cutover/local-review/delivery selection:532passed,0skip,4886deselected.
  • Complete CI-contract selection:1020passed,0skip,4398deselected.
  • Both governing OpenSpec changes pass strict validation in the existing bench image.
  • Master plus nine standard expert roles and the CI specialist reviewed the exact
    code/spec heads without actionable findings. Expert review is static; coordinator
    QA is separate. Explicit hosted Codex review is requested, quota is not approval.

The new module adds53cases (5418total expected); no existing test ID is removed.
Ordinary15/reusable17 first-attempt full CI, all four complete test inventories,
normal checked landing/tree parity and actual-main qualification remain required.
Only after those gates may genuinely fresh R6 sources be prepared. This repair
PR is not a queue command, live canary qualification or assembly adoption.

Owner standing approval covers directly related fixes, checked merges and fresh
canaries. No ruleset/bypass, app access, paid upgrade, release or lane1–5 change.

@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 19 hours and 18 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

Implementation

Allow only string-or-null candidate descriptions to differ in the initial comparison, while preserving other identity checks and emitting field-name-only diagnostics.

  • .github/ci/delivery_route.py L37-39, L178-192

Documentation

Document the bounded initial-description exception, retained proof requirements, and the failed R5 outcome.

  • .github/ci/delivery-cutover.md L200-214
  • features/009-manual-two-pr-queue/openspec/activation.md L94-110

Tests

Cover permitted description transitions, invalid types, unchanged identity and evidence requirements, strict final rereads, and safe diagnostics.

  • tests/test_ci_candidate_metadata.py L1-116

Update the generated-merge-hint regression to verify that a body change during final verification still selects full fallback.

  • tests/test_ci_cutover.py L577-585

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

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-14T01:11:00.503695Z
We couldn’t complete this review. Comment @codex review to try again.
a2b487b 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.

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Exact-head local expert review: CI-METADATA-15

Code908d815db2b2789b44828248a83bc8991ad71454 -> a2b487b.
Specd266136dfd0e27ca258a55131898b221f7807c61 -> aea8db43d0a49eb28046c6f3098d7223ade0fc94.

Master independent inspection plus Architecture, Performance, Security, QA,
Static/Sonar, API/Integration, Data Integrity, Reliability/Concurrency, Simplicity
and CI expert review found no actionable findings at these exact refs. All expert
reviews were static and read-only; the coordinator executed QA independently.
No guarantee of hosted Sonar or live acceptance is made.

The temporary initial comparison copy separates description prose from actual
live proof. Invalid body types refuse. Original current PR, tested parents,
identity/scope, authenticated admission, independent source reviews and all final
raw rereads remain unchanged. Fixed diagnostics expose only codes/field names.

Red:18positive description cases fail on unchanged908,5400deselected. Green:
54focused cases pass without upstream,5364deselected;532broader cases pass with
the exact pinned upstream,4886deselected. All0skip. Complete CI-contract QA passes
1020/0skip/4398deselected. Strict OpenSpec validation passes for both governing changes.

The new test module has53cases, total5418expected. Existing test IDs remain;
the existing candidate-body test now explicitly exercises the strict final read.
Full ordinary/reuse CI and all four complete inventories, checked source merges,
actual-main qualification and fresh R6 live acceptance remain future gates.
No source review acceptance receipt, queue action or live authority follows from
this local report. All excluded resources and running lanes are unchanged.

@brettheap

Copy link
Copy Markdown
Contributor Author

Exact-head full source qualification

Codea2b487b812fab6f35dce87701bc3fde20e30edeb / spec2d88e4c8c299e01bf9da7e58a0081f6b5c775179
retain clean exact-head local expert review. Both governing OpenSpec changes pass
strict validation. Hosted Codex requests received quota failures, not completed
reviews; the owner-approved local expert path is the actual review evidence.

Actual first-attempt code runs:

  • Ordinary43538976048:SUCCESS15/15, every job successful, no skipped full job.
  • Reusable43538975985:SUCCESS17/17, every job successful.
  • Fast43538976079:SUCCESS1/1, separate feedback not heavy acceptance.

All four complete JUnit inventories contain5418unique cases, preserve all5365
baseline identities and add exactly the53reviewed passing regressions. No removed
or duplicate tests, failures/errors or skip-identity drift. Both normal variants:
5245passed/173existing skips. Both intentional no-submodule variants:
3896passed/1522existing skips. This is complete coverage evidence, not counts alone.

Actual GitHub heads/bases remain revieweda2b487b/908d815 and2d88e4c/d266136;
both PRs are clean/mergeable with complete empty review-thread lists. Normal
checked source merges, landed-tree equality and actual-main qualification remain
the next gates; no queue/canary/adoption/release acceptance is implied here.

R5 stays failed and stopped. Fresh R6 sources must follow a qualified new main.
Preserve all lane/session/worktree/tool/assembly/settings/app/paid/release boundaries.

@brettheap
brettheap merged commit a15a6b5 into main Nov 14, 2026
54 checks passed
brettheap added a commit that referenced this pull request Nov 14, 2026
…resh its base for the code queue

Code main's tip is a15a6b5 (#74). The code queue's check needs the pull request's base to be main's tip and main to be an ancestor of its head (.github/ci/delivery_verify.py:296 and :299 at code 908d815, unchanged at a15a6b5). The merge is clean, and the pull request's own diff against main is unchanged: its patch-id is 956b970ef978932a6da4c0bde2008150de942894 before and after.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Nov 14, 2026
… for the code queue

Code main's tip is a15a6b5 (#74). The code queue's check needs the pull request's base to be main's tip and main to be an ancestor of its head (.github/ci/delivery_verify.py:296 and :299 at code 908d815, unchanged at a15a6b5). The merge is clean, and the pull request's own diff against main is unchanged: its patch-id is ea1884598f20732940c059131d814e6887707000 before and after.

Lane: openRepoTools-3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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