Submatter/plans/Plan-automation-foundation/Epic-connected-repos/Task-shared-forge-schemas.md

24 lines
612 B
Markdown
Raw Normal View History

---
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`