Skip to content

Run message comparisons with purchase and resume support - #61

Merged
lexdoudkin merged 1 commit into
mainfrom
feature/message-comparison-journey
Oct 3, 2026
Merged

lexdoudkin merged 1 commit into
mainfrom
feature/message-comparison-journey

Conversation

@lexdoudkin

Copy link
Copy Markdown
Contributor

Agents running a two-message comparison need to preserve the reviewed Study and purchase while the buyer completes checkout. This adds a runnable workflow and shared-client orchestration that prepares a private Study, requires exact draft confirmation, reuses a saved hosted checkout, and resumes the same research after the server accepts access.

The existing billing catalog, Stripe Checkout adapter, ACP session readback, MCP research services and webhook entitlement rules remain the runtime authority. Stable keys and private checkpoints preserve retries across process restarts. Pending/canceled checkout and incomplete research cannot produce a completed report. Buyer approval and subscription legal acceptance are explicit; no prices or allowances are introduced.

Validation: 27 shared-client tests, including a CLI journey across separate processes with simulated payment; TypeScript compilation; 20 Slack regression tests; CLI syntax and diff checks. Read-only production checks verified account authentication, billing catalog, MCP discovery and all five required research tools. Real card payment, webhook activation, actual research execution and assistant-host acceptance were not performed in this change; the dated verification record lists these limits.

Guide: docs/message-comparison.md. Entry point: examples/message-comparison.mjs.

@lexdoudkin
lexdoudkin marked this pull request as ready for review October 3, 2026 12:00
@lexdoudkin
lexdoudkin merged commit 405e246 into main Oct 3, 2026
2 checks passed
@lexdoudkin
lexdoudkin deleted the feature/message-comparison-journey branch October 3, 2026 12:02
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