mirror of
https://github.com/khodges42/nightShift.git
synced 2026-06-14 18:18:36 +00:00
Includes starter project generation, validation for configs/tasks/commands, artifact snapshot writing, structured stage results, command output capture, devlogs for phases 1-6, and unit coverage for the implemented MVP layers.
20 lines
402 B
Python
20 lines
402 B
Python
"""Shared stage result types."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Literal
|
|
|
|
|
|
StageStatus = Literal["pass", "fail", "retry", "escalate"]
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class StageResult:
|
|
stage_id: str
|
|
status: StageStatus
|
|
reason: str
|
|
output_path: str | None = None
|
|
next_stage: str | None = None
|
|
context_update: str | None = None
|