Repository navigation
fix(update): isolate unreadable recovery captures in status - #188044
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR reports damaged recovery captures individually while keeping verified neighboring captures visible. Example: A marked capture contains malformed manifest text
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes a current recovery-inventory failure through the existing owners, with no actionable introduced defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe recovery reader validates retained capture files and recorded outcomes; the status classifier combines that evidence with update history and projects JSON or terminal guidance. flowchart TD
A[Retained capture directories] --> B[Recovery reader]
B --> C[Validated captures]
B --> D[Unreadable directory evidence]
C --> E[Status classification]
D --> E
F[Recorded update outcomes] --> E
E --> G[JSON and terminal guidance]
Technical reviewBest possible solution: Keep per-capture failures in the existing reader and classifier, preserving strict validation, healthy neighbors, and conservative recovery guidance. Do we have a high-confidence way to reproduce the issue? Current-main source shows malformed marked manifests aborting inventory, and the PR reports matching base failures in its filesystem regression cases; this review executed no reproduction. Is this the best way to solve the issue? The patch is a focused fix at the existing inspection boundary: failed validation produces unverified evidence rather than suppressing unrelated results, and every changed hunk serves that invariant. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 87016c018d3e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +13, Tests +48, Other +2. Total +63 across 5 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 29, 2026, 10:36 PM ET / October 30, 2026, 02:36 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
One damaged marked recovery capture aborted the complete inventory, hiding healthy neighboring captures and their recovery guidance.
User Impact
Status reports a damaged capture as directory-only unreadable evidence while retaining verified neighbors. Unreadable evidence still competes conservatively with failed captures. Root enumeration failures remain global. This read-only projection never grants restore or cleanup authority.
Why This Change Was Made
Keep capture validation at its existing reader and preserve one classification flow. Strict manifest, link, digest, generation and forward-receipt checks stay intact; no fabricated run identity is attached to rejected evidence.
Evidence
Production delta: +13 lines for per-capture diagnostic outcomes; tests: +48 lines with a dedicated allocation.
Final commit verified in its native PR checkout: all 21 recovery-status tests passed (33.07s); core typechecking passed. Formatting and diff checks passed. Release-note context is recorded here; CHANGELOG.md remains release-owned.
Review disposition: the exact-head ClawSweeper review has no findings, before-merge items or rank-up moves. A shipped-CLI trace with damaged and healthy neighboring captures remains a named follow-up; this PR claims the real-filesystem, in-process status harness only.