Skip to content

t27os: the fleet word on a KEYS row -- route states folded by the scanner rank (Closes #12674) - #12677

Merged
gHashTag merged 1 commit into
masterfrom
lane/t27os-keys-fleet
Oct 26, 2026
Merged

gHashTag merged 1 commit into
masterfrom
lane/t27os-keys-fleet

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Closes #12674. Pareto variant 3 of #12479, the law half.

  • specs/t27os/keys_fleet.t27: route_state folds the route vocabulary into the scan vocabulary (REFUSED degrades the row -- the route-first lesson of 2026-10-25, never DEAD); best_state folds by rank_class; provider_state folds a provider's routes of the dated matrix, UNPROBED when absent.
  • Verified against the seeded 2026-10-25 matrix: zai-coding-plan LIVE (alive + refused routes), zai api LIVE, nvidia UNPROBED (never dead).
  • t27c 3/3, 0 vacuous (5+3+3 asserts), 1 invariant (the fold never promotes a dead route); ASCII clean.
  • t27b leg blocked by the dependency defect t27c: two consts of a dependency block do not import through use (keysync F_SLOT, F_COUNT) while their ten siblings resolve #12664: the dep compile of queen/api_fleet loses PR_OPENROUTER (its own test names it; t27c compiles the same pair green). Same family as keysync F_SLOT/F_COUNT. The t27b-native CI check may show this PR red for that reason alone -- the known non-required family; the law gate is t27c.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-26 14:45:10 UTC

Summary

Status Count
Total Open PRs 18
PRs with Failing Checks 18
PRs with All Checks Green 0
READY 0
FAILING 18
PENDING 0
NO CHECKS YET 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=67adcf31aff7 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@tri-claw

tri-claw Bot commented Oct 26, 2026

Copy link
Copy Markdown

Summary by t27-bees

Checked by the t27 compiler

t27c parse, parse-complete and typecheck on each changed .t27 file at 7ff042c. Nothing was generated, built or run. A pass means the file is well formed, not that it is right.

  • specs/t27os/keys_fleet.t27: parses and typechecks.

Read by the model

This PR introduces keys_fleet.t27, the composition law that folds the fleet route vocabulary (alive/refused/dead/unprobed) into the KEYS tab's scan vocabulary (live/degraded/dead/unprobed) per provider row. The 2026-10-25 lesson is encoded: a REFUSED route degrades the row (SC_DEGRADED) rather than killing the key (SC_DEAD).

Worth a look

  • specs/t27os/keys_fleet.t27:54 (provider_state): best is initialized to SC_UNPROBED but immediately overwritten on the first matching route (found == false branch). The initial value is never used as a comparison baseline when routes exist; it only serves as the return value when no routes are found. Not a bug, but the pattern suggests UNPROBED is a "starting best" when it is actually a "no routes found" sentinel.
  • specs/t27os/keys_fleet.t27:30 (route_state): Unknown route statuses (e.g., a future RS_* value not handled here) silently fall through to SC_UNPROBED. The test at line 72 explicitly asserts this behavior (route_state(9) == SC_UNPROBED), so it is intentional, but it means a missing case in this function will not be caught by the invariant or tests — the new route would quietly appear as "unknown" in the KEYS tab.
  • specs/t27os/keys_fleet.t27:97 (invariant the_fold_never_promotes_a_dead_route): The invariant only guarantees that SC_DEAD never appears unless the route was RS_DEAD. It does not verify that RS_REFUSED maps to SC_DEGRADED (not SC_DEAD) — that is covered by the unit test at line 70, but the invariant itself is one-sided.

Read: 1 files, +110 -0, the whole diff. Head 7ff042c. Model: openai-compatible/nvidia/nemotron-3-ultra-550b-a55b. Commands: @t27-bees review | summary | help | pause | resume. Free for every repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t27os: the fleet word on a KEYS row -- route states folded by the scanner rank (Refs #12479)

1 participant