Skip to content

Email Security dispositions, release and resumable report remediation - #413

Merged
maximelb merged 4 commits into
masterfrom
fbB/disposition-reports
Oct 1, 2026
Merged

maximelb merged 4 commits into
masterfrom
fbB/disposition-reports

Conversation

@maximelb

@maximelb maximelb commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Add independent analyst dispositions, report resolution with preview/confirmation, and release_message to the Email Security SDK and CLI. Dispositions preserve the engine verdict. Report remediation supports message, campaign and a frozen same-message group; group requests use an explicit UUID attempt.

The report resolve command accepts --attempt, --wait and a bounded --timeout. The SDK waiter repeats the unchanged request, returns prepared confirmation without executing it, and resumes confirmed durable work after a timeout. Timeouts retain the job and CLI exit status 2; incomplete or unknown outcomes are refused.

Risk: these APIs require the corresponding service release. Group actions continue after client interruption; resume with the same attempt and confirmation. Resolving a group report classifies only its linked original.

Validation: full unit/microbenchmark suite passed (4681 tests, six pre-existing skips), then 138 focused tests passed after adding resumed-preview confirmation cases. Command discovery and --ai-help checked. After deployment, preview and confirm a synthetic group report and verify bounded waiting, original-only disposition and unchanged verdict.

🤖 Generated with Claude Code

@maximelb

Copy link
Copy Markdown
Contributor Author

/lc-review

lcbill
lcbill previously approved these changes Sep 30, 2026
@maximelb

maximelb commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

/lc-review

lcbill
lcbill previously approved these changes Oct 1, 2026
@maximelb maximelb changed the title Add mail disposition, release and report remediation commands Email Security dispositions, release and resumable report remediation Oct 1, 2026
@maximelb

maximelb commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

/lc-review

@maximelb

maximelb commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Adversarial follow-up review completed: required UUID group attempts, frozen request preservation across preview/confirm/polling, bounded waiting and timeout results, unknown/partial outcome refusal, permissions and original-only classification are covered by the corresponding unit tests and documented workflow. Command flags/signatures and public links were checked. Exact current-head CI passes.

A fresh /lc-review was requested, but no substantive new AI review has arrived after more than 40 minutes. Empty approval bodies are not content reviews. This public PR remains open for Maxime; documentation publication must follow the corresponding stable SDK/CLI release.

lcbill
lcbill previously approved these changes Oct 1, 2026
@maximelb
maximelb merged commit 547afe7 into master Oct 1, 2026
6 checks passed
@maximelb
maximelb deleted the fbB/disposition-reports branch October 1, 2026 23:46
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