#!/usr/bin/env bash
#
# Save-on-NCL reconciler smoke test (O3.5).
#
# Wraps `cargo test -p ontoref-daemon --test save_reconciler` — that
# integration test simulates the full save → diff → dispatch → witness
# loop in-process. A real filesystem watcher run is exercised by the
# daemon binary at runtime; this script keeps CI's surface narrow.
#
# Usage:  ./scripts/save-reconciler-test.sh

set -euo pipefail

cd "$(dirname "$0")/.."

exec cargo test -p ontoref-daemon --test save_reconciler --no-default-features "$@"
