Skip to content

fix: complete bounded durable research planning and callbacks - #674

Merged
magnus919 merged 17 commits into
mainfrom
codex/live-research-policy
Oct 16, 2026
Merged

magnus919 merged 17 commits into
mainfrom
codex/live-research-policy

Conversation

@magnus919

@magnus919 magnus919 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Durable research can now investigate an objective with up to three search queries and eight retained sources, within the recorded time and content limits. Sources are collected across the planned queries so one query does not consume the whole budget. Missing evidence produces an explicit coverage warning. An interrupted external request with an unknown outcome is not silently repeated.

The optional as_of setting evaluates evidence for a specified date. It does not fetch archived pages or pretend that a current page proves what was true in the past. When the evidence cannot establish the requested historical validity, the run reports that limitation.

Research completion, failure and cancellation callbacks are stored for delivery after a restart. Retries reuse the same signed event body and ID, validate the destination again, and stop after three attempts. The run reports delivery as unconfirmed when acknowledgement cannot be established. Callback response bodies are not downloaded.

Explicit follow-ups can use these settings through the API, CLI and MCP. Preview remains read-only. The CLI also uses the correct execution URL and displays the admission result correctly.

Validation: nine HTTP acceptance cases passed against isolated PostgreSQL 17 and Valkey with local search, capture, model and callback services. They cover separate objectives, retained evidence, restart reads, callbacks, date handling, CLI/MCP follow-ups, session citations and deletion. These are integration checks, not a live-provider quality comparison. Final required CI runs against this PR after merging the completed recovery and storage changes. No deployment is included.

Related to #666 and the 1.0.1 cleanup plan; the final documentation and deployment checks remain separate.

@magnus919
magnus919 changed the base branch from main to codex/workspace-live-evidence October 16, 2026 03:21
@factory-droid

factory-droid Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Droid encountered an error —— View job

Droid Exec exceeded the maximum of 100 turns and was stopped. This usually means the agent got stuck in a loop.

Security Review

# Conflicts:
#	AGENTS.md
#	CONTRIBUTING.md
#	agent-svc/agent/app.py
#	agent-svc/agent/webhook.py
@magnus919
magnus919 deleted the branch codex/workspace-live-evidence October 16, 2026 06:16
@magnus919 magnus919 closed this Oct 16, 2026
@magnus919 magnus919 reopened this Oct 16, 2026
@magnus919
magnus919 changed the base branch from codex/workspace-live-evidence to main October 16, 2026 08:28
@magnus919
magnus919 merged commit 3f14069 into main Oct 16, 2026
24 checks passed
@magnus919
magnus919 deleted the codex/live-research-policy branch October 16, 2026 10:01
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