feat(data): ticket_ref auf tasks, ticket_project_id auf list_config

This commit is contained in:
mika kuns
2026-08-27 12:17:59 +02:00
parent 5a13ad4492
commit 3171690bae
8 changed files with 1105 additions and 0 deletions
@@ -17,6 +17,11 @@ public sealed class ListConfigEntity
// awaiting-merge sibling in the same list instead of claiming it.
public bool SerializeOnFileOverlap { get; set; }
// Id des Projekts im externen Ticketsystem, aus dem diese Liste Tickets importiert.
// Null = nicht verknüpft. ⚠️ SetConfigAsync kopiert verbatim — jeder Writer muss dieses
// Feld mitführen, sonst setzt es sich still zurück.
public int? TicketProjectId { get; set; }
// Navigation property
public ListEntity List { get; set; } = null!;
}
+5
View File
@@ -81,6 +81,11 @@ public sealed class TaskEntity
// an unset value means "no basis to hold this task back", not "touches nothing".
public string? ScopeGlobs { get; set; }
// Verknüpftes Ticket im externen Ticketsystem, Format "<provider>:<id>" (aktuell immer
// "bandel:<ticketId>"). Gesetzt vom Ticket-Import, sonst null. Der Provider-Präfix existiert,
// damit ein zweites Ticketsystem später keine Datenmigration braucht.
public string? TicketRef { get; set; }
// Review range for a worktree-less task hosting an interactive "list handler" run
// (Mission Control's "Let Claude handle it"): the handler commits its own changes
// straight to the list's working dir, so there is no per-task worktree to diff. These