Files
m c542642bf0
CI / test (push) Successful in 1m8s
CI / test (pull_request) Successful in 1m4s
feat: persist governed development gates
2026-08-23 03:34:43 +03:00

16 lines
433 B
Go

package ports
import (
"context"
"git.cin.su/m/Assistant/contracts/work"
)
// DevelopmentGateStore persists only the governed state machine and its
// provenance. It does not create worktrees, execute code or grant promotion
// authority.
type DevelopmentGateStore interface {
LoadDevelopmentGate(context.Context, string) (work.DevelopmentGate, error)
SaveDevelopmentGate(context.Context, work.DevelopmentGate, int64) error
}