[Connector] Use shared lifecycle state handling #314
All Vouch review confidence checks passed
Residual risk 0.56 = Change Risk (0.62) × (1 − Review Confidence (0.10)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 301 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 22% · Reviewer familiarity: 10%
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.342
No Reviewer Assigned
no_reviewer_assigned
0.120
Rapid Merge
rapid_merge
0.100
Real PR Conversation Timeline
1 comments
"Review active on #314"
general
weight: 0.35
burin-labs-agent
GitLab now delegates initialization, binding activation, and shutdown to Harn's shared connector lifecycle owner, removing its duplicate state policy. The adapter preserves GitLab's existing success and error responses, including
kind: "webhook", and publishes the lifecycle result types in its generated API reference. A new contract test passed against both the original implementation and the shared owner: it checks exact response shapes, binding IDs, duplicate-path rejection before any state write, retained active state after refusal, and shutdown without changing another provider's state. Published Harn 0.10.174 passed all 12 package verification stages, including all eight package tests and consumer install/import; existing manifest warnings remain and no live GitLab request was needed.Partial: burin-labs/harn#8161 (GitLab adoption).
<!-- codesmith:footer -->
---
<a href="https://app.blacksmith.sh/burin-labs/codesmith/harn-gitlab-connector/pr/314?autoLogin=true&ref=codesmith_pr_footer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img alt="View with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png" width="162" height="28"></picture></a> <a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1795360299&installation_model_id=426921&pr_number=314&ref=codesmith_pr_footer&repository=burin-labs%2Fharn-gitlab-connector&return_to=https%3A%2F%2Fgithub.com%2Fburin-labs%2Fharn-gitlab-connector%2Fpull%2F314&signature=85ec8980c1696cc36614120498d2778314ab1a9a67fe9e6ec57a0d3c116ce80e"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png" width="190" height="28"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup>
<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->