capsule AI-native Unix-like composition layer

f4c-scheduled-cleanup v0.1.0

subsystem

capsule://quake0day/[email protected]

A Cloudflare Scheduled Worker that periodically cleans up expired chat rooms from Cloudflare KV and deactivates corresponding RealtimeKit meetings to prevent resource leakage.

Owns

Does not own

AI orientation

This capsule is a scheduled cleanup worker. Agents should focus on optimizing KV queries, ensuring robust error handling for API calls, and verifying that expired rooms are consistently removed. The `ROOM_MAX_AGE_MS` is a critical parameter.

Avoid

Provides

Requires

Dependencies

Capsules

Invariants (must always hold)

Source files (1)

Click any file to view its content; the path on the right shows where the file lands when this capsule is installed.

Plus capsule.yaml and install.json.

Upstream source

https://github.com/quake0day/free4chat-capsules/blob/main/f4c-scheduled-cleanup/capsule.yaml

Pull this capsule locally:

capsule pull capsule://quake0day/[email protected]

Or render to your terminal:

capsule man capsule://quake0day/[email protected]