# Ops

This manual is for operators running the backend. It explains the two feature flags and AWS wiring behind scheduled join-link generation, how to tell whether the real-time path or the fallback cron is driving generation, and where to look when a session's links don't appear. It will grow to cover full operational runbooks.

## Overview

The moving parts: EventBridge Scheduler → SQS → processor, plus the 4-hourly fallback cron.

## Prerequisites

AWS creds/ARNs, and the two flags: `ENABLE_JOIN_LINK_SCHEDULER`, `ENABLE_JOIN_LINK_FALLBACK_CRON`.

## Core procedures

Enable/disable each path, verify a schedule was registered, force a fallback sweep window.

## Reference

Env vars, timing constants (grace/stale/cron/retry), and the schedule naming convention `join-link-<id>`.

## Troubleshooting

Links not generated: flag off, ARNs unset, event aged out, stuck `IN_PROGRESS` — and how each is recovered.

## Changelog

Notable operational changes.
