feat: persist governed development gates
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user