Skip to content

Harden ZIP cache and report path hygiene#156

Merged
svy04 merged 2 commits into
mainfrom
codex/public-feedback-static-proof
Jun 19, 2026
Merged

Harden ZIP cache and report path hygiene#156
svy04 merged 2 commits into
mainfrom
codex/public-feedback-static-proof

Conversation

@svy04

@svy04 svy04 commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Harden plugin ZIP creation so file contents and mode are read from the same opened file descriptor before writing cache entries.
  • Teach generated public-report sanitization to scrub the current repo root before broader user-home fallbacks, including worktree paths with private/local workspace names.
  • Extend public artifact hygiene write mode with the same current-root scrub so accidental local-path report output can be repaired before check mode.

Verification

  • bun test src\utils\plugins\zipCache.test.ts scripts\product-report-sanitizer.test.ts scripts\public-artifact-hygiene.test.ts scripts\public-repo-readiness.test.ts
  • bun run typecheck --pretty false
  • git diff --check
  • bun run product:quality
  • bun run verify:privacy

Boundaries

  • product:quality passed locally and still records local/protected environment boundaries without turning them into readiness claims.
  • Generated product-quality report churn from the local run is intentionally not included in this PR.

Comment thread src/utils/plugins/zipCache.ts Fixed
@svy04 svy04 marked this pull request as ready for review June 19, 2026 22:15
@svy04 svy04 merged commit 8c565d0 into main Jun 19, 2026
6 checks passed
@svy04 svy04 deleted the codex/public-feedback-static-proof branch June 19, 2026 22:33
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.

2 participants