Hold the pins a submodule supplies to its branch tip (2.2.0) #17
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 367 lines diff across 4 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.353
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #17"
general
weight: 0.35
jmrplens
social installs brand's stack through
-r brand/requirements.txt, and its brand submodule sat behind brand'smain, so social kept charset-normalizer 3.5.2 after brand moved to 3.5.3 (5e55065). The pin rule reads Python versions, actions, hook revs and (since 2.1.0) container images, but never looks inside a submodule, so nothing reported it (the pin audit of 2026-11-23 found it by hand).Quality kit 2.2.0 (main released 2.1.0 while this was open; merged in, both rules kept). The pin rule (
check_quality.py, rulepins) now follows every-r/-cinclude of a requirements or constraints file (any.in, or a.txtnamed for requirements or constraints or underrequirements/) into a git submodule:--kit, asreusable-lint.ymland the drift dry run call it), it fetches the submodule's upstream (.gitmodulesurl, itsbranch, the checked repository's current branch forbranch = ., or else the default branch) into a scratch bare repository, depth 1 and without blobs but the files read, and compares the included file and every file it includes at the recorded commit and at the branch tip.what = "submodule:<path>@<short commit>", cleared only by abelow-latest:reason beside the include and a waiver. Pins are keyed by name and environment marker (respelling a marker outside its quoted values changes nothing). The repository's own include chains are followed into the submodule. A relative submodule URL resolves against an https, ssh, scp-like or file:// origin. A submodule at its tip, or a tip that changes no pin, is clean and costs one shallow fetch. An upstream that cannot be fetched, or a read that fails, is a finding, never a pass..gitmodulesis the checked tree's text: the URL follows--, abranchmust be a plain branch name and the recorded commit a full SHA, so nothing reachesgit fetchas an option.MINOR, not PATCH: by
docs/quality.md"Versions" a patch cannot add findings. social is the one repository with a submodule; socialmainrecords brand's tip (dee16c7, kleidos-dev/social#13), so every repository passes the rule at release.Checked locally on Python 3.15.2: the kit's tests and
tests/pass (19 new ones intest_pins.py),ruff check,ruff format --checkandmypyclean,pre-commit run --all-filesgreen,check_quality.pyclean on the kit. Against social atb28ef5bit reportedrequirements.txt:13: [pins] submodule:brand@b28ef5b supplies brand/requirements.txt, but the tip of its default branch (8798fb5) pins uv==0.13.9 (here none); on socialmain(branddee16c7, the tip, hashed requirements: 27 pins read, one per marker) it is clean.After the merge: tag
quality-v2.2.0(signed) on the merge commit, then sync the consumers.