52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Project.Tasks.Editor
|
|
{
|
|
internal static class TaskBoardConstants
|
|
{
|
|
public static readonly string[] Statuses = { "proposal", "ready", "in_progress", "blocked", "done" };
|
|
public static readonly string[] Priorities = { "Lowest", "Low", "Medium", "High", "Highest" };
|
|
}
|
|
|
|
[Serializable]
|
|
internal sealed class TaskRecord
|
|
{
|
|
public string Id;
|
|
public string Title;
|
|
public string Status;
|
|
public string Priority;
|
|
public string Area;
|
|
public string Owner;
|
|
public string Created;
|
|
public string Updated;
|
|
public string ExecutionTime;
|
|
public string RelativeFilePath;
|
|
public string AbsoluteFilePath;
|
|
public string Summary;
|
|
public string Header;
|
|
public string Why;
|
|
public string ExpectedOutcome;
|
|
public string CurrentContext;
|
|
public string AcceptanceCriteria;
|
|
public string Verification;
|
|
public string Risks;
|
|
public string HumanDecisions;
|
|
public string DecisionLog;
|
|
public string HandoffNotes;
|
|
public bool FileExists;
|
|
public int IndexLineNumber = -1;
|
|
public readonly List<string> ValidationMessages = new List<string>();
|
|
}
|
|
|
|
[Serializable]
|
|
internal sealed class TaskBoardData
|
|
{
|
|
public string ProjectRoot;
|
|
public string TasksDirectory;
|
|
public string IndexPath;
|
|
public readonly List<TaskRecord> Tasks = new List<TaskRecord>();
|
|
public readonly List<string> Warnings = new List<string>();
|
|
}
|
|
}
|