Skip to content

Keep feature discovery corrections parallel and preserve canonical entries - #302

Merged
tzhouam merged 2 commits into
mainfrom
fix/kb-discovery-parallel-repair-20261005
Oct 5, 2026
Merged

tzhouam merged 2 commits into
mainfrom
fix/kb-discovery-parallel-repair-20261005

Conversation

@tzhouam

@tzhouam tzhouam commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Feature discovery scanned and reviewed candidates concurrently, but corrected rejected implementation candidates one at a time. Large repositories could therefore spend hours in a serial correction loop after the parallel scan. It also incorrectly promoted every supplemental implementation reference to a mandatory feature entry point, invalidating otherwise complete existing feature knowledge.

Schedule correction extraction and independent review through the same bounded pool. The coordinator saves each extracted draft before submitting its review, retains the three-correction limit, and drains already running calls after a budget stop. Native proofs, prompts, catalog boundaries, policy and checkpoint identity stay compatible.

Supplement, alias, subcapability and shared-component evidence now expands the associated source/document paths while preserving the target's canonical entry points. New feature creation and the all-entry-point citation coverage gate are unchanged.

Validation: 143 focused discovery tests passed; independent reviews ran 140 checkpoint/handoff tests and 161 catalog/coverage/depth tests, finding no actionable issues. New cases verify the shared 13-call ceiling, coordinator-only checkpoint writes, draft reuse, bounded corrections, budget drain, per-candidate failures and canonical entries through alias chains. git diff --check passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T15:18:01.444921Z 18a05ca PR opened
ℹ️ 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.

@tzhouam tzhouam changed the title Parallelize bounded feature-discovery corrections Keep feature discovery corrections parallel and preserve canonical entries Oct 5, 2026
@tzhouam
tzhouam merged commit 4dc819b into main Oct 5, 2026
2 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