feat: M1 job model, state files and repository

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel SamsonandClaude Sonnet 5.5 committed 2026-10-17 13:18:16 +01:00
1 parent d05dc22cee
commit e39e1c91a4
9 files changed
+1044

No files matched your search

+5
View File
@@ -28,3 +28,8 @@ Guidance for AI coding agents working in `zag`, the Zig port of the
| `src/fsutil.zig` | Atomic writes, trimmed reads, advisory `FileLock` |
| `src/jsonpretty.zig` | Streaming JSON writer matching Jackson `INDENT_OUTPUT` layout |
| `src/toml.zig` | Parser for barn's TOML subset (`[section]`, `key = value`, arrays) |
| `src/loadlevel.zig` | `high`/`medium`/`low` load levels |
| `src/job.zig` | `Job`, `Manifest`, `ExitCode` types |
| `src/dirs.zig` | On-disk layout under the base dir |
| `src/statefiles.zig` | One-value-per-file job state (atomic) |
| `src/repository.zig` | Job create/find/transition/retry persistence, `manifest.json` I/O |