mirror of
https://github.com/khodges42/nightShift.git
synced 2026-06-14 10:08:37 +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.
1.2 KiB
1.2 KiB
Phase 5 Devlog: Artifact Store
Implemented
- Added
nightshift/artifacts.py. - Created
.nightshift/, per-run directories, and per-task directories. - Created
project-context.mdandrun-summary.mdplaceholders when a run is initialized. - Added config snapshot copying to
config.snapshot.yaml. - Added task snapshot writing to
task.md. - Added generic stage output writing.
- Added command output writing.
- Added final task notes writing.
- Added tests for artifact tree creation, snapshot writing, and task-directory escape rejection.
Decisions Made
ArtifactStoreaccepts an optionalrun_idso tests and future pipeline code can produce deterministic artifact paths.- Default run ids use UTC timestamps in
YYYYMMDDTHHMMSSZformat. - Stage output filenames are relative to the task artifact directory and may include subdirectories, but they cannot escape that task directory.
- Project context and run summary files are initialized with simple markdown headers. Later phases can append richer content.
Notes
- The artifact store is intentionally independent from pipeline execution so command, agent, context, and report phases can reuse it.