feat(control-plane): harden host-scoped reconcile and acceptance evidence

- add batch-scoped reconcile_runs persistence and queries
- route batch detail and reconcile writes through batch_id/host_id
- refresh production boards with host-scope acceptance artifacts
- include latest real-host acceptance evidence for self_service and subscription
This commit is contained in:
phamnazage-jpg
2026-05-18 22:22:22 +08:00
parent 71cbaf5fa6
commit 85d495dd16
332 changed files with 5561 additions and 422 deletions

View File

@@ -42,8 +42,10 @@ type HostCapabilities struct {
}
type CreateGroupRequest struct {
Name string `json:"name"`
RateMultiplier float64 `json:"rate_multiplier"`
Name string `json:"name"`
Platform string `json:"platform,omitempty"`
RateMultiplier float64 `json:"rate_multiplier"`
SubscriptionType string `json:"subscription_type,omitempty"`
}
type GroupRef struct {
@@ -108,7 +110,7 @@ type AccountModel struct {
type AssignSubscriptionRequest struct {
UserID string `json:"user_id"`
GroupID string `json:"group_id"`
DurationDays int `json:"duration_days,omitempty"`
DurationDays int `json:"validity_days,omitempty"`
}
type SubscriptionRef struct {