Skip to content

ci: add an advisory task-set pilot with all existing gates retained - #37

Merged
brettheap merged 1 commit into
mainfrom
008-ci-only-task-set-pilot
Nov 11, 2026
Merged

brettheap merged 1 commit into
mainfrom
008-ci-only-task-set-pilot

Conversation

@brettheap

@brettheap brettheap commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Scope

Implement Brett's approved CI-only shadow pilot for small task-set PRs. This
does not enable fast-only acceptance or Mergify queue admission.

  • Add ci-pilot.yml, separate from all existing test/release workflows, with
    read-only permissions, immutable action pins and no persisted checkout credential.
  • Observe only regular added/modified claude-current and its own test file.
    Every result says required_ci=full and queue_admission=false, including a
    shadow candidate. The classifier runs from the candidate checkout and MUST NOT
    become an authoritative admission/skip gate without a separately reviewed
    trusted-default-branch implementation.
  • Use each PR's current immediate base/head and merge-base diff. Mixed/unknown
    paths, renames, deletions, modes, missing objects/context, draft/fork/closed/
    dequeued events and pushes retain full scope. Labels/body/actor grant nothing.
  • Add one shared code-local instruction file through AGENTS.md; CLAUDE.md already
    reads AGENTS.md. Preserve assembly/spec ownership and lanes 1–5.

PR 34 coordination

Related: #34, at 13600fd1dda267efd84b3f894ba0c7be373ddd80 when checked.
Its verify.yml remains its own work; no copy, cherry-pick, merge or dispatch.
The shared instructions distinguish targeted feedback from required full and
exact-pin composed acceptance. Coordination comment:
#34 (comment)

Governance and the only executable task list: feature 008 in companion
opensoft/openRepoTools-spec#24.
Related prior CI performance work: opensoft/openRepoTools#300 and
opensoft/openRepoTools#77.

Verification

  • Offline tests in a disposable instance of the existing py-bench image, using
    tests/run.sh and the pinned openRepoShape files; no running-bench test process.
  • Classifier plus existing CI/sharding-contract tests: 117 passed, no selected
    skips, with CI's pytest 8.3.4 pin (58.43s). An earlier pass also passed on
    the image's pytest 9.1.1; the pinned run is the qualification result.
  • actionlint passes; strict OpenSpec validation passes in the spec companion.
  • tests.yml, release.yml, verify.yml, all runtime commands and assembly pins
    are unchanged. No Mergify configuration or gate/status impersonation.

Delivery boundary

Set CI-PILOT-01, tasks T001–T003. No predecessor; this configuration/instruction
PR is intentionally full CI, not an eligible fast-only stack. Existing full
checks and exact-head review still apply. No live stack/canary, queueing, merge,
ruleset bypass, app access, release edits or tag. No messages or binding changes
were sent to the active lanes.

@sourcery-ai

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

@sourcery-ai

sourcery-ai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Implement the candidate-checkout scope classifier, keeping every result advisory with full CI required and queue admission disabled.

  • .github/ci/pilot_scope.py L1-102

Configuration

Add a separate read-only workflow to run shadow classification and the offline pilot contract without affecting existing gates.

  • .github/workflows/ci-pilot.yml L1-47

Documentation

Document the shared task-set pilot boundaries, PR 34 coordination, and lane-preserving delivery guidance.

  • .github/ci/task-set-delivery.md L1-57

Point both agents to the shared pilot instructions while retaining existing acceptance requirements.

  • AGENTS.md L41-47

Tests

Exercise classifier fallbacks, safe candidate classification, CLI behavior, and workflow isolation using offline Git fixtures.

  • tests/test_ci_pilot.py L1-267

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 brettheap changed the title CI-only-task-set-pilot ci: add an advisory task-set pilot with all existing gates retained Nov 11, 2026
@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 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-11T00:58:59.356280Z 0b6e18f 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.

@brettheap

Copy link
Copy Markdown
Contributor Author

Exact-head pilot readback:

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 0b6e18f9da

ℹ️ 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 ad740a1 into main Nov 11, 2026
23 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Merged normally on Brett's explicit instruction after exact-head gate checks:

Lanes 1–5 preserved: no pane messages, bindings, claims, profiles or existing worktrees changed; running py-bench/cloud-bench container identities and start times remain unchanged. No live canary, queue activation, ruleset bypass, app access, release workflow change or tag. Assembly pins and OpenSpec archive remain untouched; advancing the assembled project is a separate future pin PR.

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