fix: import/bootstrap hardening, canonical registry URLs, GUI canonical add path

- plain clones count as present; import refuses non-empty targets
- registry stores canonical https URLs; bootstrap matches provider by host
- clone URLs and repo names validated; GitHub link-style pagination
- bridge passes the canonical path to grove add; fix flaky instance test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 18:58:28 +01:00
1 parent fdc5a8f5a6
commit 3cba9784a3
8 files changed
+273 -59

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ mod tests {
fn tmp_sock(tag: &str) -> PathBuf {
let d = std::env::temp_dir().join(format!("gg-{tag}-{}", std::process::id()));
let _ = std::fs::remove_dir_all(&d); // leftovers of an earlier run with the same pid
std::fs::create_dir_all(&d).unwrap();
std::fs::set_permissions(&d, std::fs::Permissions::from_mode(0o700)).unwrap();
d.join("gui.sock")