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

+8
View File
@@ -52,3 +52,11 @@ process; nothing else opens the database.
Add the sentinel to `storecontract`, a row to `wireErrors` in `values.go`, and
a case to `error_test.go`. The canonical message is part of the wire contract:
changing it breaks `errors.Is` on the client silently.
## Harness OAuth secrets
`HarnessSecretStore` stores token sets by org and credential service through
admin-only State Store RPCs. The EDA store seals them with the binding cipher's
keyring and a separate `HarnessSecretDomain`. OAuth writes require a configured
binding encryption key; the legacy binding plaintext fallback does not apply.
The proxy interception and setup terminal are separate harness slices.