Skip to content

ci: prepare non-gating claude-current candidate qualification - #50

Merged
brettheap merged 2 commits into
mainfrom
ci/candidate-shadow-caller
Nov 12, 2026
Merged

brettheap merged 2 commits into
mainfrom
ci/candidate-shadow-caller

Conversation

@brettheap

@brettheap brettheap commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Scope

Companion governance: opensoft/openRepoTools-spec#31

Prepare the next non-gating claude-current qualification step for the fast/heavy rollout. This is config-only preparation, not fast-only CI activation. User authority is to prepare/open this PR; no merge or live canary is authorized.

  • Add a queue-push-only shadow caller. Its read-only probe checks out trusted main and uses the existing complete candidate verifier.
  • Only explicit probe success schedules the existing reusable candidate entry, which independently verifies, executes the same complete 13-job full workflow, and rechecks live evidence.
  • Keep the two-file scope, at most two independent main-based members, exact-head fast provenance and official clean Codex/thread proof unchanged. Missing policy, failures, mixed/unknown scope or stale evidence cannot schedule additional qualification.
  • Keep tests.yml, its inventory, the verifier/reusable entry, .mergify.yml, all required gates and releases unchanged. No queue/ruleset consumes these observations. This stage deliberately does not save heavy runs: a positive future observation adds integration while current full CI remains mandatory.
  • Record feature009 amendment CANDIDATE-SHADOW-08 / FR-022–FR-024 with one canonical Speckit task list and matching spec proposal under spec issue26.

Verification

  • Red-first: 16 caller cases failed at setup while the new workflow was absent.
  • 577 focused regressions passed, zero skips, including the 16 new caller cases and existing candidate Git/API fault vectors, shadow, queue, parity, full-workflow and shard regressions.
  • Ran tests/run.sh unprivileged (UID1000), offline, in a disposable existing bench image limited to 2 CPUs / 2 GiB. No host credentials or Docker socket in QA.
  • Workflow actionlint, strict OpenSpec and whitespace checks passed. Protected control/coverage/release files have no diff.
  • Hosted full CI/reusable qualification and exact-head Codex review remain separate pending gates, not claimed complete by local tests.

Boundaries and next gates

No merge, live candidate/canary, queue command, bypass, ruleset/app-access/paid-plan change, release/tag, assembly pin or installed-session change. Lanes1–5 and the shared py/cloud checkout remain untouched at 4b3c3f3.

After separately approved source merge: obtain explicit scoped live-qualification authority and collect member/candidate/run/landed-tree evidence. Then propose admission and required-check migration separately. Do not fabricate full-check aliases, Codex receipts or CI-saving acceptance.

Summary by Sourcery

Prepare a non-gating shadow path for future claude-current candidate qualification without activating fast-only CI or changing existing gates.

New Features:

  • Add a push-only, non-gating shadow workflow that probes trusted-main candidate policy before invoking the existing reusable qualification workflow.

Enhancements:

  • Document the candidate-shadow preparation, its non-gating boundaries, and the required approvals for future qualification and admission.
  • Preserve existing full CI, queue, release, and required-check behavior while explicitly deferring any CI savings or cutover.

CI:

  • Add offline contract coverage for the shadow workflow's trigger, permissions, probe outcomes, scheduling condition, and reusable full-coverage path.

Documentation:

  • Record the CANDIDATE-SHADOW-08 amendment and its FR-022–FR-024 requirements in the feature specification.

Tests:

  • Add regression tests covering the shadow caller graph, probe failure handling, and candidate scheduling behavior.

@sourcery-ai

sourcery-ai Bot commented Nov 12, 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 2 days and 4 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Add a queue-push-only, non-gating workflow that probes trusted-main candidate policy and schedules the existing reusable qualification only on explicit success.

  • .github/workflows/task-set-candidate-shadow.yml L1-50

Documentation

Document the proposed caller’s non-gating boundaries, retained full-CI requirements, and separate approval gates alongside the existing delivery guidance.

  • .github/ci/delivery-preparation.md L20-21, L74-107
  • .github/ci/task-set-delivery.md L5-8
  • features/009-manual-two-pr-queue/openspec/candidate-shadow-caller.md L1-24

Tests

Add offline contracts for the caller’s trigger, permissions, trusted checkout, probe shell, scheduling condition, and preservation of full qualification and CI coverage.

  • tests/test_ci_candidate_shadow.py L1-104

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 12, 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-12T17:04:59.587403Z
We couldn’t complete this review. Comment @codex review to try again.
d8ebdba 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.

@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

Copy link
Copy Markdown
Contributor Author

User-approved local skill review at exact code head d8ebdba and paired spec e0f1067a6f50e2d93c82b71897dd254cd57852ba is complete: nine expert roles plus master, no remaining actionable findings. QA identified one non-blocking case-sensitivity error in the offline scheduling model; d8ebdba corrects it to Actions semantics and explicitly limits the test to a bounded graph contract, not hosted scheduler proof. No production workflow/config change in the repair. All577focused regressions reran unprivileged/offline and passed with zero skips; actionlint/strictOpenSpec/whitespace checks passed. Latest-head full run43265605486 remains in progress; no merge until full CI and fresh head/base/thread checks pass. The official connector could not review due quota; this local review is the user's approved substitute for these two preparation PRs only, not an official managed candidate-review receipt. No live canary, bypass, ruleset/app/release or running-lane change.

@brettheap
brettheap merged commit 59c26e8 into main Nov 12, 2026
27 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Checked source landing complete under the user's explicit local-review/merge approval. Final head d8ebdba passed full run https://github.com/opensoft/openRepoTools-code/actions/runs/43265605486: all13expanded jobs SUCCESS, with the four required exact-head Actions checks and current CI/quality checks green. Nine-role-plus-master local review was clean after the test-model correction; official connector quota remained unavailable, not forged into approval. Fresh bases/heads/complete resolved-or-empty threads were checked. Normal merge59c26e8cda9a817746ce8ec9522ae8ff043af771 has tree9acdb66e35e5a3dcc280ce3b412464e6ad27025a, exactly the reviewed d8 and actual full-test checkout561f9c7 tree. Companion spec PR31 merged26bb8f0d4a2cdb6966d6159a17cd3db6ba52b3c4 with its reviewed tree. Main full run43272718304 is in progress, not yet claimed passed. No live canary/queue command, ruleset/bypass/app/release/tag, assembly pin or running-lane change. The shared benches remain at4b3c3f3. This publishes non-gating preparation, not fast-only/one-heavy-run deployment.

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