24 lines
612 B
Markdown
24 lines
612 B
Markdown
|
|
---
|
||
|
|
kind: task
|
||
|
|
slug: shared-forge-schemas
|
||
|
|
title: Shared forge types, connected repo schemas, and parseGitRemoteUrl
|
||
|
|
plan_slug: automation-foundation
|
||
|
|
epic_slug: connected-repos
|
||
|
|
status: done
|
||
|
|
priority: P1
|
||
|
|
tenant_id: global
|
||
|
|
owner: unassigned
|
||
|
|
cursor_todo_id: null
|
||
|
|
updated_at: "2026-07-07"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Task summary
|
||
|
|
|
||
|
|
Zod schemas and pure URL parser for pasted git remotes (GitHub, Forgejo, GitLab, Bitbucket).
|
||
|
|
|
||
|
|
## Acceptance criteria
|
||
|
|
|
||
|
|
- [x] `parseGitRemoteUrl` handles HTTPS and `git@host:owner/repo` forms
|
||
|
|
- [x] Vitest coverage for GitHub, Forgejo self-hosted, GitLab.com
|
||
|
|
- [x] Exported from `@tasks/shared/connected-repos`
|