Files
archie/internal/app/statestore/eda.go
T
sam f92c5b4536
ci/woodpecker/pr/quality Pipeline was successful
Quality / check (pull_request) Canceled after 7m39s
chore(runtime): delete Kit and external agent harness support (#1877)
Archie runs its own agent loop only. Removes Kit resolution and launch,
the harness runner and adapters, the setup terminal and sandbox view,
harness secrets and OAuth capture (table dropped in migration 0075), the
task-tools contract that only Kit containers reached, and the
sandbox-kit-spec dependency. Agent profiles carry image and tools only.
The egress proxy keeps the model-session path; the sandbox relay code
stays for #1867.
2026-11-12 21:29:05 +11:00

29 lines
1.0 KiB
Go

package statestore
import (
"github.com/samcharles93/archie-core/internal/domain/storecontract"
"github.com/samcharles93/archie-core/internal/infrastructure/bindingcipher"
"github.com/samcharles93/archie-core/internal/infrastructure/postgres"
)
// eventCaptureStore is every surface the State Store serves from the
// event-capture tables, plus the tool_call projection it writes through.
type eventCaptureStore interface { //nolint:interfacebloat // composite of the store contracts the event-capture tables serve
storecontract.CaptureStore
storecontract.CaptureRefusalStore
storecontract.MappingStore
storecontract.BindingStore
storecontract.BindingDispatcher
storecontract.MappingMatchRecorder
storecontract.PlaybookDispatcher
storecontract.EventTypeStore
storecontract.SourceStore
toolCallWriter
}
// openEDAStore serves the event-capture store from the State Store's Postgres
// pool, sealing binding secrets with cipher.
func (b *server) openEDAStore(cipher bindingcipher.BindingCipher) {
b.eda = postgres.NewEDA(b.pg, cipher, b.log)
}