Skip to content

Add secure outbound history append endpoint - #10

Merged
mneuronico merged 1 commit into
mneuronico:mainfrom
jmcafferata:copilot/append-outgoing-history
Sep 28, 2026
Merged

mneuronico merged 1 commit into
mneuronico:mainfrom
jmcafferata:copilot/append-outgoing-history

Conversation

@jmcafferata

Copy link
Copy Markdown
Contributor

Summary

  • Add an authenticated POST /history/outgoing endpoint for externally sent messages.
  • Append messages with the assistant role through the existing per-user lock and S3 history lifecycle, without running process_webhook_update.
  • Authenticate requests with timestamped HMAC-SHA256 signatures and deduplicate retries by event ID.
  • Add the endpoint to generated SAM templates and document the request contract.

Validation

  • python -m pytest -q (131 passed, 1 skipped)
  • bash -n maws/resources/bootstrap.sh
  • git diff --check

mneuronico added a commit that referenced this pull request Sep 28, 2026
Opt-in outbound history append endpoint (hardened version of #10)
@mneuronico
mneuronico merged commit 1aec7e4 into mneuronico:main Sep 28, 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.

2 participants