Cloud Architecture & Security
Deterministic static diff first. Amazon Bedrock second.
LLMs should never guess whether an API change is breaking. PatchSpec separates contract truth from migration writing: our deterministic engine detects every wire-level breakage, then invokes Anthropic Claude via Amazon Bedrock strictly to draft clean migration guides and compatibility adapters.
Pipeline Stage Specifications
Edge Delivery & Auth
Amazon CloudFront + API Gateway
Receives GitHub PR webhook payloads and CLI/web spec uploads over TLS with per-repo rate limiting and HMAC signature verification.
Deterministic Contract Diff
AWS Lambda (TypeScript / Node.js)
Parses OpenAPI 3.x and JSON Schema trees, resolves internal $ref pointers, and runs 14+ zero-hallucination wire-compatibility checks.
Spec Snapshots & Audit Trail
Amazon S3 + Amazon DynamoDB
Stores immutable hashed spec versions in S3 with lifecycle expiry and indexes per-PR breaking-change reports and risk scores in DynamoDB.
Semantic Patch & Migration Synthesis
Amazon Bedrock (Anthropic Claude)
Feeds ONLY verified diff findings plus affected route definitions to Claude on Amazon Bedrock to generate backward-compatible middleware patches, SDK migration diffs, and plain-English PR summaries.
Inference Economics
Model Tiering on Amazon Bedrock
PatchSpec keeps token latency and inference costs predictable by routing Bedrock invocations strictly by diff complexity:
Fast PR changelog summaries, Deprecation / Sunset headers, and single-endpoint adapter snippets.
Multi-endpoint breaking migrations, cross-schema refactors, and TypeScript/Python SDK compatibility patches.
Security & Isolation
Zero-Training Data Boundaries
API schemas map internal business surfaces. PatchSpec enforces strict execution isolation across local and hosted modes:
Executes completely inside your browser session — OpenAPI and JSON Schema files are never transmitted to or logged by PatchSpec servers.
Runs inside isolated AWS IAM roles using Amazon Bedrock private inference. Customer payloads are not used to train foundation models.
Test the deterministic engine in your browser
Run the live browser-local auditor now, or contact [email protected] for Early Access to the GitHub Actions + Bedrock cloud pipeline.