fetch_ml/docs/src
Jeremie Fraeys 3187ff26ea
refactor: complete maintainability phases 1-9 and fix all tests
Test fixes (all 41 test packages now pass):
- Fix ComputeTaskProvenance - add dataset_specs JSON output
- Fix EnforceTaskProvenance - populate all metadata fields in best-effort mode
- Fix PrewarmNextOnce - preserve prewarm state when queue empty
- Fix RunManifest directory creation in SetupJobDirectories
- Add ManifestWriter to test worker (simpleManifestWriter)
- Fix worker ID mismatch (use cfg.WorkerID)
- Fix WebSocket binary protocol responses
- Implement all WebSocket handlers: QueueJob, QueueJobWithSnapshot, StatusRequest,
  CancelJob, Prune, ValidateRequest (with run manifest validation), LogMetric,
  GetExperiment, DatasetList/Register/Info/Search

Maintainability phases completed:
- Phases 1-6: Domain types, error system, config boundaries, worker/API/queue splits
- Phase 7: TUI cleanup - reorganize model package (jobs.go, messages.go, styles.go, keys.go)
- Phase 8: MLServer unification - consolidate worker + TUI into internal/network/mlserver.go
- Phase 9: CI enforcement - add scripts/ci-checks.sh with 5 checks:
  * No internal/ -> cmd/ imports
  * domain/ has zero internal imports
  * File size limit (500 lines, rigid)
  * No circular imports
  * Package naming conventions

Documentation:
- Add docs/src/file-naming-conventions.md
- Add make ci-checks target

Lines changed: +756/-36 (WebSocket fixes), +518/-320 (TUI), +263/-20 (Phase 8-9)
2026-02-17 20:32:14 -05:00
..
adr docs: fix mermaid graphs and update outdated content 2026-02-16 20:37:38 -05:00
assets/javascripts chore: clean up temporary and build artifacts 2026-02-16 20:39:34 -05:00
_index.md docs: migrate to Hugo Book theme and publish via GitHub Pages 2026-01-05 12:22:24 -05:00
api-key-process.md docs: add comprehensive documentation with MkDocs site 2025-12-04 16:54:57 -05:00
architecture.md docs: fix mermaid graphs and update outdated content 2026-02-16 20:37:38 -05:00
cicd.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
cli-reference.md docs: remove debug command from CLI reference 2026-02-16 20:39:20 -05:00
cli-tui-ux-contract-v1.md docs: fix mermaid graphs and update outdated content 2026-02-16 20:37:38 -05:00
configuration-reference.md docs(dev): document validate workflow, CLI/TUI UX contract, and consolidate dev/testing docs 2026-01-05 12:37:46 -05:00
configuration-schema.md docs: add comprehensive documentation with MkDocs site 2025-12-04 16:54:57 -05:00
deployment.md docs(ops): consolidate deployment and performance monitoring docs for Caddy-based setup 2026-01-05 12:37:40 -05:00
dev-quick-start.md docs(dev): document validate workflow, CLI/TUI UX contract, and consolidate dev/testing docs 2026-01-05 12:37:46 -05:00
environment-variables.md docs: add comprehensive documentation with MkDocs site 2025-12-04 16:54:57 -05:00
file-naming-conventions.md refactor: complete maintainability phases 1-9 and fix all tests 2026-02-17 20:32:14 -05:00
first-experiment.md feat(experiment): improve experiment lifecycle and update first-experiment guide 2026-01-05 12:37:34 -05:00
installation.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
jupyter-workflow.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
landing.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
native-libraries.md docs: add native libraries documentation and smoke tests 2026-02-16 20:38:46 -05:00
operations.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
performance-monitoring.md refactor: extract domain types and consolidate error system (Phases 1-2) 2026-02-17 12:34:28 -05:00
queue.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
quick-start.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
redis-ha.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
release-checklist.md docs: add comprehensive documentation with MkDocs site 2025-12-04 16:54:57 -05:00
research-runner-plan.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
security.md feat(jupyter): improve runtime management and update security/workflow docs 2026-01-05 12:37:27 -05:00
smart-defaults.md docs: add comprehensive documentation with MkDocs site 2025-12-04 16:54:57 -05:00
testing.md docs(dev): document validate workflow, CLI/TUI UX contract, and consolidate dev/testing docs 2026-01-05 12:37:46 -05:00
troubleshooting.md docs(dev): document validate workflow, CLI/TUI UX contract, and consolidate dev/testing docs 2026-01-05 12:37:46 -05:00
user-permissions.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
validate.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00
zig-cli.md docs: comprehensive documentation updates 2026-02-12 12:05:27 -05:00