AWS Builder Center
Weekend Annoying Task Challenge: QuietDays - AI Focus Guard & Backlog Triage

Weekend Annoying Task Challenge: QuietDays - AI Focus Guard & Backlog Triage

QuietDays is an autonomous, serverless AWS cloud agent designed to eliminate nightly decision fatigue and context-switching. Powered by Amazon Bedrock (Nova Micro), AWS Lambda, Amazon S3, and Amazon SNS, QuietDays inspects your schedule, triages your active project backlog, and automatically sends a concise, personalized deep-work briefing directly to your inbox whenever a low-meeting "Quiet Day" is ahead - ensuring high-value focus time is never wasted.

Engineering software solutions for big real-world impact.

Vision, Motivation & Why I Built It

As developers and engineers, our most valuable commodity is uninterrupted focus time. Yet, every evening, many of us face a recurring, subtle productivity drain: context-switching at the end of a long workday to inspect tomorrow’s calendar, cross-reference an ever-growing task backlog across multiple tools, and decide what single high-priority task deserves our deep-work energy the next day.
When schedules are jammed with back-to-back meetings, trying to squeeze in complex refactoring or system architecture work leads to fragmentation and burnout. Conversely, when a rare "Quiet Day" with minimal meeting density appears, it often slips away on low-value administrative chores simply because no intentional focus plan was prepared in advance.
I built QuietDays to solve this personal pain point once and for all. It functions as an autonomous cloud assistant that acts as a focus guard. Every evening, it analyzes the next day's meeting load, identifies low-density "Quiet Days" (0 to 1 meetings), automatically pulls active tasks from an Amazon S3 backlog, and leverages generative AI via Amazon Bedrock to deliver a crisp, 3-sentence action briefing straight to my email inbox.

How It Helps Me

  • Zero Decision Fatigue: I no longer spend 15-20 minutes every evening figuring out what to work on next.
  • Proactive Focus Protection: It flags open calendar slots before my day starts so I can block out time for deep work.
  • Context-Aware Prioritization: The AI selects the single highest-impact technical task tailored to the exact amount of focus time available.



How I Built It & Technical Decisions

The solution was engineered as a lightweight, event-driven serverless system to guarantee zero server management and stay 100% within the AWS Free Tier.

Core Technical Decisions:

  1. Model Selection (Amazon Bedrock Nova Micro): Instead of using heavyweight LLMs that incur high latency and cost, I selected Amazon Bedrock Nova Micro. It delivers blistering inference speed (~1.2 seconds) with minimal token overhead - ideal for concise nightly text synthesis.
  1. Decoupled Backlog Storage: Storing the active task backlog in Amazon S3 (backlog.txt) provides a durable, simple text-based source of truth that can easily be updated manually or programmatically.
  1. Serverless Push Notifications: Chaining AWS Lambda directly to Amazon SNS ensures instant email push delivery without hosting web servers, managing API gateways, or polling background jobs.
  1. Environment-Driven Security: To adhere to enterprise security standards, resource identifiers such as S3 bucket names and SNS ARNs are retrieved dynamically via AWS Lambda Environment Variables rather than hardcoding identifiers in source code.



Technical Challenges & How I Overcame Them

During development and testing, I navigated a few key technical hurdles:
  • Challenge 1: Resolving Cross-Service IAM & Region Mismatches
  • Issue: Initial test runs failed with a  NoSuchBucket  and  InvalidClientTokenId  exception when invoking SNS and S3.
  • Solution: Hardcoded region configurations in the Boto3 clients were causing cross-region mismatches. I refactored the SDK setup to let  boto3.client()  dynamically resolve the execution region environment from the Lambda runtime, and updated the IAM execution role with explicit  AmazonBedrockFullAccess ,  AmazonS3ReadOnlyAccess , and  AmazonSNSFullAccess  inline policies.
  • Challenge 2: Optimizing Prompt Structure for Short Synthesis
  • Issue: Standard open-ended prompts resulted in lengthy multi-paragraph responses that defeated the purpose of a quick evening brief.
  • Solution: I structured the prompt using Bedrock's  messages  API payload, strictly constraining  max_new_tokens  to 300 and instructing the model to output a strict 3-sentence focus briefing focusing strictly on one actionable deep-work task.
  • Challenge 3: Handling Silent Delivery Failures in SNS
  • Issue: The Lambda function executed successfully with HTTP status  200 , but no email arrived in the inbox.
  • Solution: Amazon SNS requires explicit subscription confirmation for email endpoints. Accessing the initial AWS subscription link sent to the inbox activated the SNS topic target, enabling successful end-to-end delivery.



Proof of Execution & Output

To verify the end-to-end serverless flow, I executed a test event simulating an upcoming "Quiet Day" schedule.
AWS Lambda Successful Execution Log: The Lambda function processed the S3 backlog, invoked Amazon Bedrock Nova Micro, and published to SNS in ~1.2 seconds:
AWS Lambda Execution Log

Final AI Briefing Delivered via Amazon SNS: Here is the actual automated email briefing synthesized by Amazon Bedrock Nova Micro and delivered directly to my inbox:
Email Notification Proof




Architecture Overview

The system operates strictly on a serverless, decoupled AWS architecture:
┌──────────────────────────┐
│ Amazon EventBridge │ (Cron Schedule Trigger @ 7:00 PM Daily)
└────────────┬─────────────┘
│
▼
┌──────────────────────────┐ Reads Backlog ┌──────────────────────────┐
│ AWS Lambda │ ─────────────────────► │ Amazon S3 │
│ (Python 3.14) │ │ (backlog.txt) │
└────────────┬─────────────┘ └──────────────────────────┘
│
├─────────────────── Invoke Model ────► ┌──────────────────────────┐
│ │ Amazon Bedrock (Nova) │
│ └──────────────────────────┘
▼
┌──────────────────────────┐ Publish Brief ┌──────────────────────────┐
│ Amazon SNS │ ─────────────────────► │ User Email Inbox │
└──────────────────────────┘ └──────────────────────────┘
Services Breakdown:
  • Amazon Bedrock (Nova Micro): Evaluates the task backlog against calendar metadata to synthesize concise, actionable focus plans using Python  boto3 .
  • AWS Lambda (Python 3.14): Serves as the central orchestration engine, retrieving data, invoking Bedrock models, and triggering alerts.
  • Amazon S3: Durable, low-cost storage for the active task backlog file.
  • Amazon SNS (Simple Notification Service): Handles instant push notification delivery to user email endpoints.
  • Amazon EventBridge: Cron-based rule executing the pipeline automatically every evening at 7 PM.



What I Learned

Building QuietDays was a great practical deep-dive into the Amazon Bedrock InvokeModel API using Python's  boto3  SDK. I gained a strong appreciation for how performant the Nova Micro model is for targeted text generation tasks. Furthermore, implementing least-privilege IAM permissions and leveraging Lambda environment variables reinforced serverless security best practices in AWS.



Link to App or Repo

Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article