Skip to content

Restore bounded cold broad retrieval on large installed publications #2370

Description

@TheGreenCedar

CodeStory's installed-host broad search can fail immediately after a complete Bazel publication. This prevents the original adaptive P04-Q12 investigation (“How does remote execution exchange action inputs and outputs?”) from reaching an answer-model interaction.

At unpublished dev candidate 5b38104c with pinned Bazel source 1f05f210, two separate fresh installed-host phase-one attempts reached a full core and sidecar publication, then the same first search returned retrieval_unavailable from retrieval_engine with a lexical stage_deadline and zero candidates. In the second attempt, one exact-query retry failed identically (1,159–1,160 ms lexical trace). The host RPC completed within 20 seconds; resource and native supervision stayed within the 12-GiB phase cap and 50-GiB reserve, with authenticated drain. No answering-model session started. Preserve both failed attempt receipts and closed budgets. The direct-CLI full-retrieval success belongs to a separate publication and does not prove the installed-host interaction.

Investigate the owning retrieval/selection boundary and reproduce the cold large-repository failure before changing source. Repair the smallest general behavior that makes the existing public search usable without weakening fail-closed publication or cancellation semantics, inflating the caller's fixed deadline, or adding Bazel/question-specific selection. Verify the causal failure and credible cancellation/concurrency boundaries with focused tests. Independent review must see the exact patch. Then rebuild the affected unpublished candidate and return to the original installed-host P04-Q12 interaction under a fresh supervised attempt.

Refs #2275, #2173, #2135. This child issue does not close those parents or establish answer sufficiency, comparative gain, acceptance, or release readiness.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions