fix(runtime): surface writeback no-receipt failures
Merged
KH
4mo ago+222+222+012345678901234567890123456789-1-1-0123456789
Summary
- wrap runtime
writeJsonFileso missing Relayfile writeback receipts become first-classWritebackErrors withstate: no_receipt - expose normalized writeback status helpers and
WritebackErrorfrom runtime/client barrels - add runtime coverage for receipt success and no-receipt failure compatibility with
WorkforceIntegrationError
Dependency
- Pairs with AgentWorkforce/relayfile-adapters#215. This PR is written to compile with the current adapter-core package and will automatically use adapter-core's normalizer/error exports when that package release lands.
Verification
pnpm install --frozen-lockfilepnpm --filter @agentworkforce/persona-kit buildpnpm --filter @agentworkforce/runtime test(94/94 pass)
Part of AgentWorkforce/cloud#2291 W6 follow-up.