P1.1: swap yaml struct tags for json in domain types

Replace yaml:"…" tags with json:"…" on Job, Config, and JobsFile.
Add omitempty to bool fields in Config that previously lacked it.
Update comments to reference .json filenames.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-06-22 21:21:56 +03:00
parent 095ae557f1
commit b7bbb41845
3 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ These land together because both edit `domain/job.go` and `storage/store.go`.
## Completion checklist
### Phase 1 — Storage JSON + exit-code removal
- [ ] P1.1 — JSON struct tags
- [x] P1.1 — JSON struct tags
- [ ] P1.2 — `writeJSON` + JSON unmarshal
- [ ] P1.3 — `gosentry.json` / `jobs.json` paths; drop pysentry name
- [ ] P1.4 — One-time YAML import