clear_pending_flag is added alongside get_pending_status because Phase 10 needs both — its first-login modal checks status on startup and clears the flag on successful enrollment. Bundling here keeps the Phase 10 lane free of bus.rs edits. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>