Skip to content

fix(ci): retain scoped delivery across source description prose edits - #59

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

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

Conversation

@brettheap

@brettheap brettheap commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Task set CI-METADATA-12 — T044–T046

Repair the source-description race exposed by the initial canary in spec issue
26. Validate both event/live descriptions' unique supported opt-ins and absence
of dependencies, then disregard only unrelated prose for the initial snapshot
comparison. Retain every other snapshot field, actual Git/fast provenance and
strict full-body live rereads. No actor exemption or global snapshot change.

Exact code head: 887cd0d.
Reviewed base: 30abf79.

Validation and review

  • Old router: six expected regression failures, 35 passing refusal/race cases.
  • Repaired canonical offline bench run: 908 CI contracts passed, no skips.
  • All 41 new regressions passed without the submodule, no skips.
  • Tested/exported patch bytes exactly match this committed code.
  • Master, nine standard expert roles and CI specialist completed pre-pr-review
    on this exact head/base with no actionable findings. Experts reviewed
    statically; the coordinator executed the recorded tests.
  • Strict OpenSpec and whitespace validation passed. Hosted ordinary/reusable
    full CI is required and is not yet claimed passed. Hosted Codex will also be
    requested; a quota failure is not approval or permission for paid upgrades.

Scope and landing

Three files only: delivery_route.py, test_ci_cutover.py and delivery-cutover.md.
No workflow/trigger/permission/queue/schema/baseline/dependency change. This is
a full-CI configuration PR, not an eligible fast source or queue admission.

Owner pre-approved scoped repairs, checked normal code/spec merges, fresh
canaries and evidence updates. Merge only exact reviewed heads with full CI
green; verify landed trees and actual main before fresh independent sources.
Keep failed PR57/58 evidence failed. No bypass, app/paid access, release, tool,
assembly-pin or lane1–5 change. Assembly adoption remains excluded.

Governance: fix-source-delivery-metadata in the spec leg; sole feature009 tasks.
opensoft/openRepoTools-spec#26

Summary by Sourcery

Preserve scoped source delivery when unrelated pull request description prose changes before routing.

Bug Fixes:

  • Allow source delivery routing to tolerate unrelated prose edits between the triggering event and the live pull request while preserving strict opt-in, dependency, metadata, provenance, and later reread validation.

Enhancements:

  • Document the scoped source-description comparison rules and their limits.

Tests:

  • Add regression coverage for prose edits, opt-in or dependency drift, metadata changes, and live reread races on both event and live descriptions.

@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 1 day and 3 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Adjust source routing to allow unrelated prose differences between event and live descriptions while independently validating opt-ins and dependencies and retaining strict checks for other metadata and later rereads.

  • .github/ci/delivery_route.py L95-100

Documentation

Document the source-event prose exception and its limits on metadata, verification, and routing authority.

  • .github/ci/delivery-cutover.md L167-176

Tests

Add regression coverage for harmless prose edits, decision and metadata drift, and strict live rereads.

  • tests/test_ci_cutover.py L132-204

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

@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-13T15:15:12.688181Z
We couldn’t complete this review. Comment @codex review to try again.
887cd0d 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
brettheap merged commit 000743a into main Nov 13, 2026
46 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