Skip to content

fix(artifacts): preserve physical ZIP member identities - #1865

Merged
N0zoM1z0 merged 1 commit into
mainfrom
fix/1860-zip-member-identity
Oct 11, 2026
Merged

N0zoM1z0 merged 1 commit into
mainfrom
fix/1860-zip-member-identity

Conversation

@N0zoM1z0

Copy link
Copy Markdown
Collaborator

REA rejected its audited Android engine JAR when repeated license resources appeared before the required classes. ZIP member lookup used filenames as identity, so a valid second occurrence triggered a path-collision error during prerequisite inspection.

Bind each ZIP member to its central-directory occurrence and preserve that source across repeated enumeration. Artifact inventory continues to enforce unique logical paths. Existing metadata binding, CRC, overlap, metadata-budget and cancellation checks remain active.

Closes #1860.

Validation:

  • Reduced engine-admission regression failed with the original path-collision error before the fix.
  • 36 focused tests pass across Android configuration, ZIP integrity, backpressure/cancellation, inventory snapshot, entry-order and descriptor-cleanup suites.
  • Real REA CLI and stdio MCP with the audited Android engine admit the original JAR and complete a selected method query; following MCP ping succeeds and APK digest is unchanged.
  • Runtime/skill build and npm run check pass: typecheck, lint/module boundaries, formatting, unused exports, metadata and architecture guards.

Real-provider scope: Linux x86_64, Node.js 24.18.0, audited Android engine 0.7.1, one CPU / 3 GiB, configured 768-MiB worker heap. Other platforms and providers rely on CI coverage where available.

Bind each ZIP occurrence independently of its filename so engine metadata
inspection can read repeated resources without replacing retained sources.
Keep logical-path collision checks in artifact inventory.

Closes #1860

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: Kaoru0822 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T14:47:42.201989Z f7a68f9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@N0zoM1z0
N0zoM1z0 merged commit bcd350c into main Oct 11, 2026
31 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/1860-zip-member-identity branch October 11, 2026 14:58
@github-actions github-actions Bot mentioned this pull request Oct 11, 2026
3 tasks done
@morluto morluto added bug Something isn't working area: evidence Evidence, artifacts, and reconstruction labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: evidence Evidence, artifacts, and reconstruction bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Android engine admission rejects duplicate ZIP resource names in the audited JAR

2 participants