Skip to content

PIR: Add state engine models for email flexibility#8233

Open
landomen wants to merge 1 commit intofeature/domen/pir-email-flexibility-modelsfrom
feature/domen/pir-email-flexibility-state-engine-models
Open

PIR: Add state engine models for email flexibility#8233
landomen wants to merge 1 commit intofeature/domen/pir-email-flexibility-modelsfrom
feature/domen/pir-email-flexibility-state-engine-models

Conversation

@landomen
Copy link
Copy Markdown
Contributor

@landomen landomen commented Apr 9, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1213886961787938?focus=true

Description

Adds state engine models for email flexibility.

Steps to test this PR

Will be testable on upstream PRs once whole feature is finished.

UI changes

No UI changes


Note

Low Risk
Adds new state/side-effect models and a stub handler for email-data polling; behavior is effectively unchanged until the TODO is implemented, with only minimal wiring added to the runner.

Overview
Extends the PIR actions state engine to support email confirmation/data extraction flows by adding emailExtractedData to engine State plus new events (EmailDataReceived, RetryAwaitEmailData) and a new side effect (SideEffect.AwaitEmailData) carrying polling/extraction parameters.

Wires the runner to recognize AwaitEmailData and adds a placeholder handleAwaitEmailData (TODO) for future implementation, without changing current runtime behavior beyond handling the new side-effect type.

Reviewed by Cursor Bugbot for commit 53a3685. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Contributor Author

landomen commented Apr 9, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from 53a3685 to 1c7b095 Compare April 29, 2026 05:13
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from c34b397 to 8b6b0dd Compare April 29, 2026 05:13
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.

2 participants