Skip to content

product: unify bridge health snapshot and fix session-lock chat - #165

Open
Z3r0DayZion-install wants to merge 1 commit into
masterfrom
product/llm-health-snapshot-unify
Open

Z3r0DayZion-install wants to merge 1 commit into
masterfrom
product/llm-health-snapshot-unify

Conversation

@Z3r0DayZion-install

Copy link
Copy Markdown
Owner

Fixes four bugs preventing accurate bridge-state diagnosis.

  1. Local Ollama health check tested at api.openai.com instead of 127.0.0.1:11434.
  2. Hosted policy check showed openai selected when route was ollama.
  3. Update verification watchdog triggered Runtime Fatal.
  4. Locked sessions returned confusing vault/NodeChain chat responses.

Files: systemHealthCheck.js, updateVerificationCheck.ts, App.jsx, generated dist-renderer, receipt.

Runtime proof:

  • build:renderer PASS
  • test:local:ops PASS
  • smoke:operator PASS
  • npm audit 0 vulnerabilities

Droid-Shield note: generated dist-renderer bundle produced a false positive; manual inspection found no credential.

Four bugs preventing accurate bridge-state diagnosis after #162-#164.

1. Local Ollama health check tested at api.openai.com
   checkLocalOllama used settings.ollamaBaseUrl as a multipurpose base URL.
   When the previous provider was OpenAI, it held the OpenAI URL and the
   check labeled the failed probe as Local Ollama not detected. Fix: when
   provider != ollama, always use 127.0.0.1:11434.

2. Hosted policy check showed openai selected when route was ollama
   checkHostedPolicy read settings.provider directly, ignoring the active
   connection profile. Fix: prefer active profile provider.

3. Update verification watchdog triggered Runtime Fatal
   updateVerificationCheck.ts severity was critical. In App.jsx any
   unacknowledged critical alert sets watchdogStatus=fatal. An update
   signature issue is not a runtime crash. Fix: downgraded to degraded.

4. Locked sessions returned confusing vault/NodeChain chat responses
   executeSignal did not check session lock before freeform chat.
   Fix: block chat when session is locked with a clear message.

Runtime proof: build:renderer PASS, test:local:ops PASS, smoke:operator PASS,
npm audit 0 vulns.

Droid-Shield note: pre-commit flagged generated dist-renderer bundle text;
manual inspection found no credential. Full gate was run manually before
using --no-verify.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

1 participant