Skip to content

spec(ci): require fresh admission observations after caller movement - #77

Merged
brettheap merged 1 commit into
mainfrom
016-candidate-admission-reread
Nov 16, 2026
Merged

brettheap merged 1 commit into
mainfrom
016-candidate-admission-reread

Conversation

@brettheap

@brettheap brettheap commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bounded admission-observation contract

Add the paired stabilize-candidate-admission-reread OpenSpec change for the deterministic artifact-reader caller race reproduced while diagnosing stopped code candidate108. Explicitly separate the historical generic refusal from the reproduced gap; no unlogged historical cause is claimed.

Admission-only pending-enabled caller movement authenticates the same first-attempt identity/state and discards the whole observation. The unchanged bounded observer must acquire a new stable archive and complete source/live proof. Artifact mutation, invalid callers and qualified/historical/non-pending movement remain immediate refusals. Diagnostics expose no private values.

Strict OpenSpec validation passed. Code-side focused regressions passed75, with25newcases; broader CI/reviews are pending. No code policy, settings, queue, coverage, engine, tool, lane, release, assembly pin or shared-checkout mutation is authorized by this spec. User authorized normally checked paired source merges and a separately verified fresh two-PR canary under existing exclusions.

Summary by Sourcery

Require fresh bounded admission observations after authenticated pending caller movement while preserving strict evidence and refusal contracts.

New Features:

  • Add an admission-only bounded reread path that discards observations when an authenticated pending caller moves and requires fresh artifact and evidence verification.

Bug Fixes:

  • Prevent genuine pending caller movement during artifact reading from being incorrectly treated as generic incomplete evidence while preserving immediate refusal for invalid, mutated, failed, rerun, qualified, and historical cases.

Enhancements:

  • Define fixed-vocabulary diagnostics that do not expose private metadata or unrecorded historical causes.

Documentation:

  • Document the bounded admission-observation contract, preserved refusal behavior, verification plan, and rollout constraints in the OpenSpec change.

Tests:

  • Add regressions covering caller movement, fresh-proof requirements, invalid states, historical behavior, and private diagnostic handling.

Chores:

  • Keep the repair limited to the paired code/spec change without modifying policies, workflows, queues, releases, assembly pins, or shared checkouts.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

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

@sourcery-ai

sourcery-ai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Reviewer's Guide

Documentation

The Spec Delta defines the admission-only fresh-observation contract and preserves immediate refusals for invalid, historical, and non-pending reads.

  • openspec/changes/stabilize-candidate-admission-reread/specs/candidate-admission-observation/spec.md L1-50

The design explains the reader boundary, authentication checks, unchanged observation bound, and verification plan behind the contract.

  • openspec/changes/stabilize-candidate-admission-reread/design.md L1-38

The proposal records the reproduced gap, intended scope, and exclusions without claiming an unlogged historical cause.

  • openspec/changes/stabilize-candidate-admission-reread/proposal.md L1-32

The task list records reproduction and focused-test evidence while identifying broader review, CI, merge, and canary work that remains pending.

  • openspec/changes/stabilize-candidate-admission-reread/tasks.md L1-24

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 16, 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-16T16:03:40.320826Z 51fbb83 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. Nice work!

Reviewed commit: 51fbb83b98

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

Copy link
Copy Markdown
Contributor Author

Exact-head local expert review: CLEAN.

Reviewed spec head51fbb83b98cc4e04ee0d03fba1b8fac6e92898de against basead9ba9d5931eb9d6de9e2af9589917d3d8fef77d and paired code109 head ef050fa24d2448f8d94289ced8746b09cbdb4f96/base288e7d0c550e5ef0828fdb17abe11a81611b160d. Master plus all nine independent expert roles (architecture/performance/security/QA/static/API/data/reliability/simplicity) completed with no actionable findings or contract drift. The specification correctly separates the reproduced artifact-reader gap from the unlogged historical108 cause, admission observation from proof, and source qualification from live acceptance.

Strict OpenSpec VALID; code canonical focused75 and expanded1058 tests passed, zero skip. Genuine exact-head connector summary6921668938/receipt6921699205 clean. Code ordinary full/reusable CI still pending, so no live queue/canary or assembly adoption follows from this receipt. Normal checked source merges remain subject to current main/head/thread/check readback. No settings, bypass, app, paid, tools, releases, pins, shared checkout or lane changes.

@brettheap
brettheap merged commit 68703af into main Nov 16, 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