Repository navigation
feat(mcp): create, review, and download frozen search reports - #753
Merged
Merged
Conversation
Complete the local report and export workflow with a bounded report adapter. Reuse captured evidence and reviewed dates while keeping expiry, shared capacity, uncertain write outcomes, and verified local delivery explicit. Compact write receipts preserve new report handles when full summaries are large. A byte budget on the existing date pager keeps complete evidence readable within MCP replies without adding another cursor service. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
The report pager correction must reach web and CLI callers using the default byte limit as well as MCP. Make that behavior and its default-page regression explicit before implementation planning. Document the message-size and shared-handle costs of batching reviewed dates. Preserve the existing combined candidate limit, which already rejects more than 256 candidates per member after all sources are joined. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Return the fitting evidence and a continuation instead of failing a populated page. Apply the correction to every caller and include the cursor in the encoded byte ceiling. MCP can request smaller pages without truncating evidence. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Use one verification path for CLI and MCP delivery so a different valid packet cannot be accepted in place of the requested report. Preserve local I/O and budget errors separately from evidence mismatches. Classify invalid successful write replies as uncertain outcomes. A client must not assume that an unusable reply means the daemon rejected the report. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Expose report inspection by default and require an independent opt-in to create observations or revise date choices. Compact write receipts preserve the new handle even when its complete warning summary is too large for MCP. Keep writes single-attempt and distinguish an unusable response from known rejection. Date inspection uses the shared byte-bounded pager so evidence survives MCP's duplicated result encoding without truncation. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
…omes Save report ZIPs through private staging after summary, transfer, and packet verification. Concurrent downloads share one memory allowance, and failed or canceled verification releases its reservations. Preserve the publication receipt if a later directory sync or cleanup fails. Keep local causes in operator logs while returning fixed client messages. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Validate the report adapter alongside the merged photo import and retry changes. Preserve both histories and regenerate the shared API artifacts on this base. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Prove that reviewed counts and exported originals refer to the same selected versions, even after live sources change. Document the shared capacity and message limits so callers can choose a workable review and download path. Mark the approved design as implemented after exercising the complete workflow. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
An HTTP response that closes early does not prove packet corruption. Preserve the read error so MCP discards the interrupted connection and the CLI reports a normal request failure. Keep integrity errors for completed transfers whose size or digest disagrees with the report. Exercise an interrupted download followed by an explicit retry against a new daemon connection, including cleanup of the unpublished partial file. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
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.
MCP clients can now capture search counts for an exact document selection, review ambiguous dates, and save a verified evidence ZIP. Enable
--allow-report-writesfor creation, revision, and local delivery; summary and date inspection are available by default. This is the next bounded slice of #719, following the reviewed design.The report stays tied to the captured versions after a source changes. Writes make one attempt and report an uncertain outcome when the reply is lost. CLI and MCP share packet verification before publishing a local file. The existing eight-handle limit and 30-minute lifetime remain; each revision consumes a handle, and there is no release operation in this slice.
The shared date pager now returns a continuation when the next member cannot fit, instead of failing a populated page. That correction also applies to web and CLI callers. MCP uses smaller pages to stay within its message limit without dropping evidence.
The existing report drawer, captured against a temporary synthetic vault on this branch: