Write the whole `PBXProject` in `pbxproj_prefix` #3381
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 152 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.301
Real PR Conversation Timeline
1 comments
"Review active on #3381"
general
weight: 0.35
brentleyjones
<!-- stack:begin -->
Stack
Matching Xcode's
project.pbxprojformat (each PR stands alone):Synchronized folders (opt-in; no change to generated projects until a project uses them), in merge order:
1. #3376
2. #3377 (draft)
3. #3378 (draft)
4. #3375 (draft)
<!-- stack:end -->
---
The
PBXProjectobject is the only one split across partials:pbxproj_prefixwrites its start (withattributeslast), and theTargetAttributes,knownRegions, andtargetspartials are concatenated after it. That putsattributesandknownRegionsout of the order Xcode writes.pbxproj_prefixalready runs afterpbxtargetdependenciesandfiles_and_groups(it readsresolved_repositories_file), so it now takes those three partials as inputs and writes the whole object in Xcode's order:isa,attributes,buildConfigurationList,compatibilityVersion,developmentRegion,hasScannedForEncodings,knownRegions,mainGroup,productRefGroup,projectDirPath,projectRoot,targets. The finalcatno longer takes them.No other change: the final step is still
cat, and the three partials' formats are unchanged. This is a prerequisite for #3375.