Misc — Slack, environment & personal

The remaining utility tools — Slack DM to Wayne, weather/time/location, the Hungryroot personal integration, and the codebase introspection helper.

The leftover utilities that don’t belong to a larger namespace — notification, environment reads, a personal integration, and a code-introspection helper.

send_slack_notification

DM Wayne directly on Slack. The way to reach him out-of-band — a finished long-running job, something that needs a decision, an alert.

send_slack_notification(message, title=None, priority="normal")

Raise priority for things that actually need attention; keep it normal otherwise so it stays meaningful.

Environment reads

get_time()
get_weather(location=None, days=3)
get_location()

get_time returns Wayne’s timezone (US/Central) with the day-of-week and a time-of-day bucket (late_night, morning, midday, maintenance_window, evening) plus is_maintenance_window (14

–16
CT) and is_weekend — used to gate when certain actions are appropriate. get_weather defaults to a 3-day forecast.

Hungryroot (personal)

Wayne’s gluten-free meal planning against the synced Hungryroot catalog.

build_hungryroot_meal_plan(strategy="balanced", point_budget=None,
                           household_size=None, breakfast_count=None,
                           lunch_count=None, dinner_count=None, snack_count=None,
                           preferred_categories=None, avoid_categories=None,
                           avoid_keywords=None, exclude_product_ids=None,
                           active_only=True, strict_budget=True)
search_hungryroot_catalog(query, category=None, brand=None, sort="best_value",
                          active_only=True, limit=10)
search_hungryroot_recipes(...)

Everything is gluten-free by construction. build_hungryroot_meal_plan composes a plan within a point_budget; the search tools browse the catalog and recipes.

discover_services

Codebase introspection — lists existing services, clients, and scripts in the Leif source tree.

discover_services(query="")

Handy before building something new: there may already be a service or client for it. Pass a query to narrow the results.

  • Memory & State — the daily review that get_time buckets feed into
  • Tools — catalog overview and routing rules