16 lines
433 B
Go
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
|
|
}
|