Repository navigation
fix: bind identity and coverage to the producing rule - #1513
Conversation
Logical paths, container families, examined bytes, path-segment conventions, destination collisions, file-id leases, Mach-O CPU selection, and firmware cleanup now follow the observation that owns each rule.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c50c2d0ca1
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A fat target whose architecture lipo did not list now stops before slice tools run. Chained fixups still count unread LC_DYLD_INFO rebase bytes, and a firmware cleanup failure no longer blocks the next workspace.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
…dary NFC joins and segment conventions are now asserted by the path resolver, the Apple projection, and a real APK inventory instead of helper unit tests.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
The legacy LC_DYLD_INFO fixture keeps a rebase range this reader does not decode, so the public CLI and MCP check now requires that partial coverage beside the bind opcodes.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
* fix: bind identity and coverage to the producing rule Logical paths, container families, examined bytes, path-segment conventions, destination collisions, file-id leases, Mach-O CPU selection, and firmware cleanup now follow the observation that owns each rule. * fix: fail unmatched Mach-O slices and keep firmware roots independent A fat target whose architecture lipo did not list now stops before slice tools run. Chained fixups still count unread LC_DYLD_INFO rebase bytes, and a firmware cleanup failure no longer blocks the next workspace. * test: cover path identity and runtime families at the projection boundary NFC joins and segment conventions are now asserted by the path resolver, the Apple projection, and a real APK inventory instead of helper unit tests. * test: expect unread dyld rebase bytes in the Apple dispatch fixture The legacy LC_DYLD_INFO fixture keeps a rebase range this reader does not decode, so the public CLI and MCP check now requires that partial coverage beside the bind opcodes. --------- Co-authored-by: Cursor Agent <[email protected]>
…normalizer (#1535) * fix(reference): join internal symlink targets with the inventory NFC normalizer checkSymlinks resolved an internal symlink target with bare posix.normalize and looked the result up in the inventoried path set. A target that a filesystem reports in NFD (macOS readlink commonly does) joined to an NFD spelling while the inventory holds NFC, so validation reported "Internal symlink target must resolve to an inventoried entry" for a target the inventory actually contains. Route the join through normalizeJoinedLogicalPath, the same inventory identity normalizer #1513 applied to the runtime, HTML/module, and import joins from #1488. The feature-seed NFKC query fold stays a query. Refs #1488 * fix(reference): preserve source spelling during symlink lookup --------- Co-authored-by: morluto <[email protected]>
|
TL;DR: Your fix list names #1500, and my Linux runs agree that this fixed it. GitHub only closed #1485 from that line, since it needs "Fixes" before each number. Ten of the fifteen are still open, and #1500 is one of them. Edit: reworded. I first wrote this as if the PR did not name #1500.
Not run
🤖 Generated with Claude Code (Opus 5.5) 🦊 |
Summary
Fixes the filed identity and coverage bugs by changing the rule at the layer that owns it: one NFC logical-path normalizer, byte-backed container families, coverage that follows the bytes actually read, path-segment conventions, destination collisions only at the destination, leases keyed by the identity the OS already returned, Mach-O CPU selection, and firmware success returned beside cleanup failure.
Fixes #1485, #1486, #1487, #1488, #1489, #1490, #1491, #1496, #1497, #1498, #1499, #1500, #1501, #1502, #1503.
Problem and expected behavior
Several boundaries treated a nearby spelling, suffix, or later event as if it were the observation:
communityandMyApp.frameworkas runtime families, and Apple anatomy used more than one case policy.PATHlookup, attached CDP locks, parsed script frames, and repeated DOM attributes could follow a later or folded identity instead of the one already observed.lipo -archcould name an architecture the header or lipo did not admit, and a firmware cleanup failure could hide a completed extraction and replay onto the next workspace.Change and scope
Each fix is at the producing rule. Domain stays free of artifact, browser, and provider imports.
logicalPathNfc,normalizeJoinedLogicalPath, andlogicalPathEscapesRootlive next to occurrence identity. Inventory joins and artifact path normalization call them. Feature-seed NFKC stays a query fold.kolybefore the suffix. A misnamed ELF or text file falls through to content classification. ZIP inventories record that non-entry tail bytes are not occurrences, and comparison reports a root-hash change whenroot_sha256differs.LC_DYLD_INFOrebase ranges setpointer_fixupsto partial or unsupported when unread or unexamined. Interface Builder trace coverage copies the archive-decode facet.en-US) case fold for the fixed vocabulary; reported paths keep the archive spelling.SafeOutputTreedestination collision isolates that script underisolated/.volumeSerialandfileId, with exact path match. Scenario executables use the same Windows environment-key canonicalization as the child snapshot. Attached CDP locks use the parsed discovery URL andtarget_id. A script keeps the frame it was parsed in. Repeated DOM attributes keep the first value.otool -archis passed only for a name lipo listed. Firmware returns the completed extraction beside the cleanup error and does not latch that error onto the next root.Archive case-distinct inventory identity (#1470) and the diverging-segment case-collision record (#1505) are unchanged.
Contract and boundary impact
otoolis not asked for an architecture lipo did not list.docs/public/product-catalog.json), package, or installation impact: none.Evidence and regression coverage
For evidence-bearing changes:
Validation performed
npm run test:localon the touched domain, application, browser, native, process, and firmware suites — passed before rebase onto main.npm run test:focusedontests/boundary/filesystem/zipDetection.test.ts— passed before rebase onto main.npm run check:fast(pre-push typecheck and lint) — passed on the rebased commit. Rebase onto main, including the diverging-segment case-collision record, applied without conflicts.Compatibility, safety, and release
SafeOutputTree.Review checklist
type(scope): outcome.