Skip to content

Add strict RootFS source download cache#29

Merged
jacklv-coder merged 3 commits into
mainfrom
codex/rootfs-source-download-cache
Jul 26, 2026
Merged

Add strict RootFS source download cache#29
jacklv-coder merged 3 commits into
mainfrom
codex/rootfs-source-download-cache

Conversation

@jacklv-coder

Copy link
Copy Markdown
Owner

Summary

  • add an optional external download cache for RootFS source-review materialization
  • reject repository-local, overlapping, symlinked, missing, oversized, or digest-mismatched cache inputs
  • preserve pinned upstream receipt origins and revalidate canonical aports trees
  • document the offline workflow in Chinese and English

Why

The current source acquisition manifest may need to be rematerialized when upstream endpoints are temporarily unavailable. A previously verified source-review directory should be reusable as transport input without weakening any source pin or approval gate.

Validation

  • ruby -c Scripts/prepare-rootfs-source-bundle.rb
  • all RootFS Ruby script suites (77 runs, 335 assertions)
  • ./Scripts/check-docs.sh
  • ./Scripts/test.sh (139 tests, 1 expected environment-gated skip)
  • materialized and independently verified a fresh bundle against the current production manifest
  • codex review --uncommitted (no actionable findings)

@jacklv-coder
jacklv-coder merged commit ecc9476 into main Jul 26, 2026
2 checks passed
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.

1 participant