Skip to content

docs(ci): govern metadata repair and preserve failed canary evidence - #40

Merged
brettheap merged 5 commits into
mainfrom
ci/activation-canary-evidence
Nov 13, 2026
Merged

brettheap merged 5 commits into
mainfrom
ci/activation-canary-evidence

Conversation

@brettheap

@brettheap brettheap commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Task set CI-METADATA-12 — paired governance and evidence

Record qualified activation, the failed initial source-routing attempt and the
owner-approved metadata repair. Add fix-source-delivery-metadata governance,
FR039–FR041 and sole tasks T044–T048. Keep T042/T043 as independent fresh-source
outcomes, not an invented stack or duplicate task store.

The paired code head is 887cd0dddf7bd5439570ba105f0689113b99dfd0. Local expert
review found no actionable issues at code887cd0d/spec41ab19e; final factual
publication notes are coordinator-reviewed. Local QA passed 908 contracts and
all41 new no-submodule cases, no skips. Strict OpenSpec/whitespace passed.
Hosted source/reuse CI, checked landings, actual main and fresh canary remain
separate pending gates. Hosted Codex is requested, not presumed passed.

The historical first canary is still failed: PR57/58 fast checks passed but
source routing selected full after Sourcery description edits. Only the two
new fallback runs were cancelled; no admission receipt, queue command, heavy
call or merge occurred. Preserve those identities and evidence.

Owner pre-approved scoped repairs, checked normal code/spec merges, fresh
canaries and evidence updates. No bypass, app/paid access, release, tool,
assembly-pin or running-lane changes; no archive or broad rollout claim.

#26

Summary by Sourcery

Govern source-delivery metadata repair and preserve failed canary evidence while requiring fresh independent canaries for final acceptance.

New Features:

  • Add governed source-delivery metadata handling that tolerates unrelated pre-routing description prose while preserving delivery decisions and strict identity checks.

Bug Fixes:

  • Prevent harmless description edits from incorrectly forcing scoped source routing to full CI while retaining conservative fallback for invalid decisions, metadata changes, and live races.
  • Preserve the failed initial canary attempt and its evidence instead of treating cancelled fallback runs as successful acceptance.

Enhancements:

  • Document the approved metadata repair, activation evidence, acceptance boundaries, and independent canary task sets without creating duplicate task stores or invented dependencies.

Documentation:

  • Record qualification, review, landing, canary, and remaining-gate evidence for the activation and metadata-repair work.

Tests:

  • Add red-first regressions covering valid prose edits, invalid intents and dependencies, identity changes, and strict live-read races.

@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 22 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

Documentation

Read the approved metadata-repair contract and handoff together: they define when description prose may differ, what remains strict, and the sole execution sequence.

  • openspec/changes/fix-source-delivery-metadata/.openspec.yaml L1-2
  • openspec/changes/fix-source-delivery-metadata/design.md L1-52
  • openspec/changes/fix-source-delivery-metadata/proposal.md L1-41
  • openspec/changes/fix-source-delivery-metadata/specs/source-delivery-metadata/spec.md L1-45
  • openspec/changes/fix-source-delivery-metadata/tasks.md L1-7

Review the feature-level requirements and task updates together to check that FR-039–FR-041 and T044–T048 preserve the failed attempt and keep T042/T043 as independent fresh-source outcomes.

  • openspec/changes/activate-claude-current-ci-cutover/design.md L75-76
  • openspec/changes/activate-claude-current-ci-cutover/tasks.md L5-6
  • specs/009-manual-two-pr-queue/plan.md L394-410
  • specs/009-manual-two-pr-queue/spec.md L193-208
  • specs/009-manual-two-pr-queue/tasks.md L234, L249-283

Read the activation record in sequence: first the qualified activation and failed pre-queue canary, then the approval boundary, local repair qualification, and hosted qualification and landing status.

  • specs/009-manual-two-pr-queue/activation-evidence.md L1-220

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

chatgpt-codex-connector Bot commented Nov 13, 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-13T16:03:12.386705Z
We couldn’t complete this review. Comment @codex review to try again.
954fe3a 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.

@brettheap
brettheap merged commit 28b5cf3 into main Nov 13, 2026
1 check 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