Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/fm-quota-axi-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# turns a failing check into the operator-facing MISSING diagnostic, which is
# what keeps an older build from reaching a dispatch intake at all.

FM_QUOTA_AXI_MIN=0.1.17
FM_QUOTA_AXI_MIN=0.1.25

fm_quota_axi_compatible() {
local timeout=${1:-} output parts major minor patch extra
Expand Down
2 changes: 1 addition & 1 deletion docs/verification/dispatch-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Observed source statuses are `available`, `expired` (with an `error` slug), and
- A `pi:`-prefixed source exists only where Pi holds its own credential for that family (`pi:xai`, `pi:kimi-coding`). Pi's `openai-codex` family has none, because it authenticates through the Codex store that the `codex` provider already lists. A missing `pi:` source is therefore never evidence against a Pi candidate.

Neither this per-source shape nor `state.authStatus` exists before quota-axi 0.1.16.
`bin/fm-bootstrap.sh` enforces that floor through `bin/fm-quota-axi-lib.sh`.
`bin/fm-bootstrap.sh` enforces the current compatibility floor through `bin/fm-quota-axi-lib.sh`.

Grok also reports `credits.remaining: 0` alongside `percentRemaining: 41` on a healthy account.
That zero is a prepaid balance, not the subscription window, and is never headroom.
Expand Down
8 changes: 4 additions & 4 deletions tests/fm-bootstrap.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ add_quota_axi() {
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' "${FM_FAKE_QUOTA_AXI_VERSION:-0.1.17}"
printf '%s\n' "${FM_FAKE_QUOTA_AXI_VERSION:-0.1.25}"
exit 0
fi
exit 0
Expand Down Expand Up @@ -473,11 +473,11 @@ test_quota_axi_min_version() {
[ "$out" = "$missing" ] || fail "$label: expected '$missing', got: $out" ;;
esac
done <<'ROWS'
minimum quota-axi version is accepted^0.1.17^empty
newer quota-axi patch is accepted^0.1.18^empty
minimum quota-axi version is accepted^0.1.25^empty
newer quota-axi patch is accepted^0.1.26^empty
newer quota-axi minor is accepted^0.2.0^empty
newer quota-axi major is accepted^1.0.0^empty
the patch just below the floor reports an upgrade^0.1.16^missing
the patch just below the floor reports an upgrade^0.1.24^missing
much older quota-axi minor reports an upgrade^0.0.9^missing
unparseable quota-axi version reports an upgrade^quota-axi development build^missing
ROWS
Expand Down
2 changes: 1 addition & 1 deletion tests/fm-secondmate-harness.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ SH
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' '0.1.17'
printf '%s\n' '0.1.25'
exit 0
fi
exit 0
Expand Down
2 changes: 1 addition & 1 deletion tests/fm-secondmate-liveness.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ SH
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' '0.1.17'
printf '%s\n' '0.1.25'
exit 0
fi
exit 0
Expand Down
2 changes: 1 addition & 1 deletion tests/fm-secondmate-sync.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ SH
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' 'quota-axi 0.1.17 (fake)'
printf '%s\n' 'quota-axi 0.1.25 (fake)'
fi
exit 0
SH
Expand Down
2 changes: 1 addition & 1 deletion tests/fm-shared-captain-inheritance.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ SH
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' '0.1.17'
printf '%s\n' '0.1.25'
exit 0
fi
exit 0
Expand Down
2 changes: 1 addition & 1 deletion tests/fm-startup-memory-budget.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SH
cat > "$fakebin/quota-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then
printf '%s\n' 'quota-axi 0.1.17 (fake)'
printf '%s\n' 'quota-axi 0.1.25 (fake)'
fi
exit 0
SH
Expand Down
Loading