Repository navigation
fix(native): forward chosen project scope in older search - #332
Conversation
|
Independent exact-head source/context review approved
|
|
PR #332 matched-head merged as |
|
Fresh merged-main proof passed: seven exact core cases (one pass each, 1,249 filtered) and seven exact native cases (one pass each, 124 filtered), including the full search actor and selection/paging controls. Every native case used its own initially empty owned home. The clean snapshot build passed, source/ledger hashes stayed stable and main is clean. Independent merged artifact confirmation is pending before finite acceptance. SB-SEARCH remains partial; sidebar9/16. No constants changed. |
|
Finite cut-present search caller fix #329 / PR #332 is accepted after independent merged artifact confirmation ( Tests first reproduced the actual request payload missing chosen project IDs after method/query/cut/scope controls. The unchanged full actor case now proves payload, normal reply, consumer task completion, exact owner content/query, unchanged route and cleanup. The fix forwards one common effective chosen raw-ID array to every already-admitted ready owner; the helper emits it only with an older cut. Core helper/server/no-cut/legacy fallback/request lifetime stay unchanged. This is one-owner payload proof, not multi-owner fanout, same-query replan, stale reply or whole SEARCH acceptance. SB-SEARCH stays partial; sidebar9/16. No constants or assertions changed. No physical AppKit/AX/input, live-provider, restart or performance claim. check:changed bootstrap failure and the approved formatting exception remain separate, not green. |
Problem
Sidebar search drops the chosen project IDs when requesting older-settled rows. The shared request helper already follows the web/server contract; the caller was passing
None.Fix
The scoped caller resolves the effective chosen groups once and passes the same sorted raw project-ID array to every already-admitted ready owner. Distinct environment-local references may share a raw ID; those values are preserved. The existing helper includes project IDs only when an older-settled cut exists. Base message search is not project-filtered.
The no-ready-owner fallback, read permissions, fanout, debounce, request lifetime and core helper stay unchanged. Same-query scope re-planning and stale reply handling remain separate work.
Closes #329. Parent #242.
SB-SEARCHremains partial, sidebar 9/16.Verification
projectIds: nullversus["checkout-a", "checkout-b"], after scope, method, query and cut checks. Independent RED/artifact review2c61b39ea348480715c442b9e6963f1883722647ad4c872a6665aa4eee6f7fc1.6ebdb858). Candidate91c58c75ba0eeea245d690fbb9014f04d21240c3passed independent exact-head source/context review (d8797c18). All 1,356 core/client tests, strict workspace/all-target Clippy, normal and snapshot builds, theme, intake, conformance and diff checks passed. Candidate compiler-selected runtime controls also passed: seven exact core cases (one pass each, 1,249 filtered) and seven exact native cases (one pass each, 124 filtered), each native case in a separate empty owned home. Independent candidate final review passed (374c8e54). Matched-head merge is0c8a93cbf3c227166efb2bf0d6eded1090cdeb2cwith the exact reviewed tree. Fresh merged snapshot/core7/native7 passed again; independent merged final review (e17e5cba) confirmed all three exact artifacts present before the next build. This finite fix is accepted. Whole SEARCH remains partial.vp run check:changedfails before checks at desktop task-graphUserTaskDefinitionparsing. This is NOT GREEN; no dependency install or unrelated repair was made. The approved formatting exception remains separate.Model and harness: inherited worker/reviewer models through Prime Agent; independent Sol/Codex review.