fix(install): the shims are copies, so a branch cannot change what is installed #152
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.43) × (1 − Review Confidence (0.30)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 391 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 49% · 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.357
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #152"
general
weight: 0.35
github-actions[bot]
<!-- pr-agent-generated -->
User description
make install-gh-shimsymlinked~/.local/bin/ghinto this checkout, so theinstalled tool behaved as whichever branch the checkout happened to be on.
Measured: this checkout had been on a feature branch for two days, whose
gh-app-shimstill keyed agent identity onPASEO_AGENT_ID. A subagent carriesno agent id — the case the daemon flag (
OMP_GIT_IDENTITY) exists for — soghfell through to the human's stored account, and the-loft PR #160 was authored by
them. That human then cannot approve it (GitHub greys Approve on your own PR),
and the desk's whole gate assumes the bot is the author.
The shims are now copies, refreshed by
make install:~/.local/bin/gh,~/.local/bin/git,~/.local/libexec/omp-bot-credential-helper;.local/libexec/omp-shims.installed-commitrecords the commit they came from,so drift is answerable rather than invisible;
uninstallremoves the stamp with the shims.A copy changes behaviour only when someone installs — not when a branch moves.
The cost is that testing a shim edit on a branch needs
make install-gh-shimfirst, which is explicit and one command.
Verified after installing (the two cases that matter):
make test: 170 tests OK, lucidlintGATE: PASS.___
PR Type
Bug fix
___
Description
___
Diagram Walkthrough
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>Makefile</strong><dd><code>Shims installed as copies with commit stamp</code> </dd></summary>
<hr>
Makefile
<ul><li>Changed <code>install-gh-shim</code> and <code>install-git-shim</code> from symlink to copy<br> <li> Added <code>SHIMS_COMMIT</code> variable and stamp file recording installed commit<br> <li> Updated help text to describe copy behavior<br> <li> Added <code>rm -f</code> before copy to ensure clean replacement<br> <li> Updated <code>uninstall</code> to remove the commit stamp</ul>
</details>
</td>
<td><a href="https://github.com/ashbywinch/omp-config/pull/152/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52">+22/-6</a> </td>
</tr>
</table></td></tr></tbody></table>
</details>
___