Repository navigation
perf: index business collections and preserve gate detection - #2633
Merged
Merged
Conversation
JAVA-LW
marked this pull request as ready for review
October 24, 2026 08:33
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
插件目录、Agent Flow 画布和 MCP 模板补齐在集合增大时反复扫描相同记录。本次在原 owner 内建立调用内索引:目录状态期望 O(C+I),画布与直接下游查询 O(N+E),MCP 按实例及复合身份判重,并移除 family 投影的重复克隆。原有顺序、状态优先级、缺失记录行为、授权和 DTO 保持不变。
i18n 门禁改为沿目录祖先查询既有 owner Map,保留嵌套引用、namespace 与 warning/error 规则。无新依赖、持久缓存、业务容量上限或存储变化;架构中英文说明同步。
验证:独立 gpt-6-luna/max QA 已 VERIFIED;control-plane 1499 库用例 + 8 集成用例、前端 15 用例、Node 23 用例通过;两个受控错误 owner 实现均被拒绝。最终 PR verify 40077420738 的10个必需component全部通过且绑定同merge SHA,其文件树与候选一致。原 i18n 7/7 hard-error 类保留,完整37条 findings 前后一致。Rust重型验证全部在GitHub Actions执行。
固定合成图 N=4000/E=8000、n=5:边投影中位63.353→1.579ms,下游查询9.848→0.432ms;RSS73,028→74,344KiB,未声称节省内存或整体CI成本下降。治理实现及其测试净增27行,总净增796行(大部分为行为fixture)。量化原始数据、范围与限制见Root #2628。
Delivery #2629、#2630、#2631、#2632。