Repository navigation
fix(research): execute live objectives with durable call receipts - #670
Merged
Merged
Conversation
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
(cherry picked from commit f63d84c377436b6f949be19c072ae0dd14fca116)
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Contributor
|
Droid finished @magnus919's task —— View job The changes connect admitted research runs to durable external-call receipts and retained evidence, with scoped coordination and recovery coverage. No high-confidence actionable issues were identified in the validated candidates. 0 inline comments posted |
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
Signed-off-by: magnus919 <magnus919@users.noreply.github.com>
This was referenced Oct 16, 2026
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.
The durable research endpoint currently returns a scripted example instead of researching the submitted question. This change connects it to the configured search engine, scraper and model, and saves the actual sources and reports in PostgreSQL.
It also records external requests and their completed responses. After a restart, completed responses can be reused. A request that may have reached a provider but has no saved response fails with
outcome_unknownrather than silently spending again. Cancellation and deletion prevent an old worker from publishing a late result.This is the first part of the 1.0.1 cleanup. Its initial limits are one search, three newly acquired sources, eight total sources including selected evidence, and 180 seconds. Multi-query research, callbacks and time evaluation follow in #674. Workspace integration, storage migration and existing-job recovery are separate PRs.
Validation: 4,686 local unit/service tests and 42 subtests passed, with 21 skips. Type checks and documentation checks passed. CI uses controlled search, capture and model services with real PostgreSQL and Valkey. The latest CI rerun includes a correction to the test container's SQL inputs; final required checks remain pending. These tests verify integration, not live answer quality. No deployment was performed.
Related: #666. Supersedes the guard-only change in #667. This PR alone does not complete the release checklist.