Repository navigation
fix(report): recognize retained dates and qualify PDF recovery - #766
Merged
Merged
Conversation
Separate report, export, and backup tests do not establish that an operator can recover the same retained PDF selection in a restored daemon. Define one bounded qualification slice with concrete counts, exact original content, and distinct outcomes for current and changed selections. Keep the fixture honest about available runtimes: it starts with retained evidence and does not qualify fresh PDF extraction. Restore provisions its portable profile explicitly and requires date review again because history keeps requests and receipts, not live handles or reviewed choices. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Retained rendition Markdown escapes date punctuation. Reports missed those dates, skipped required review, and silently used vault-addition fallbacks. Recognize the escaped tokens while preserving their original evidence bytes and offsets, including numeric dates that need an explicit interpretation. Exercise selected PDF reporting and exact original export through physical backup and restore. Recovery must review a current selection again, refuse a changed selection, and keep historical original bytes exportable. The fixture uses one portable profile and real publication without a PDF runtime. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
Keep the implemented design tied to the revision actually reviewed and exercised. Distinguish the passing bounded-parallel run from the existing API timeouts under default parallelism, and preserve the Linux-only scope of the local qualification. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Retained Markdown keeps escaped punctuation as evidence. Show its dates in readable form so reviewers can interpret ambiguous numeric dates without changing the stored tokens or the evidence submitted with their choices. Document the backup configuration exclusion where the recovery guide links to it, so operators know which settings they must restore separately. 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.
Reports now recognize dates in retained rendition Markdown. A labeled date such as
Document dated 2024\-05\-06was previously missed because its punctuation is escaped. Reports could therefore skip required date review and use vault-addition dates. The fix preserves the original evidence bytes, quotes, offsets, and hashes, and supports the existing numeric-date interpretation rules.Rerunning a saved request can now require date review for dates previously missed. The review drawer shows readable dates while retaining the original evidence.
Real-daemon CLI tests now follow four synthetic, structurally valid PDFs through selected reporting, date review, exact original export, and two physical backup restores:
The tests also check frozen report bytes after replacement and trash, history without restored live handles or date choices, strict missing-evidence refusal, and explicit export release. They start with retained evidence and reuse one portable profile across restored daemons; fresh PDF extraction remains outside this scope.
Implements the retained-PDF qualification design, the next bounded slice of #719.