Skip to content

fix: harden isolated preview bundle readback - #89

Merged
Pigbibi merged 1 commit into
mainfrom
fix/batch1-preview-readback
Oct 15, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/batch1-preview-readback

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Preview bundle readback currently accepts symbolic links and mutable nested evidence. Reject non-regular entries through descriptor-based reads, require canonical manifest bytes and a mapping source, and recursively freeze evidence. Atomic publication now refuses to replace a concurrent destination, including an empty directory.

Validation: six new regressions failed before the fix; 30 preview/workspace tests pass locally. The real no-replace primitive is exercised on macOS; CI also exercises Linux. Unsupported exclusive-publication platforms fail safely. Source v5 keeps the existing rule that an explicit contract_version field is forbidden.

Closes #50. This changes isolated preview files only.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit cf8f6e3 into main Oct 15, 2026
3 checks passed
@Pigbibi
Pigbibi deleted the fix/batch1-preview-readback branch October 15, 2026 18:11
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.

vNext D2: harden preview bundle readback evidence

1 participant