Files
beenuar a592e03807 fix(ci): what the train's first grading found, in eleven pieces
The nineteen branches' own CI was never graded (saturated runner pool), so
the train's run was the first grading most of this code ever had. Fixed:

- OTLP assign(): iteration-order loss — a dotted key arriving before its
  scalar built a map the scalar then overwrote, dropping the attribute
  (test correctly failed 1-in-2 orders; both orders now produce the
  identical payload; 100 consecutive runs green).
- lake_query_jobs RLS: WITH CHECK lacked the unbound-session arm every
  sibling policy carries (079/081/104/117/118), so the GUC-less claim
  runner could never update a job and the live suite failed its inserts
  the moment its DSN moved off the owner.
- verification-live.yml connected as the superuser; now the DML-only
  aisoc_app with the owner applying migrations (audit-retention's split).
- spine test: status 'triaged' accepted beside 'new' — depth 4.4's
  concurrent triage now routinely lands inside the test's own window.
- check_tenant_query_predicates: 11 recorded entries for the new worker,
  token-lookup and claim-by-id paths (each verified in code first).
- check_route_auth: answer_verification recorded as in-band HMAC; fusion
  /scale-hint recorded public beside /metrics with ADR-0012's reason.
- Four CodeQL alerts in new code: inline fullmatch barrier for the Graph
  URL, provider sanitised inline in the warning log, the empty except
  explained, the suppressed await assigned.
- mypy baseline: 16 findings in four new test files fixed properly
  (ModuleSpec narrowing, dict[str, Any] fixtures, optional-client assert,
  two targeted ignores on deliberate adapter-internal assertions).
- gitleaks: three fingerprints with reasons (a self-naming CI literal,
  two rule-id lock entries the key/value heuristic misreads).
- checkov ceiling 219 -> 272, measured: the chart grew from seven
  services to CORE-complete; boot-safe hardening applied to the new
  templates (seccomp, drop-ALL caps, no privilege escalation, no SA
  token) is why it is not 293 — and the same pass found litellm's missing
  config volumeMount, which rendered cleanly and could never boot.
- Web coverage back over threshold with real tests: WarRoomPanel 30->96%
  (every honest state incl. the vendor-refusal sentence), AiEstateView
  0->covered (the three rendering decisions that are the page's point),
  MfaView enrolment/removal/refusal flows, responder format helpers.
- README's second figure site: 2511 -> 2535 executable.

api 4918+, fusion 933, agents 2045, connectors 1162, web 959, tsc 0,
ruff clean, helm lint clean, all local gates green.
2026-10-12 14:12:59 +08:00
..