feat: Phase 7 — SeedService, SecretsService, ProvisioningService + ssh Provisioner

Seed ingest/export moves behind ports.SeedRepository (SeedRepo in the
postgres adapter; knowledge ingest absorbed from internal/knowledge,
package deleted). pct_create flow (defaults, template/VMID/gateway
pre-flights, pct create, graph registration) moves from httpapi's
approved-execution path into app.ProvisioningService + the ssh
provisioner adapter; CLI seed/export/secret become adapters over the
services. EntityCreateInput gains EnrolledAt. Plan status corrected:
phases 0-7 shipped, 8 + 9 gates open. VERSION 0.34.1.
This commit is contained in:
2026-08-16 09:11:26 +02:00
parent cd44501fa9
commit 60c0432d8b
26 changed files with 1565 additions and 689 deletions

View File

@@ -60,6 +60,9 @@ type EntityCreateInput struct {
Audit []AuditEntry
Event *Event
Idempotency *Idempotency
// EnrolledAt, when set, stamps the entities.enrolled_at column (the
// client-enrollment / provisioning marker). Zero for ordinary creates.
EnrolledAt *time.Time
}
// EntityUpdateInput mutates an entity atomically. ExpectedVersion is the