Internal
internal/core/reconcile
Package reconcile projects session evidence onto living task specs.
import "github.com/nilstate/scafld/v2/internal/core/reconcile"
Package reconcile projects session evidence onto living task specs.
Variables
PhaseBlockFields documents the session-backed fields projected into phase state.
Source: internal/core/reconcile/model.go:10
var PhaseBlockFields = map[string]string{
"status": "projected phase state",
"reason": "human-readable source reason",
"updated_at": "source event timestamp",
"source_id": "session entry identifier",
}Functions
func FromSession(model spec.Model, ledger session.Session) spec.Model
Source: internal/core/reconcile/model.go:32
FromSession projects replayed session state into a spec model.
func Idempotent(current Projection) Projection
Source: internal/core/reconcile/model.go:24
Idempotent returns a normalized projection without changing semantic state.
Types
type Projection
Source: internal/core/reconcile/model.go:18
Projection is the session-derived view that can be replayed into a spec.
type Projection struct {
TaskID string
Lines []string
}Fields
TaskID stringLines []string
