Commit Graph
584 Commits
Author SHA1 Message Date
BigBodyCobain 68a73db375 U8-judge: restore non-Gemini realtime dial suffix + open PTT gate to gemini_live
- voice_broker._ws_url_for: re-append /realtime?model=<id> on the
  openai_realtime and compatible_ws branches (1fb3ecf dropped it,
  silently breaking provider #1 and compat dials); gemini BidiSetup
  URL unchanged.
- useVoiceAgent.isRealtimeProvider: add gemini_live so a resolved
  Gemini Live provider actually opens a VoiceAudioClient session on
  PTT (was dead end-to-end from the UI); helper now exported.
- voice_gemini.gemini_event_to_client: content translates first —
  usageMetadata no longer takes an exclusive branch, so Gemini's
  common turnComplete+usageMetadata message still yields response.done;
  the relay meters straight off the raw event instead. Stale 'model
  rides the setup message, not the URL' comments corrected.
- relay session.update patch forwarding guarded off Gemini sockets
  (OpenAI-style build_session_config JSON would be a protocol error).
- Tests: dial-URL regression pins for openai/compat/gemini branches;
  combined-event translation pin; realtimeProviderGate frontend test.
2026-08-25 23:07:11 -06:00
BigBodyCobain 1fb3ecfe70 voice-agent U8-gemini: Gemini Live provider #2 — voice_gemini framing adapter (server-authored BidiSetup with grounding-in-system-instruction, 24k->16k mic downsample, upstream event translation to OpenAI-style client frames incl. interrupted->barge-in signal, usage metering), resolve_provider gemini_live candidate, dial URL branch, pump translation branches, geminiKeySet status contract, disclosure extended to cover Google's free-tier audio policy; 19 new tests 2026-08-25 22:41:38 -06:00
BigBodyCobain 6484edf749 voice-agent U8a: realtime speech-to-speech client — AudioWorklet mic capture (48k->24k downsample, LE PCM16), VoiceAudioClient session orchestrator (grant->worklet->WS relay, 100ms batch cadence, playback queue, server-VAD barge-in flush, verbatim faults, full teardown hygiene), providerResolved on controller, 23 new tests 2026-08-25 20:37:27 -06:00
BigBodyCobain 3430be7232 voice-agent U7: hardening & acceptance — cross-milestone integration matrix (opt-in uniformity, deterministic journey, cross-surface budget latch, kill switch, watchdog seam, MESH_ONLY guard), RTL/reduced-motion a11y pass, delta-health E2E script (#36), Tauri mic spike notes, acceptance scripts (#37-44), CSP posture decision documented in threat-model 2026-08-25 05:22:38 -06:00
BigBodyCobain bdc760d92b voice-agent U6: interrogation, verdicts & polish — §2.7 interrogation relay (correlate_entity/get_entity_profile behind POST /api/voice/interrogate with local target resolution, verbatim evidence pack, tier-gate inheritance, 2-exchange memory cap); §3.8 watchdog_alert context events (bounded per-relay tap + pump, broadcast_to_agents wire-format hook, no watchdog import in voice modules); §2.6 selectedEntity regen trigger via widened page→hook bindings (selection rides sb.grounding.v1 + fingerprint); manual BRIEF NOW affordance; cost/quota UX (daily spend chip, estimated/worst-case/incomplete disclosures on the cost chip, asterisk for any unverified billing); error/reconnect polish (verbatim FAULT reasons through the 6s grace window); text_only E2E + hook-level regen-gate tests; i18n voice keys in all four locales incl. composer.placeholder key fix 2026-08-25 02:52:13 -06:00
BigBodyCobain 0402123b9d voice-agent U5 judge fixes: persisted daily-budget gate (§2.7 429 latched cap) shared by session/hud-summary/turn endpoints via _budget_gate helper; endpoint-level POST /api/voice/turn tests (409/503/200/429) plus hud-summary 429 pin; live map zoom in grounding snapshot view contract via resolveMapZoom (mapControlBus getViewState); selectedEntity trigger deferral recorded on U6 row 2026-08-25 02:14:08 -06:00
BigBodyCobain 8c3d404881 voice-agent U5: model picker + NARRATE — verbatim narration prompts via build_session_config hook, validate-gate-dispatch-feedback picker loop (POST /api/voice/turn), hud-summary endpoint with 30s dedupe, sb.grounding.v1 composer + freshness cadence table + ambient ARM gating + TTS ladder; carried advisories: forward original unlock args in orchestrator dispatch (1), destructive manifest entries advertise requires_confirm (2), NARRATE prompt injection into instructions hook (3) 2026-08-25 01:55:56 -06:00
BigBodyCobain b1b57041b5 voice-agent U4 judge fixes: PTT release-click double-fire guard, hint chip gated on enabled phase, gated route_query pending-confirmation turn, deterministic phrase tests, honest toggleLayer/comment 2026-08-25 01:13:35 -06:00
BigBodyCobain 618cd96300 voice-agent U4: client verbs & console loop — clientTools executors, map control bus, deterministic zero-model loop, mic button + HUD panel 2026-08-25 00:33:08 -06:00
BigBodyCobain 13b2eec0c3 voice-agent U2 hardening: judge required fixes — live-relay kill switch, chat-leg metering, unclaimed-grant reap, tier-2 tps plumbing, sessionId-bound tokens 2026-08-24 23:28:17 -06:00
BigBodyCobain e8f293ee19 voice-agent U2: session plumbing — realtime WS relay, one-time session tokens, REST surface + tool mounts, topology guards 2026-08-24 22:43:20 -06:00
BigBodyCobain 8fa8b13c6a voice-agent U3: tool registry & gates (ACT core) 2026-08-24 22:05:17 -06:00
BigBodyCobain fe540f8a63 voice-agent U1: cost & budget rails
voice_cost.py: faithful Python port of the GEV voiceCost.js spend guard — model/tier registry with hostile-input-safe resolution, worst-case unknown-model billing, residual-to-audio usage splitting, one-shot warn/cap latches, tier-2 fallback audio-seconds estimator, single normalization authority ('off' sentinel round-trips; corrupt values restore defaults, never disarm). voice_daily_budget.py: per-UTC-day atomic ledgers under SB_DATA_DIR/voice_cost with midnight rollover, corrupt-file quarantine (.corrupt-* preserve + verbatim parse-error WARNING + ledgerQuarantined disclosure), hourly-throttled lazy pruning (>30d, no scheduler job), and the session-start budget gate incl. suggestTier at <25% remaining. Suites pin GEV arithmetic figures and cover plan §7.A items 4-10.
2026-08-24 21:33:02 -06:00
BigBodyCobain 82ba0cb246 voice-agent U0: freshness stamps + store-hygiene guard, voice config schema, websockets pin, docs
- Three _mark_fresh stamps (tracked_flights x2, correlations) fixing the
  fast-tier delta-delivery defect; test_freshness_stamps.py written first
  (red) with AST adjacency guard, runtime probe, and delta-recovery tests.
- Settings: VOICE_AGENT_OUTBOUND_ENABLE/_ACKNOWLEDGE two-step opt-in +
  full VOICE_* schema + voice_outbound_effective(); two Voice API_REGISTRY
  rows; env_check ack-mismatch audits; documented VOICE blocks in both
  .env.example files.
- websockets==16.0 verified-at-install pin (R1) + local smoke test.
- OUTBOUND_DATA.md voice egress section incl. SpeechRecognition
  prohibition; threat-model prompt-injection/egress notes.
- useDataPolling.isPollingPaused() export for U5 regen gates.
2026-08-24 20:50:06 -06:00
BigBodyCobain cd6395f5ee fix: complete intelligence layer refreshes and UAP fallback 2026-08-23 20:14:07 -06:00
BigBodyCobain 2461756da4 fix: restore CCTV and Telegram map visibility 2026-08-23 19:28:40 -06:00
Shadowbroker ae87fc6bfb Merge pull request #534 from BigBodyCobain/fix/aprs-is-resource-safety-533
fix(aprs): stop global APRS-IS load and bound receive lifecycle
2026-08-23 08:50:33 -06:00
Shadowbroker 1a49f15f4d ci(aprs): run APRS-IS safety regression gate 2026-08-23 06:58:36 -06:00
Shadowbroker f19c9802ff docs(aprs): document responsible APRS-IS configuration 2026-08-23 06:54:58 -06:00
Shadowbroker ca9946ffd1 fix(aprs): make public APRS-IS receive explicit and bounded 2026-08-23 06:53:51 -06:00
Shadowbroker 901f3f3dd4 test(aprs): cover public network safety and lifecycle 2026-08-23 06:52:53 -06:00
Shadowbroker a263230130 fix(sigint): decouple APRS lifecycle from Meshtastic 2026-08-23 06:52:14 -06:00
Shadowbroker 685dc0a947 fix(aprs): add bounded opt-in APRS-IS client 2026-08-23 06:51:46 -06:00
Shadowbroker 2fca1a494a Merge pull request #532 from BigBodyCobain/fix/xquik-failure-backoff
fix(xquik): respect outage backoff and credential rotation
2026-08-23 06:20:07 -06:00
Shadowbroker b06adeab46 fix(xquik): make attempt timestamp sentinel explicit 2026-08-23 01:46:26 -06:00
Shadowbroker 3124827738 test(xquik): cover outage backoff and credential rotation 2026-08-23 01:45:49 -06:00
Shadowbroker fd0f530478 refactor(xquik): keep attempt cadence state minimal 2026-08-23 01:45:18 -06:00
Shadowbroker 90da89f7c6 fix(xquik): throttle failed provider attempts 2026-08-23 01:44:54 -06:00
Shadowbroker 9dc9583378 Merge pull request #530 from kriptoburak/codex/add-xquik-osint-source
feat(news): add opt-in Xquik search source
2026-08-23 00:52:46 -06:00
kriptoburak 6ca238acf7 feat(news): add opt-in Xquik search source 2026-08-23 02:59:00 +03:00
Shadowbroker 3896c3c6ed Merge pull request #529 from BigBodyCobain/fix/layer-state-search-527-528
fix(layers): restore restart sync and visible asset search
2026-08-20 21:21:14 -06:00
Shadowbroker 108e0a49e5 fix(layers): make restart repair passive and always-on 2026-08-20 21:09:50 -06:00
Shadowbroker ae237eb2b4 test(search): cover visible supplemental map assets 2026-08-20 21:00:12 -06:00
Shadowbroker 7f5b4c089e test(layers): cover backend restart reconciliation 2026-08-20 21:00:00 -06:00
Shadowbroker b130656cd1 fix(search): locate assets from visible map layers 2026-08-20 20:58:35 -06:00
Shadowbroker f9ae967580 fix(layers): reconcile saved toggles after backend restarts 2026-08-20 20:57:46 -06:00
Shadowbroker 72ed7eae65 Merge pull request #518 from BigBodyCobain/fix/liveuamap-resilience-516-517
fix(liveuamap): restore resilient optional incident enrichment
2026-08-19 00:05:07 -06:00
Shadowbroker 9924079f53 chore: remove accidental temp file 2026-08-18 17:35:07 -06:00
Shadowbroker e13c85d58e x 2026-08-18 17:34:58 -06:00
Shadowbroker 8d4dbb78d1 chore(liveuamap): remove temporary review marker 2026-08-18 17:34:52 -06:00
Shadowbroker de1f6990a5 chore(liveuamap): record pre-PR review checkpoint 2026-08-18 17:34:43 -06:00
Shadowbroker f5f53c491e ci(liveuamap): run Docker packaging contract test 2026-08-18 17:34:35 -06:00
Shadowbroker e8e8cd5f8e test(liveuamap): lock Playwright runtime packaging contract 2026-08-18 17:34:21 -06:00
Shadowbroker cd6d97bc4d test(liveuamap): remove superseded resilience draft 2026-08-18 17:33:37 -06:00
Shadowbroker d45978fe7c test(liveuamap): cover parser drift and browser packaging 2026-08-18 17:31:57 -06:00
Shadowbroker 8d5f828a13 fix(docker): verify Playwright shell on amd64 and arm64 2026-08-18 16:20:54 -06:00
Shadowbroker 0956b68b11 fix(security): protect LiveUAMap operator routes from cross-site requests 2026-08-18 16:12:56 -06:00
Shadowbroker 3bef577702 docs(liveuamap): expose optional provider configuration 2026-08-18 16:09:14 -06:00
Shadowbroker 6990fc1961 fix(liveuamap): preserve safe marker and wrapper semantics 2026-08-18 16:08:32 -06:00
Shadowbroker d3a2b55fed fix(liveuamap): harden provider secrets and challenge handling 2026-08-18 16:05:26 -06:00