[Story-752] Provision agents streaming infrastructure

Story 752Epic 749๐Ÿ”— Chain of CustodyAgent Platform3 files ยท +1007/โˆ’0

PR #188 ยท pramaan-io/pramaan-functions ยท merged 2026-05-20

How it flows

sequenceDiagram
  autonumber
  participant L1 as GitHub Actions
  participant L2 as AWS Resources
  participant L3 as Observability
  L1->>L2: SQS queue + DLQ
  L2->>L2: S3 offload bucket
  L2->>L2: DynamoDB connection table
  L2->>L2: Agents / runtime IAM
  L2->>L2: WebSocket API + bootstrap Lambda
  L2->>L2: Event source mapping (disabled)
  L2->>L3: SNS alerts + CloudWatch alarms

.github/workflows/provision-agents-infra.yml

Methodin โ†’ outwhat it does
lambda_handler(event, context) โ†’ dict[str, Any]orchestrates each AWS provisioning step from the Actions trigger
_response(route) โ†’ dict[str, Any]builds the JSON reply returned to the GitHub Actions run

What changed, file by file

Manual GitHub Actions workflow that provisions and reconciles SQS with DLQ, S3 offload bucket, DynamoDB WebSocket connection table, agents and runtime IAM, a disabled event source mapping, WebSocket API, bootstrap handler Lambda, SNS alerts, and CloudWatch alarms for the agents v-one staging environment.

new methodsignature
lambda_handler(event, context) โ†’ dict[str, Any]
_response(route) โ†’ dict[str, Any]
New fields: name : Provision Agents InfrastructureTRACING_MODE : Activerun : |

What this PR does NOT do

Resource shape locked by focused unit tests
Internal-only boundary enforced on the agents Lambda
Event source mapping stays disabled until a later story wires it
Cost estimate documented, not yet realized

Files changed (3)

Fileยฑ
.github/workflows/provision-agents-infra.yml โ˜…+866
docs/agents-infra.md โ˜…+80
tests/unit/test_agents_infra_workflow.py+61