refactor: remove repository field from issues

The repository JSONB column on the issue table is unused. This removes
it end-to-end: migration to drop the column, sqlc queries, Go handler/
service/daemon/protocol structs, TypeScript types, and the
RepositoryEditor UI component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jiayuan Zhang 2026-03-24 18:12:06 +08:00
parent e3ea7bd02c
commit e86768823e
18 changed files with 18 additions and 242 deletions

View file

@ -16,14 +16,6 @@ type TaskDispatchPayload struct {
Description string `json:"description"`
AcceptanceCriteria []string `json:"acceptance_criteria"`
ContextRefs []string `json:"context_refs"`
Repository *RepoRef `json:"repository,omitempty"`
}
// RepoRef points to a code repository.
type RepoRef struct {
URL string `json:"url"`
Branch string `json:"branch,omitempty"`
Path string `json:"path,omitempty"`
}
// TaskProgressPayload is sent from daemon to server during task execution.