app
app
¶
Bridge clearance-hub events to desktop popups.
Runs as terok-clearance-notifier.service — a systemd user unit
paired with the hub's own. Splitting the roles means headless hosts
(CI, servers) run the hub without pulling in a desktop stack, and
notifier crashes never take the firewall or the hub with them.
Previously lived in the terok package; moved here because nothing in
the notifier is orchestration-specific — any clearance-capable
deployment (with or without terok) benefits from the desktop bridge,
and the task-name enrichment is fed through the
ai.terok.task_meta_path annotation data contract (see
terok_clearance.client.identity_resolver).
run_notifier()
async
¶
Run the notifier until SIGINT/SIGTERM.
Source code in src/terok_clearance/notifier/app.py
main()
¶
Systemd-unit ExecStart target — launches run_notifier on an event loop.