Skip to content

spec: stage manual v1.3 heavy-held delivery - #66

Merged
brettheap merged 3 commits into
mainfrom
014-v13-manual-delivery
Nov 15, 2026
Merged

brettheap merged 3 commits into
mainfrom
014-v13-manual-delivery

Conversation

@brettheap

@brettheap brettheap commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stage the manual sql-register-v13 delivery queue and explicitly pinned one-to-three-commit linear corrections to the existing test-only profiles. Companion code branch: opensoft/openRepoTools-code:014-v13-manual-delivery, exact head436e2dd12c6070c882aac2730f4b9a207cfbda11.

Canonical OpenSpec change: openspec/changes/stage-v13-manual-delivery. Existing queues, foundation freeze, source bindings and actual false flag remain unchanged. This source PR grants no queue command, owner-PR edit, activation or live acceptance.

Validation

  • Strict OpenSpec and diff checks pass.
  • Canonical isolated code regressions:846passed,4951deselected,zero skips,204.90s.
  • Local root plus9specialist source review clean; final spec delta only records these actual results and completes local-validation task2.1.
  • Genuine exact-head Codex review requested separately. Normal merge only after latest-head gates and review pass.

Authority and follow-through

Brett approved staged reviewed source/config merges and owner-consented canaries. This PR remains the disabled source stage. Lanes1–5 and owner full-CI product batches are preserved. No bypass, settings/app access, paid upgrades, releases, installed tools, provider/assembly pins or shared-checkout refresh. Actual live qualification is a later evidence gate, not source publication.

Coordination: opensoft/openRepoTools#165, comment6895925066. P01 real-engine smoke43722592020 is independently verified; new main43721893119 is tracked separately.

Summary by Sourcery

Stage the manually controlled v1.3 heavy-held delivery path and bounded correction lineage without activating routing or changing existing delivery boundaries.

New Features:

  • Stage a separate manual heavy-held v1.3 delivery queue for narrowly scoped test-only changes while keeping automatic admission disabled.
  • Support explicitly reviewed linear source histories of up to three commits for bounded test-only corrections.

Enhancements:

  • Preserve existing queues, profiles, bindings, full-CI coverage, owner branches, and the disabled delivery flag while documenting later enablement and canary gates.

Documentation:

  • Add the OpenSpec proposal, design, requirements, tasks, and validation record for the staged delivery flow and its activation boundaries.

Tests:

  • Add and validate queue, lineage, shadow, parity, and refusal coverage for the staged v1.3 delivery behavior.

@sourcery-ai

sourcery-ai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Declare this OpenSpec change as spec-driven and record its creation date.

  • openspec/changes/stage-v13-manual-delivery/.openspec.yaml L1-2

Documentation

Define the manual queue, bounded correction-lineage contract, and disabled-stage boundaries, with the proposal and design explaining their scope and rationale.

  • openspec/changes/stage-v13-manual-delivery/design.md L1-55
  • openspec/changes/stage-v13-manual-delivery/proposal.md L1-42
  • openspec/changes/stage-v13-manual-delivery/specs/v13-manual-delivery/spec.md L1-71

Record the implementation and publication tasks alongside the validation evidence and remaining follow-through gates.

  • openspec/changes/stage-v13-manual-delivery/tasks.md L1-16
  • openspec/changes/stage-v13-manual-delivery/validation.md L1-78

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Paired implementation: opensoft/openRepoTools-code#100 at436e2dd12c6070c882aac2730f4b9a207cfbda11. Both remain disabled source staging; ordinary full and reusable CI plus exact-head reviews are required before normal checked merge. No admission/owner edit/pin/lane/release action follows from source publication.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 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-15T15:25:51.079353Z a3af5ab 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

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 34ba8b8549

ℹ️ 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".

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="openspec/changes/stage-v13-manual-delivery/specs/v13-manual-delivery/spec.md" line_range="16" />
<code_context>
+independent main-targeted same-repository ready members in the existing test-only
+scope. Entry SHALL require repository-writer permission, matching v1.3 intent,
+supported task-set identity and GitHub Actions fast/delivery success. Merging
+SHALL require the authenticated complete batch-heavy check. No automatic entry,
+retry, failure split, existing-queue edit or protection-injection weakening SHALL
+be added. Eligibility SHALL NOT grant admission, review or merge authority.
</code_context>
<issue_to_address>
**Sources bypass the heavy gate**

When v1.3 delivery is enabled and a writer merges an eligible fast/delivery-green source outside the manual queue while branch protections do not require the batch-heavy check, the ordinary PR path accepts the source without the authenticated batch-heavy check, so the manual queue’s heavy gate does not ensure every merged source satisfies the stated requirement.

Require the complete batch-heavy check for every source merge, including merges through the ordinary PR path.

Also at `openspec/changes/stage-v13-manual-delivery/design.md:25`.
</issue_to_address>

### Comment 2
<location path="openspec/changes/stage-v13-manual-delivery/specs/v13-manual-delivery/spec.md" line_range="31-34" />
<code_context>
+### Requirement: Reviewed linear correction lineage is bounded
+
+A trusted test-only profile MAY explicitly bind one to three unique full source
+commit identities, ending at its exact registered head. The system SHALL verify
+each commit has exactly the previous registered parent, starting at the frozen
+P01 head, and every cumulative prefix obeys the existing cut's regular-file and
+exact empty-marker inventory. Missing lineage SHALL mean the existing single
+P01 child only. Unpinned, reordered, duplicate, overlong, merge or out-of-scope
+histories SHALL refuse observation/proof; exact-head review and all rereads SHALL
</code_context>
<issue_to_address>
**Corrected profiles conflict with prior contract**

When a trusted profile pins a correction after the original P01 child, a corrected profile pins multiple commits, but the existing v1.3 delivery requirement still requires the reviewed source’s “original parent” without clarifying that this means the first commit in the lineage. Consumers applying that requirement to the registered head reject the newly permitted history, so the correction is not consistently recognized.

Clarify that the original-parent condition applies to the first pinned commit, or explicitly supersede that condition for pinned linear corrections.
</issue_to_address>

### Comment 3
<location path="openspec/changes/stage-v13-manual-delivery/validation.md" line_range="26" />
<code_context>
+  Provider initialized at unchanged4bf963f0ca416b142652bb608cafe5c76d893faa.
+- Initial targeted attempt stopped during collection with OSError12, cannot
+  allocate memory; no tests passed in that attempt. No bench restart or resource
+  limit change was made. Retried canonical tests/run.sh passed149tests,
+  5648deselected, zero skips,53.00seconds. Selector: ci_v13_delivery or
+  ci_v13_shadow or manual_mergify_queue or ci_cutover_manual_queue. The
</code_context>
<issue_to_address>
**Regression runner path is ambiguous**

When a reader follows the runner path from the assembly root, a reader resolving `tests/run.sh` from the assembly root looks in the spec leg, where that path does not identify the code-leg runner. The validation instructions therefore do not provide the repaired `code/` path needed to locate it.

Refer to the runner as `code/tests/run.sh` relative to the assembly root.

Also at `openspec/changes/stage-v13-manual-delivery/validation.md:37`.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: openspec/changes/stage-v13-manual-delivery/specs/v13-manual-delivery/spec.md:16, openspec/changes/stage-v13-manual-delivery/specs/v13-manual-delivery/spec.md:34


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sourcery assessment

Approved.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: a3af5ab244

ℹ️ 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 4007d4a into main Nov 15, 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