Link repos to their own host, like GitLab, not always GitHub #85
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 320 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.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #85"
general
weight: 0.35
emanuele-em
Fixes #84.
A linked repo's key is its path, so a project linked to a GitLab repo opened
github.com/<path>from the board's header and fromkanzo export. Now each linked repo keeps the host of the URL it was linked with, and links go there.ALTER TABLE project_repos ADD COLUMN host TEXT.create_projectandlink_reposet it withhost_from_url(gitlab.comfromgit@gitlab.com:acme/api.git,https://me:token@…orssh://git@host:2222/…; a user, password or port is never stored). An SSH alias likegithub-workhas no dot, so it counts as unknown. Empty means GitHub, soowner/repoand every repo linked before this work as they did. The column has no default, soCOMPATIBLE_FROMstays at 4.Project.repo_urls: each repo's page, in the order ofrepos. The board andkanzo exportlink with it. The board falls back to github.com when it gets norepo_urlsfrom an older board it joined. A repo that isn't on github.com gets a git-branch icon (Lucide) instead of the GitHub one.kanzo mcpkeeps the remote URL next to each repo of the folder. Whencreate_projectorlink_repogets the folder's repo asowner/repo, it uses that remote, so the host isn't lost. Replies don't change. "GitHub owner/repo." becomes "owner/repo." in two argument docs, and "GitHub" is dropped fromlink_repo's description and the instructions, so the tool list gets a few bytes shorter.glab auth login.Matching agents to projects is unchanged: it still uses the path alone.
Not covered: a repo linked through an SSH alias, or before this change, still links to GitHub. Unlinking it and linking it again with its URL fixes it. A self-hosted instance on a non-default web port gets links without the port.
cargo fmt --check,cargo clippy --all-targets -- -D warningsandcargo testpass (100 tests, 3 new:store::hosts,store::repo_links_go_to_their_host,mcp::a_repo_linked_by_name_keeps_the_host_of_the_folders_remote)repo_urlscomes back ashttps://gitlab.com/acme/backend/apiandhttps://github.com/me/api-docs), but couldn't open a browser on that machine. The header link and the Sync row (now a<span>holding two links) need a look.