Skip to content

fix(eve): emit candidate outcomes after persistence - #1362

Closed
benpankow wants to merge 2 commits into
ben/hitl-durable-event-orderingfrom
ben/hitl-durable-candidate-outcomes
Closed

fix(eve): emit candidate outcomes after persistence#1362
benpankow wants to merge 2 commits into
ben/hitl-durable-event-orderingfrom
ben/hitl-durable-candidate-outcomes

Conversation

@benpankow

@benpankow benpankow commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Applies durable-first ordering to rejected, failed, timed-out, and stale candidate outcomes:

  • persists terminal candidate audit records before lifecycle emission
  • emits pending terminal candidate history on the next workflow step
  • marks emitted history to prevent replay duplicates
  • keeps shared approval UI as a projection of committed candidate state

Validation

  • pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/harness/approval-candidates.test.ts src/harness/input-requests.test.ts src/harness/tool-loop.test.ts src/public/channels/slack/defaults.test.ts
  • pnpm --filter eve typecheck

Stack

Depends on #1361.

Signed-off-by: benpankow <ben.pankow@vercel.com>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview Jul 29, 2026 9:10pm
eve-docs-4759 Ready Ready Preview, v0 Jul 29, 2026 9:10pm

Signed-off-by: benpankow <ben.pankow@vercel.com>
@benpankow

Copy link
Copy Markdown
Collaborator Author

Superseded by the consolidated 7-PR implementation stack starting at #1368 (GitHub stack #1375).

@benpankow benpankow closed this Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant