feat: complete M0 foundations (job ids, atomic fs helpers, Jackson-style JSON writer, TOML subset parser)

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:14:37 +01:00
1 parent 8cf40344a4
commit d05dc22cee
6 files changed
+714

No files matched your search

+4
View File
@@ -24,3 +24,7 @@ Guidance for AI coding agents working in `zag`, the Zig port of the
| `src/duration.zig` | `\d+[mhdwMHDW]` duration parser |
| `src/timestamp.zig` | ISO-8601 instant formatting/parsing (barn-compatible) |
| `src/state.zig` | Job states and the transition state machine |
| `src/jobid.zig` | `job-` + 8 hex job ids |
| `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) |