Repository navigation
fix: recover serialized native NIB view hierarchy - #782
Closed
rudycelekli wants to merge 2 commits into
Closed
rudycelekli wants to merge 2 commits into
rudycelekli wants to merge 2 commits into
Conversation
added 2 commits
October 6, 2026 14:34
Signed-off-by: RudyCelekli <[email protected]>
Signed-off-by: RudyCelekli <[email protected]>
Owner
|
Superseded by #815, which integrated this change and has now merged (3af3811). Thanks @rudycelekli for the fix and the thorough verification — much appreciated! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recover explicitly serialized
NSSuperviewand nativeNSWindowTemplate.NSWindowViewrelationships from compiled AppKit NIBs. The previous owner-root traversal omitted the actual view tree while reporting complete hierarchy coverage.The bounded iterative projection preserves recognized legacy roots and merges shared object IDs once. Missing, unsupported, cyclic, conflicting and bounded links make hierarchy coverage partial and
hierarchy_completefalse; no parentage is inferred.Verification
Signed DCO production head
bfeaf5a694adf9010e603a586fd4d484c059313fis based on upstream69be514c67c8b2eb8b450355a9782d9237748fda. Fresh all 22 open PR file inventories show no overlap; all 20 authored open PR feedback/threads/checks were freshly audited without actionable source feedback or conflicts.xcrun ibtoolcompiles ordinary, deep and window AppKit XIB fixtures. Before, the built public CLI omits all 5/41 native view links in ordinary/deep fixtures while claiming complete hierarchy.npm run verify:interface-builderpasses with actual nativeibtoolandccthrough the artifact provider.npm run check: all five tasks pass, 125 existing lint warnings and zero errors.check:fastpasses two cached tasks; SSH signature, DCO and diff checks pass.The source XIB and compiler output establish the producer contract;
ibtool --hierarchycannot inspect these compiled NIBs and is not claimed as a positive oracle. The decoder still exposes only recognized serialized objects/relationships, with existing unknown-field limitations. Native proof is macOS AppKit only; no UI instantiation, target execution, model inference, Windows or deep-engine claim. No fullcheck:pror hosted-CI-green claim.Latest upstream
4bfd8038be0a60c43a452bec15e23799a0b040c0adds semantic/reference/prompt fixes and conformance documentation, with no changes to these files, their NIB graph/decoder callers, dependencies or policy. The fresh advance receipt is empty for those paths.AI-assisted implementation and independent source review. Fixes #781. Refs #480 (compiled hierarchy only).
macOS CI regression coverage
Signed DCO maintenance head
ed0fc101d27b394b7cccfc12e98629912b179817adds an explicit focused step to the existingapple-artifactsjob (macos-14), before the existing metadata/Interface Builder verifier:That exact local command passes all six actual native cases (ordinary/deep/window hierarchy, depth bound and both object-budget controls). Required
checkpasses five tasks andcheck:fastpasses two tasks. The new head's hosted checks are pending; the prior green production run is not proof that this new step has executed on GitHub. The separate plist-selection CI step in #773 is after the existing verifier, keeping the insertions independent. This is maintenance of the same fix, with no new PR or bug count.Hosted macOS update: the new native regression step has completed successfully and the job log reports all six native NIB cases passed: https://github.com/morluto/rea/actions/runs/37514259153/job/112443092386. This verifies the updated step itself; remaining hosted contexts are audited separately.