Skip to content

docs: plans for rect and chained mutations, detection service, malware scan - #137

Merged
ivanbarlog merged 2 commits into
mainfrom
docs/plans-rect-focal-point-malware-scan
Dec 1, 2026
Merged

ivanbarlog merged 2 commits into
mainfrom
docs/plans-rect-focal-point-malware-scan

Conversation

@ivanbarlog

Copy link
Copy Markdown
Contributor

Adds three plans in .kiro/plans/. This PR changes no code.

  • image-optimizer-rect-and-chain.md
    • rect=x,y,w,h with a documented clamping rule.
    • Order-aware mutation chains in generateUrl. Arrays without rect must give the same URLs as today. A fluent builder wraps the same array.
    • original=1.
    • fp-x, fp-y, fp-z, and an optional crop=entropy.
  • focal-point-detection.md
    • A standalone Rust Lambda on provided.al2023.
    • Providers: Rekognition (default), YOLO via tract, and rustface.
    • Three ways to call it: a typed SDK invoke, an IAM Function URL, and a cacheable CloudFront behavior.
    • Includes sizes and timings measured in an Amazon Linux 2023 arm64 container, prices, and the AGPL/GPL licence blocker.
  • file-storage-malware-scan.md
    • Optional GuardDuty Malware Protection on a quarantine/ prefix. The bucket and its prefixes are the same with the scanner on or off, so enabling it later needs no migration.
    • Includes verified CDK and CloudFormation support, the IAM role, the event shape, quotas, and eu-central-1 cost estimates from the AWS Price List API.

Not verified yet: Lambda timing, detection quality, and imgix behaviour for an out-of-range rect. Each plan lists these in its Task 1. They need a deploy, which needs approval.

This plan applies after #136 merges.

@ivanbarlog
ivanbarlog merged commit d134fec into main Dec 1, 2026
2 checks passed
@ivanbarlog
ivanbarlog deleted the docs/plans-rect-focal-point-malware-scan branch December 1, 2026 17:52
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