Switch storage serialization from YAML to JSON (P1.2)
Replace writeYAML with writeJSON (json.MarshalIndent, 2-space indent, trailing newline) and switch the config and jobs Unmarshal calls to encoding/json. Mark P1.2 done in the pre-release task list. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ These land together because both edit `domain/job.go` and `storage/store.go`.
|
||||
|
||||
### Phase 1 — Storage JSON + exit-code removal
|
||||
- [x] P1.1 — JSON struct tags
|
||||
- [ ] P1.2 — `writeJSON` + JSON unmarshal
|
||||
- [x] P1.2 — `writeJSON` + JSON unmarshal
|
||||
- [ ] P1.3 — `gosentry.json` / `jobs.json` paths; drop pysentry name
|
||||
- [ ] P1.4 — One-time YAML import
|
||||
- [ ] P1.5 — Remove `SuccessExitCodes` across code
|
||||
|
||||
Reference in New Issue
Block a user