refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD [NationTech/Team#186] #278

Merged
johnride merged 1 commits from fix/refactorScorePayload into feat/iot-walking-skeleton 2026-05-05 14:04:44 +00:00

1 Commits

Author SHA1 Message Date
95ccc974f9 refactor(fleet-operator): replace ScorePayload with ReconcileScore in Deployment CRD
Some checks failed
Run Check Script / check (pull_request) Failing after 2m45s
Removes the hand-typed ScorePayload struct and its custom schemars
schema function. DeploymentSpec.score is now typed as the strongly
typed ReconcileScore enum already used by the agent, eliminating
duplication and ensuring the CRD schema is derived automatically.

- Add JsonSchema derive to PodmanService, PodmanV0Score, ReconcileScore
- Enable podman feature on harmony dependency in operator
- Re-export ReconcileScore/PodmanV0Score/PodmanService from crd module
- Update harmony_apply_deployment and fleet_load_test examples
- Remove TODO comment from harmony_apply_deployment

Wire format is unchanged (externally tagged {type, data}), so the
operator -> NATS KV -> agent path remains fully backward compatible.
2026-05-05 09:59:40 -04:00