Files
alkane-os/third-party/flare-ui/scripts/check-owners.sh
T
noahandClaude Opus 4.8 c752fc6d8b third-party: re-vendor flare-ui at sprint (the most-ahead branch)
The vendored flare-ui was a Nov-4 snapshot with no recorded pin. Advance it to
the furthest-along upstream branch: blueflare/flare-ui `sprint`
(0e1f5a259faa), which is 247 commits beyond `main`, 71 beyond `next`, and
already contains `next` in full. The scattered 1-3 commit leads on individual
sp/* feature branches are unmerged side-work, not a more-ahead integration line,
so vendoring one of those would drop the 247-commit integration; `sprint` is the
single most-ahead branch.

This brings sprint's flare-ui crate additions (form.rs, page.rs, page/, table.rs
and the flare-ui-axum / flare-plugin-host crates) into the tree. Record the pin
in flare-ui.lock so the next re-vendor is reproducible.

alkane-os builds against it with no source changes: the console (console.rs) and
the rest compile clean, clippy -D warnings is clean, and 183 lib + integration
tests pass (including the dashboard schema tests, so the wschema model stayed
compatible). Re-verified the live console on sprint: --serve-sim boots, the
flare-ui shell and control pages render, and stop -> ambient:18000 -> start all
succeed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdKQBPjAXpCwmigUov5eQk
2026-11-10 20:19:12 -06:00

29 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
# Every crates/* directory has exactly one OWNERS line, and every OWNERS
# line names an existing crate and a lane (two capital letters, optional digit).
set -euo pipefail
root=$(git rev-parse --show-toplevel)
bad=0
declare -A seen=()
while read -r path lane extra; do
[ -z "$path" ] && continue
case "$path" in "#"*) continue;; esac
if [ -n "${extra:-}" ] || [ -z "${lane:-}" ]; then
echo "OWNERS: malformed line for $path"; bad=1; continue
fi
if ! [[ "$lane" =~ ^L[A-Z][0-9]?$ ]]; then
echo "OWNERS: $path has a bad lane name $lane"; bad=1
fi
if [ -n "${seen[$path]:-}" ]; then
echo "OWNERS: $path is listed twice"; bad=1
fi
seen[$path]=1
[ -d "$root/$path" ] || { echo "OWNERS: $path does not exist"; bad=1; }
done < "$root/OWNERS"
for dir in "$root"/crates/*/; do
rel=crates/$(basename "$dir")
[ -n "${seen[$rel]:-}" ] || { echo "OWNERS: $rel has no owner line"; bad=1; }
done
[ "$bad" -eq 0 ] && echo "check-owners: ${#seen[@]} crates, all owned"
exit "$bad"