Everything is verified and green. Final report: **Phase 34 final verification pass — complete** - Verified all 6 completed tasks' work against the live fleet and hermetic suite: `llm:radiance` job registered, `llm_engines()` registry drives 404 gate / history defaults / `/api/config` (additive, byte-identical gufo/vllm keys), radiance field map + `/stats` sidecar + 7-position spec curve, `/llm` strip/curve/rows. - **Defect found & fixed (pre-existing, task 05):** the vLLM-only sentence "vLLM exposes no per-slot JSON…" rendered on the **radiance** panel (`slotSection`'s non-gufo branch). Fix: vLLM line gated to `engine === 'vllm'`; radiance's panel slot section renders nothing (its session home is the strip) — `page-llm.js` + the served-byte pin in `tests/test_api.py` (now asserts the radiance branch is empty and the sentence can't leak). Browser-verified; re-shot `data/logs/34-llm-radiance-rest.png` (the 4.5-min wait found no in-flight request, so the busy shot remains the earlier pass's — its strip rows still stand; only the panel text predates the fix). - Tests: `uv run pytest` → **2031 passed, 19 skipped** (100%); `uv run pytest --cov` → **98.73%** (floor 94%; config 100%, llm 99%, collectors 98%, api 99%); `uv run ruff check src tests agent && uv run pyright` → clean; `node --check` OK; `uv pip list --outdated` → empty. - `uv run pytest -m live --live` → **13 passed, 2 skipped** (vLLM unset — correct; live-write opt-in — correct); the read-only radiance test passed. - Completion criteria: (1) engines `gufo`+`radiance`, `fleet.engines_live` 2, `config.llm.radiance.enabled` true — **pass (live curl)**; (2) unset → 404 no-dial + no job — **pass (spy-pinned, green)**; (3) fixtures present, both families (79 `radiance:` / 198 `vllm:` lines), drift pin — **pass**; (4) panel/curve/rows — **pass (re-shot rest screenshot)**; (5) live radiance test — **pass**; (6) suite/coverage/lint/`bash .agents/validate.sh` (exit 0) — **pass**; (7) docs — below; (8) gufo/vLLM behaviour unchanged — **pass (existing pins untouched)**. - Documentation: **README.md** full review — env table, LLM-engines section, architecture diagram, capture-script and `/llm` section all name radiance correctly; no inconsistencies found, no changes needed. **AGENTS.md** — the three task-06 fixes (fleet line, route row, module bullets) are in place and all other statements match reality; no changes needed. - Dev server healthy (`./scripts/dev-server.sh status`: all sources ok, `llm:radiance` answering); all changes left in the working tree for the harness. - Next pending phase: none — 34 was the last phase in `todo/`.
77 lines
2.7 KiB
Plaintext
77 lines
2.7 KiB
Plaintext
# Verbatim upsd reply (LIST UPS / LIST VAR / LIST CMD), recorded by
|
|
# ./scripts/capture-fixtures.sh — one `VAR`/`CMD` line per protocol line.
|
|
# Volatile values (ups.load, battery.runtime, the voltages) move every poll,
|
|
# so a diff here on re-capture is expected; the contract asserts shape, units
|
|
# and which variables the drivers omit, never those numbers.
|
|
UPS apc "APC Back-UPS RS 1500MS (USB)"
|
|
VAR apc battery.charge "100"
|
|
VAR apc battery.charge.low "10"
|
|
VAR apc battery.charge.warning "50"
|
|
VAR apc battery.date "2001/09/25"
|
|
VAR apc battery.mfr.date "2021/06/24"
|
|
VAR apc battery.runtime "264"
|
|
VAR apc battery.runtime.low "120"
|
|
VAR apc battery.type "PbAc"
|
|
VAR apc battery.voltage "27.3"
|
|
VAR apc battery.voltage.nominal "24.0"
|
|
VAR apc device.mfr "American Power Conversion"
|
|
VAR apc device.model "Back-UPS RS 1500MS"
|
|
VAR apc device.serial "SCRUBBEDSERIAL1 "
|
|
VAR apc device.type "ups"
|
|
VAR apc driver.debug "0"
|
|
VAR apc driver.flag.allow_killpower "0"
|
|
VAR apc driver.name "usbhid-ups"
|
|
VAR apc driver.parameter.interrupt_pipe_no_events_tolerance "-1"
|
|
VAR apc driver.parameter.pollfreq "30"
|
|
VAR apc driver.parameter.pollinterval "2"
|
|
VAR apc driver.parameter.port "auto"
|
|
VAR apc driver.parameter.productid "0002"
|
|
VAR apc driver.parameter.synchronous "auto"
|
|
VAR apc driver.parameter.vendorid "051d"
|
|
VAR apc driver.state "quiet"
|
|
VAR apc driver.version "2.8.5"
|
|
VAR apc driver.version.data "APC HID 0.101"
|
|
VAR apc driver.version.internal "0.71"
|
|
VAR apc driver.version.usb "libusb-1.0.30 (API: 0x0100010C)"
|
|
VAR apc input.sensitivity "medium"
|
|
VAR apc input.transfer.high "144"
|
|
VAR apc input.transfer.low "88"
|
|
VAR apc input.transfer.reason "input voltage out of range"
|
|
VAR apc input.voltage "115.0"
|
|
VAR apc input.voltage.nominal "120"
|
|
VAR apc ups.beeper.status "enabled"
|
|
VAR apc ups.delay.shutdown "20"
|
|
VAR apc ups.firmware "952.e5 .D"
|
|
VAR apc ups.firmware.aux "e5 "
|
|
VAR apc ups.load "81"
|
|
VAR apc ups.mfr "American Power Conversion"
|
|
VAR apc ups.mfr.date "2021/01/08"
|
|
VAR apc ups.model "Back-UPS RS 1500MS"
|
|
VAR apc ups.productid "0002"
|
|
VAR apc ups.realpower.nominal "900"
|
|
VAR apc ups.serial "SCRUBBEDSERIAL1 "
|
|
VAR apc ups.status "OL"
|
|
VAR apc ups.test.result "No test initiated"
|
|
VAR apc ups.timer.reboot "0"
|
|
VAR apc ups.timer.shutdown "-1"
|
|
VAR apc ups.vendorid "051d"
|
|
CMD apc beeper.disable
|
|
CMD apc beeper.enable
|
|
CMD apc beeper.mute
|
|
CMD apc beeper.off
|
|
CMD apc beeper.on
|
|
CMD apc driver.killpower
|
|
CMD apc driver.reload
|
|
CMD apc driver.reload-or-error
|
|
CMD apc driver.reload-or-exit
|
|
CMD apc load.off
|
|
CMD apc load.off.delay
|
|
CMD apc shutdown.default
|
|
CMD apc shutdown.reboot
|
|
CMD apc shutdown.stop
|
|
CMD apc test.battery.start.deep
|
|
CMD apc test.battery.start.quick
|
|
CMD apc test.battery.stop
|
|
CMD apc test.panel.start
|
|
CMD apc test.panel.stop
|