P1.3: rename storage files to gosentry.json / jobs.json

- ConfigFileName → "gosentry.json", JobsFileName → "jobs.json"
- Remove exported LegacyConfigFileName ("pysentry.yaml")
- Add unexported legacyYAMLConfigFileName / legacyYAMLJobsFileName for
  the upcoming one-time YAML import (P1.4)
- Update store.go fallback path and comments to describe YAML→JSON
  migration rather than the old PySentry→GoSentry rename
- Align store_test.go references and test comments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-06-22 21:33:02 +03:00
parent 7ec5521309
commit 8df248a1b2
4 changed files with 23 additions and 25 deletions
+1 -1
View File
@@ -82,7 +82,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
- [x] P1.2 — `writeJSON` + JSON unmarshal
- [ ] P1.3 — `gosentry.json` / `jobs.json` paths; drop pysentry name
- [x] P1.3 — `gosentry.json` / `jobs.json` paths; drop pysentry name
- [ ] P1.4 — One-time YAML import
- [ ] P1.5 — Remove `SuccessExitCodes` across code
- [ ] P1.6 — Update storage/runner/format tests + TESTS.md