Add configurable mirrors for nixpkgs sources and data artifacts #16
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.63) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 266 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.334
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #16"
general
weight: 0.35
fzakaria
This adds optional mirror support for both nixpkgs source trees and the pinned data artifacts used by the fast path.
fetchTreeArgs, a function that receives a nixpkgs revision and returns the base arguments passed tobuiltins.fetchTree.dataBaseUrlto override the canonical artifact URL fromdata-pins.json.Example:
Multiverse adds the selected
revand, for indexed revisions, the recordednarHashto the result offetchTreeArgs. Pinned data artifacts remain verified using the hashes fromdata-pins.json.Motivation
Some environments cannot access GitHub directly and require dependencies to be retrieved through an internal mirror such as Artifactory. Previously, the nixpkgs source and pinned artifact locations were effectively fixed to GitHub.
Testing
No tests were added for this change.
A complete integration test would require either:
data-pins.jsonI was unsure whether that additional complexity was justified for these small fetch-configuration changes. Feedback on an appropriate deterministic testing strategy would be welcome.
That being said, I did test these new features on an enterprise Artifactory instance with a dedicated proxy repository to upstream nixpkgs on GitHub.
AI assistance disclosure
The documentation update was produced with assistance from OpenAI Codex using the gpt-5.6-sol model. I reviewed and adjusted the resulting documentation against the implementation before including it.