feat(harness): ingest OAuth storage and recover workflow write handling

Recover the OAuth storage slice from f6079e9d and the missing workflow persistence error handling from f07c314e, adapted to the current step contract. Require encryption for OAuth token storage and verify RPC round trips and task-grant denial.
This commit is contained in:
sam committed 2026-09-27 13:09:41 +10:00
1 parent b3e9159dce
commit 45cf3bc2c8
26 files changed
+2047 -935

No files matched your search

+4
View File
@@ -330,6 +330,10 @@ func (b *boot) stateStoreDeps(grants *staterpc.TaskGrants) staterpc.Deps {
deps.EventTypes = b.eda
deps.Sources = b.eda
deps.MappingMatches = b.eda
// HarnessSecrets rides the same encrypted-at-rest store as source
// webhook secrets (docs/prds/binding-secret-encryption.md), under its
// own domain separator (bindingcipher.HarnessSecretDomain).
deps.HarnessSecrets = b.eda
}
// tool_call events project into the tool_calls collection on the same
// event-capture store: this process legitimately owns both, so the
+1
View File
@@ -17,6 +17,7 @@ type eventCaptureStore interface { //nolint:interfacebloat // composite of the s
storecontract.PlaybookDispatcher
storecontract.EventTypeStore
storecontract.SourceStore
storecontract.HarnessSecretStore
toolCallWriter
}