You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kind resolution at the Pending to Active transition #618
An unasserted claim is a promise to observe; activation is where the model first consults the disk, so activation is where the kind resolves.
A seam shaped like op.RootBinder: a resource that can resolve its own kind implements it (file.AnyEntry does; nothing else needs to).
ResourceCatalog.VerifyExistence drives it — the catalog owns transitions, so the catalog owns the resolution. On Pending → Active, the entry is replaced in the ledger via rebindEntry with the variant the disk shows, and the transition marks the resolved object Active. The Gone branch resolves nothing — nothing was observed, so the entry stays AnyEntry, an honest record of an unmet unasserted claim.
Idempotence is free: VerifyExistence early-returns on an already-Active entry, so resolution happens exactly once, at the consuming scope's starting line.
Identity is untouched throughout: the catalog key strips the URI fragment for location addressing, so the Go type riding the URI is metadata, not identity.
Pins: both directions of the transition, and the ledger holding one entry throughout.
Activity