#!/usr/bin/env bash # Filbert's native development mode through the Mosaic agent entry point. set -euo pipefail REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" # Register this seat with the control board (packages/seat) unless already # registered by `mosaic launch` or only running the checks. if [ -z "${MOSAIC_LAUNCH_REGISTERED:-}" ] && ! printf '%s\n' "$@" | grep -qx -- '--check'; then exec "$REPO/scripts/mosaic" launch --repo "$REPO" --harness pi filbert -- "$@" fi exec "$REPO/scripts/agent.sh" --host-dev filbert "$@" \ --provider openai-codex --model gpt-6-astra --thinking low