feat: persist governed development gates
CI / test (push) Successful in 1m8s
CI / test (pull_request) Successful in 1m4s

This commit is contained in:
m
2026-08-23 03:34:43 +03:00
parent fde14cf0b8
commit c542642bf0
6 changed files with 112 additions and 5 deletions
+15
View File
@@ -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
}