| 1 | # Job Loop Extensions DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own periodic backend maintenance jobs. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - Ordered Python files own cleanup of expired API chats, cache trimming, and future job-loop tasks. |
| 10 | |
| 11 | ## Local Contracts |
| 12 | |
| 13 | - Jobs must be idempotent and safe to run repeatedly. |
| 14 | - Keep cleanup scoped to owned caches, temporary contexts, or documented runtime state. |
| 15 | |
| 16 | ## Work Guidance |
| 17 | |
| 18 | - Avoid expensive work on every loop; use timestamps or thresholds when practical. |
| 19 | |
| 20 | ## Verification |
| 21 | |
| 22 | - Run targeted cleanup/cache tests or smoke-test job-loop startup after changes. |
| 23 | |
| 24 | ## Child DOX Index |
| 25 | |
| 26 | No child DOX files. |